.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Ensure video covers entire hero area */
.hero-video {
    min-width: 100%;
    min-height: 100%;
}

/* For landscape orientation on mobile */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(30,58,47,0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: #f7c35c;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #c57f1e;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
    cursor: pointer;
}

.btn-hero-primary:hover {
    background: #f7c35c;
    color: #1e3a2f;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: white;
    color: #1e3a2f;
    transform: translateY(-2px);
}

/* =====================================================
   MOBILE RESPONSIVE (max-width: 780px)
   ===================================================== */
@media (max-width: 780px) {
    .hero {
        min-height: 500px;
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* =====================================================
   SMALL MOBILE (max-width: 480px)
   ===================================================== */
@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        height: 100vh;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .hero-buttons {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 80%;
        text-align: center;
    }
}

/* =====================================================
   VERY SMALL MOBILE (max-width: 360px)
   ===================================================== */
@media (max-width: 360px) {
    .hero {
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 8px 16px;
        font-size: 0.8rem;
        width: 90%;
    }
}

/* =====================================================
   TABLET RESPONSIVE (768px - 1024px)
   ===================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        min-height: 550px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Ensure video doesn't get distorted on different aspect ratios */
@supports (object-fit: cover) {
    .hero-video {
        object-fit: cover;
        object-position: center;
    }
}

/* Fallback for browsers that don't support object-fit */
@supports not (object-fit: cover) {
    .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }
}