﻿/* ===== COLOR PALETTE ===== */
* {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-light: #CCDAD1;
    --bg-mid: #9CAEA9;
    --text-mid: #788585;
    --text-dark: #6F6866;
    --primary: black;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Smooth scale-up */
.smooth-scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0s, transform 0s; /* Prevent transition before animation */
}

    .smooth-scale-up.animate {
        animation: smoothScaleUp 1s ease-out forwards;
    }

@keyframes smoothScaleUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    background-color: #F6F5F7;
    background-attachment: fixed;
    background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Manrope', sans-serif;
    color: var(--text-mid);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== NAVBAR (Softer) ===== */
#ajaxNavbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 1200px;
    height: 62px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 4px 16px rgba(56, 48, 46, 0.1);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.65, -0.25, 0.25, 1.3), opacity 0.3s ease;
    padding: 0 16px;
    border: 1px solid rgba(156, 174, 169, 0.4);
}

.btn-outline-secondary.active {
    background-color: #d4af37;
    color: white;
    border-color: #d4af37;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 300; /* Softer than bold */
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 16px;
    justify-content: space-between;
}

    .hamburger span {
        display: block;
        height: 1.8px;
        width: 100%;
        background: var(--text-mid); /* Softer icon */
        border-radius: 2px;
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
    margin: 0;
    padding: 0;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text-mid);
        font-weight: 400; /* Reduced from 500 */
        font-size: 0.92rem;
        letter-spacing: 0.4px;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 1.5px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--text-dark);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

.auth-btn {
    background:none;
    text-decoration:none;
    color: black;
    border: none;
    padding: 7px 20px;
    border-radius: 30px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500; /* Slightly softer */
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(56, 48, 46, 0.2);
}

    .auth-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 14px rgba(56, 48, 46, 0.25);
    }

.global-notice-banner {
    width: 100vw;
    height: 60vh; /* Adjust height as needed */
    background-image: url('../Images/download.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 0;
}

.global-notice-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 2;
    max-width: 90%;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .global-notice-heading {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .global-notice-banner {
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .global-notice-heading {
        font-size: 1.4rem;
    }
}
/* Dimmed Overlay */
#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
;
}

#menuOverlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Drawer */
#mobileMenu {
    position: fixed;
    top: 0;
    left: -320px; /* Hidden off-screen to the right */
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 2001;
    padding: 30px 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

#mobileMenu.active {
    left: 0; /* Slide in */
}

/* Header & Logo */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.navbar-brand img {
    max-height: 35px;
    filter: grayscale(1); /* Classic look */
}

.close-mobile {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

/* Navigation Links */
.mobile-nav {
    flex-grow: 1;
}

    .mobile-nav a {
        font-family: 'Manrope', sans-serif;
        font-weight: 400;
        font-size: 1.1rem;
        color: #2c2c2c;
        text-decoration: none;
        padding: 12px 0;
        display: flex;
        align-items: center;
        gap: 15px;
        letter-spacing: 0.5px;
        transition: 0.3s;
        opacity: 0.8;
    }

.mobile-nav a i {
    font-size: 1.2rem;
    color: var(--accent);
}

.mobile-nav a:hover {
    opacity: 1;
    padding-left: 8px;
}

.menu-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

/* Footer & Button */
.mobile-footer {
    padding-top: 20px;
}

.mobile-auth {
    display: block;
    background: #2c2c2c;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    border: 1px solid #2c2c2c;
    transition: 0.3s;
}

    .mobile-auth.outline {
        background: transparent;
        color: #2c2c2c;
    }

.mobile-auth:active {
    transform: scale(0.98);
}
/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: var(--bg-light);
    padding: 60px 20px 40px;
    font-family: 'Manrope', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--bg-mid);
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 10px;
    }

        .footer-column ul li a {
            text-decoration: none;
            color: var(--bg-light);
            font-weight: 300;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

            .footer-column ul li a:hover {
                color: var(--bg-mid);
            }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(204, 218, 209, 0.2);
    text-align: center;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(204, 218, 209, 0.7);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .auth-btn {
        text-decoration:none;
        padding: 6px 16px;
        font-size: 0.88rem;
    }

    .navbar-brand {
        font-size: 1.45rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin: 60px 0 40px;
    }

    .card {
        width: 90%;
        height: auto;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (min-width: 769px) {
    #mobileMenu {
        display: none !important;
    }

    .hamburger {
        display: none !important;
    }
}

.action-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 32px auto;
    max-width: 1200px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    width: 25vw;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
}

    .action-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        background-color: var(--bg-mid);
        color: white;
    }

    .action-btn i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

/* Responsive: stack on small screens */
@media (max-width: 480px) {
    .action-buttons {
        gap: 1rem;
        padding: 0 16px;
    }

    .action-btn {
        width: 100px;
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }

        .action-btn i {
            font-size: 1.5rem;
        }
}
/* Responsive: stack on small screens */
@media (max-width: 480px) {
    .action-buttons {
        gap: 1rem;
    }

    .btn {
        width: 100px;
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }

        .btn i {
            font-size: 1.5rem;
        }
}
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px; /* Above bottom nav */
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon {
    font-size: 28px;
    margin: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Responsive: Smaller on mobile */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 16px;
    }

    .whatsapp-icon {
        font-size: 24px;
    }
}
/* Container to group label + button */
.floating-rewards {
    position: fixed;
    bottom: 160px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 3000;
}

/* Label styling */
.rewards-label {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
    margin-right: 8px;
    backdrop-filter: blur(2px); /* Optional: modern frosted effect */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Treasure button — now positioned relative to container */
.treasure-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .treasure-float .bi {
        font-size: 26px;
    }

    .treasure-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(255, 140, 0, 0.6);
    }

/* Responsive: smaller on mobile */
@media (max-width: 480px) {
    .floating-rewards {
        bottom: 140px;
        right: 16px;
    }

    .rewards-label {
        font-size: 11px;
        padding: 3px 6px;
        margin-right: 6px;
    }

    .treasure-float {
        width: 50px;
        height: 50px;
    }

        .treasure-float .bi {
            font-size: 22px;
        }
}
/* Bottom Navigation Bar */
.bottom-nav {
  margin-bottom:1vh;
  border-radius:30px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    border-top: 1px solid rgba(156, 174, 169, 0.4);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
}

.bold {
    font-family: "Zalando Sans Expanded", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.zalando-sans-expanded{
    font-family: "Zalando Sans Expanded", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}
    .nav-item i {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }

    .nav-item:hover,
    .nav-item.active {
        color: var(--primary);
    }

/* Show bottom nav only on mobile */
@media (max-width: 768px) {

    .bottom-nav {
        display: flex;
    }

    /* Adjust WhatsApp button to sit above bottom nav */
    .whatsapp-float {
        bottom: 80px; /* 60px (nav) + 20px padding */
    }
}
