* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", Arial, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* ================= HERO SECTION ================= */
.hero-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: auto;
    overflow: hidden;
}

#heroImage {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Slide animation classes */
.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
}

.slide-in {
    transform: translateX(0);
    opacity: 1;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

/* ================= NAVBAR ================= */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

/* Responsive logo */
.logo img {
    height: clamp(25px, 6vw, 80px);
    width: auto;
}

/* White lines */
.nav-line {
    width: 100%;
    height: 1px;
    background: #fff;
    border: none;
    opacity: 0.7;
    margin: 12px 0;
}

/* Desktop menu */
.nav-links {
    list-style: none;
    display: flex;
    gap: 14px;
    align-items: center;
}

/* Menu buttons */
.nav-links a,
.connect-btn {
    text-decoration: none;
    padding: 8px 14px;
    background: linear-gradient(213deg, #fff 0%, #E7C175 56%, #E9B86E 100%);
    border-radius: 4px;
    color: #11374A;
    font-size: 14px;
    white-space: nowrap;
}

.connect-btn {
    margin-top: 6px;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 26px;
    color: #C59C52;
    cursor: pointer;
}

/* ===== HERO TEXT ===== */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: #E7C175;
    width: 90%;
    transition: opacity 0.8s ease;
}

/* Text animation classes */
.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.hero-text h1 {
    font-size: clamp(22px, 4vw, 54px);
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-text p {
    margin-top: 10px;
    font-size: clamp(12px, 2vw, 20px);
    color: #fff;
    letter-spacing: 3px;
}

/* ================= HERO BUTTONS ================= */
.hero-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-connect {
    padding: 14px 30px;
    background: linear-gradient(47deg, #C59C52 0%, #E6CB7B 100%);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #fff;
}

.hero-whatsapp {
    padding: 14px 28px;
    background: #fff;
    border-radius: 50px;
    color: #4F4F50;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(214,182,42,0.7);
}

.hero-whatsapp i {
    color: #25D366;
    font-size: 22px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(56,55,55,0.75);
    padding: 20px;
    transition: 0.4s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.close-btn {
    font-size: 28px;
    align-self: flex-end;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 30px;
}

.mobile-menu ul li {
    margin-bottom: 14px;
}

.mobile-menu ul a {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(213deg, #fff 0%, #E7C175 56%, #E9B86E 100%);
    border-radius: 6px;
    color: #11374A;
    text-decoration: none;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    /* Hide desktop items */
    .nav-links,
    .connect-btn {
        display: none;
    }

    /* Hide white lines on mobile */
    .nav-line {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 26px;
        color: #C59C52;
        cursor: pointer;
        z-index: 5;
    }
}

/* ================= MOBILE OPTIMIZED ================= */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo img {
        height: 45px;
    }

    .hero-buttons {
        bottom: 20px;
        gap: 8px;
        flex-wrap: nowrap;
        width: 70%;
        max-width: 300px;
    }

    .hero-connect,
    .hero-whatsapp {
        padding: 6px;
        font-size: 10px;
        min-width: 120px;
    }

    .hero-whatsapp i {
        font-size: 12px;
    }

    .mobile-menu {
        width: 240px;
        padding: 15px;
    }
}