@import 'tailwindcss';
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==================================================
   BASE TYPOGRAPHY
================================================== */
html,
body {
    font-family: 'Poppins', sans-serif !important;
}

header,
nav,
.nav-link,
.mobile-link {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.02em;
}

/* ==================================================
   NAVIGATION – DESKTOP LINKS (FIXED)
================================================== */
.nav-link {
    position: relative;
    color: #fff;
    opacity: 0.85;
    padding-bottom: 6px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

/* Underline (center grow) */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

/* Hover underline */
.nav-link:hover::after {
    width: 100%;
}

/* Active page underline */
.nav-link.text-white::after {
    width: 100%;
}

/* ==================================================
   SOCIAL ICONS
================================================== */
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* ==================================================
   MOBILE MENU LINKS
================================================== */
.mobile-link {
    color: #fff;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    opacity: 1;
    transform: translateX(10px);
}

/* ==================================================
   HAMBURGER TOGGLE
================================================== */
.toggle-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all 0.4s ease;
}

.toggle-line.top {
    transform: translateY(-6px);
}

.toggle-line.bottom {
    transform: translateY(6px);
}

/* Active (X) state */
.menu-open .toggle-line.top {
    transform: rotate(45deg);
}

.menu-open .toggle-line.middle {
    opacity: 0;
}

.menu-open .toggle-line.bottom {
    transform: rotate(-45deg);
}

/* ==================================================
   HERO TEXT SLIDER
================================================== */
.hero-title {
    font-size: clamp(2.1rem, 4.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
}

.hero-slide {
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   PLAY BUTTON
================================================== */
.play-circle {
    width: 96px;
    height: 96px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease;
    margin-top: -120px;
}

#imagePlayBtn:hover .play-circle {
    transform: scale(1.15);
}

/* ==================================================
   HERO SLIDER DOTS
================================================== */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ==================================================
   VIDEO MODAL ANIMATION
================================================== */
#videoModal.flex > div {
    animation: videoPop 0.45s ease-out;
}

@keyframes videoPop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==================================================
   RESPONSIVE – HERO
================================================== */
@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.35;
        text-align: justify;
        margin-top: 8rem;
        margin-bottom: 1.2rem;
    }

    .play-circle {
        width: 100px;
        height: 100px;
        font-size: 36px;
        margin-top: 0;
    }
}

/* ==================================================
   TABS
================================================== */
.tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: #fff;
}

.tab-divider {
    width: 2px;
    height: 22px;
    background: rgba(255, 255, 255, 0.4);
}

/* ==================================================
   SLIDER
================================================== */
.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.slider-card {
    min-width: 235px;
    height: 315px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease;
}

.slider-card:hover {
    transform: scale(1.06);
}

.slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================================================
   RESPONSIVE – SLIDER
================================================== */
@media (max-width: 768px) {
    .slider-card {
        min-width: 160px;
        height: 230px;
    }

    .tab-btn {
        font-size: 22px;
    }
}
