/* ===============================
   HERO BASE
================================ */
.hero-media {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* IMAGE SLIDES */
.hero-slides,
.hero-img {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 1.6s ease, transform 8s ease;
}

.hero-img.active {
    opacity: 1;
    transform: scale(1);
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.3)
    );
    z-index: 2;
}

/* WAVES */
.hero-waves {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 120px;
    background: url("images/wave.svg") repeat-x;
    animation: waveMove 12s linear infinite;
    opacity: 0.35;
    z-index: 3;
}

@keyframes waveMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* BRAND */
.brand {
    font-size: clamp(48px, 6vw, 96px);
    letter-spacing: 6px;
    margin-bottom: 20px;
}

/* TAGLINE */
.tagline span {
    display: inline-block;
    font-size: clamp(22px, 2.5vw, 34px);
    margin: 0 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

/* TEXT ANIMATION */
.tagline span.show {
    opacity: 1;
    transform: translateY(0);
}

/* OCEAN COLOR */
.ocean {
    background: linear-gradient(
        90deg,
        #1CA7EC,
        #00E0FF,
        #1CA7EC
    );
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: oceanGlow 5s linear infinite;
}

@keyframes oceanGlow {
    from { background-position: 0%; }
    to { background-position: 200%; }
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: #fff;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(20px); }
}

/* MOBILE */
@media (max-width:768px) {
    .hero-media { height: 85vh; }
}
