/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Text Positioning */
.hero-section[data-text-position="left"] .hero-content {
    text-align: left;
}

.hero-section[data-text-position="left"] .hero-text {
    max-width: 600px;
    margin-right: auto;
}

.hero-section[data-text-position="center"] .hero-content {
    text-align: center;
}

.hero-section[data-text-position="center"] .hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section[data-text-position="right"] .hero-content {
    text-align: right;
}

.hero-section[data-text-position="right"] .hero-text {
    max-width: 600px;
    margin-left: auto;
}

/* Hero Text */
.hero-text {
    color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    color: white;
    margin: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description p {
    margin: 0;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll-indicator svg {
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */

/* Tablet */
@media (max-width: 992px) {
    .hero-section {
        height: 55vh;
        min-height: 450px;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-section[data-text-position="left"] .hero-text,
    .hero-section[data-text-position="right"] .hero-text {
        max-width: 500px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-section[data-text-position="left"] .hero-text,
    .hero-section[data-text-position="center"] .hero-text,
    .hero-section[data-text-position="right"] .hero-text {
        max-width: 100%;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-section {
        height: 45vh;
        min-height: 350px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
}

/* Video Controls - Ensure they don't overlap content */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Custom video controls positioning (if needed) */
.hero-section.has-custom-controls .hero-video {
    pointer-events: none;
}