/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><style>.wave{fill:rgba(255,255,255,.05);}</style></defs><path class="wave" d="M0,300 Q300,250 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: 600px 120px;
    background-position: 0 0;
    animation: wave 15s linear infinite;
    opacity: 0.5;
}

@keyframes wave {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 600px 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Brand mark on hero — rendered in original colors. The current gradient
   background may reduce contrast, but this is intentional: a video background
   is planned, where the original brand palette is preferred. */
.hero-logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: 80%;
    margin: 0 auto var(--spacing-sm);
    animation: slideInDown 0.8s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.8s ease-out 0.05s both;
    white-space: nowrap;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    animation: slideInUp 0.8s ease-out 0.1s both;
    white-space: nowrap;
}

.hero .btn {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    z-index: 0;
}

/* Hero with Image Background */
.hero.with-bg-image {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        padding: var(--spacing-xl) 0;
    }

    .hero-logo {
        height: 48px;
    }

    .hero h1 {
        font-size: 1.85rem;
        white-space: normal;
    }

    .hero p {
        font-size: 1rem;
        white-space: normal;
    }

    .hero-content {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
}
