/* ===== SHARED STYLES - Used across all pages ===== */

/* ===== NAVIGATION ===== */
.navigation {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: all 0.4s ease !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    padding: 1.5rem 2rem !important;
}

.navigation.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    padding: 1rem 2rem !important;
}

/* Text color when at top - white text (for pages with hero video) */
.navigation .heading-5 {
    color: white !important;
    transition: color 0.4s ease !important;
}

.navigation.scrolled .heading-5 {
    color: #333 !important;
}

.navigation .nav-link {
    color: white !important;
    transition: color 0.4s ease !important;
    font-weight: 500 !important;
}

.navigation.scrolled .nav-link {
    color: #333 !important;
}

.navigation .hamburger svg {
    fill: white !important;
    transition: fill 0.4s ease !important;
}

.navigation.scrolled .hamburger svg {
    fill: #333 !important;
}

/* Dark text variant — for pages without hero video (contact, privacy policy) */
/* Nav starts transparent but text is dark from the start */
.navigation.nav-dark .heading-5 {
    color: #333 !important;
}
.navigation.nav-dark .nav-link {
    color: #333 !important;
}
.navigation.nav-dark .hamburger svg {
    fill: #333 !important;
}

/* ===== DONATE BUTTON IN NAV ===== */
.nav-donate-btn {
    background: linear-gradient(135deg, #8b5a2b, #a0694b);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.3);
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}

.nav-donate-btn:hover {
    background: linear-gradient(135deg, #a0694b, #b8805e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 43, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== DONATE DROPDOWN ===== */
.donate-wrapper {
    position: relative;
    display: inline-block;
}

.donate-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.2rem;
    z-index: 1002;
    transform-origin: top right;
}

.donate-dropdown.open {
    display: block;
    animation: donateSlideDown 0.25s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes donateSlideDown {
    from {
        opacity: 0;
        transform: scaleY(0.8) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
}

.donate-dropdown-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.8rem;
    text-align: center;
}

.donate-dropdown-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 1rem;
}

.donate-amount-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    display: block;
}

.donate-amount-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d4c5b0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    background: #faf7f3;
    margin-bottom: 0.8rem;
}

.donate-amount-input:focus {
    border-color: #8b5a2b;
}

.donate-amount-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

.donate-dropdown input[type="submit"].donate-submit-btn {
    width: 100% !important;
    padding: 11px 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.25) !important;
}

/* Mobile donate dropdown — inside the menu */
.mobile-donate-btn .donate-wrapper {
    display: block;
    width: 100%;
    text-align: center;
}

.mobile-donate-btn .donate-dropdown {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 12px 12px;
    padding: 0.8rem;
    backdrop-filter: none;
    background: transparent;
}

.mobile-donate-btn .nav-donate-btn {
    display: block !important;
    text-align: center !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    width: 100% !important;
}

/* ===== DESKTOP NAVIGATION ===== */
.nav-desktop {
    display: none;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.nav-desktop .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop .nav-link {
    color: #333;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-desktop .nav-link:hover {
    color: #8b5a2b;
    text-decoration: none;
}

.nav-desktop .nav-link.current {
    color: #8b5a2b;
    font-weight: 600;
}

/* ===== UNIVERSAL BUTTON STYLING ===== */
.button-2, .checkout-button, .button, .w-button, .button-login, input[type="submit"], button {
    background: linear-gradient(135deg, #8b5a2b, #a0694b) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.3) !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.button-2:hover, .checkout-button:hover, .button:hover, .w-button:hover, .button-login:hover, input[type="submit"]:hover, button:hover {
    background: linear-gradient(135deg, #a0694b, #b8805e) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(139, 90, 43, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.button-2.outline {
    background: transparent !important;
    border: 2px solid #8b5a2b !important;
    color: #8b5a2b !important;
}

.button-2.outline:hover {
    background: linear-gradient(135deg, #8b5a2b, #a0694b) !important;
    color: white !important;
    border-color: transparent !important;
}

/* ===== MOBILE MENU - COMPACT DROPDOWN ===== */
.menu {
    display: none;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    /* Key overrides to prevent Webflow fullscreen menu */
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: auto !important;
    width: 370px !important;
    height: auto !important;
    z-index: 999 !important;
    /* Reset Webflow's fullscreen properties */
    min-height: 0 !important;
    max-height: none !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: 0.5rem !important;
    /* Slide-down prep */
    overflow: hidden !important;
    transform-origin: top center;
}

.menu.open {
    display: block !important;
    animation: menuSlideDown 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) scaleY(0.6) translateY(-10px);
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scaleY(1) translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

.menu .top {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    height: auto !important;
    padding: 0 !important;
    align-items: stretch !important;
}

.menu .top_link {
    padding: 10px 16px !important;
    border-radius: 0 !important;
    transition: background 0.2s ease;
    background: transparent;
    text-decoration: none;
    display: block !important;
}

.menu .top_link:hover {
    background: rgba(139, 90, 43, 0.08);
}

.menu .dropdown-nav-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
}

.menu .mobile-donate-btn {
    display: block;
    text-align: center;
    margin: 0.4rem 0.5rem 0.5rem !important;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.menu .mobile-donate-btn .nav-donate-btn {
    display: block !important;
    text-align: center !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    width: 100% !important;
}

.menu .side {
    display: none !important;
}

/* Hamburger */
.hamburger {
    z-index: 1001 !important;
    position: relative;
    transition: all 0.3s ease;
    background: none !important;
    border: none !important;
}

.hamburger svg {
    transition: all 0.3s ease;
}

.hamburger.active svg {
    transform: rotate(90deg);
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 767px) {
    .nav-desktop {
        display: none !important;
    }
    .navigation {
        padding: 1rem 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex !important;
    }
    .hamburger {
        display: none !important;
    }
    .menu {
        display: none !important;
    }
}

/* ===== REDESIGNED FOOTER ===== */
.section.footer {
    background: linear-gradient(160deg, #1a0f08 0%, #2c1810 40%, #1a0f08 100%) !important;
    border: none !important;
    padding: 5rem 0 0 !important;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.section.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c5a882, #f5c078, #c5a882, transparent);
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2.5rem !important;
}

.footer-container .w-layout-grid.flex {
    display: grid !important;
    grid-template-columns: 1.2fr 2fr !important;
    gap: 4rem !important;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container .logo-link {
    display: block !important;
}

.footer-container .heading-6 {
    font-family: 'Unna', serif !important;
    font-size: 2.2rem !important;
    color: #f5c078 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 700 !important;
}

.footer-container .text-block-5 {
    color: #c5a882 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem !important;
}

.footer-container .copyright .text-span-3 {
    font-style: italic !important;
    color: #e8d5c0 !important;
    line-height: 1.7 !important;
    font-size: 0.9rem !important;
}

.link-section-footer-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
}

.links-section-footer {
    display: flex;
    flex-direction: column;
}

.links-header {
    font-family: 'Unna', serif !important;
    font-size: 1.15rem !important;
    color: #f5c078 !important;
    margin-bottom: 1.2rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.section.footer .footer-link {
    color: #d4c5b0 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    padding: 0.35rem 0 !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    display: inline-block !important;
}

.section.footer .footer-link:hover {
    color: #f5c078 !important;
    transform: translateX(4px) !important;
}

.footer_social {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 0.5rem !important;
}

.footer_social_links {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(245, 192, 120, 0.1) !important;
    transition: all 0.3s ease !important;
}

.footer_social_links:hover {
    background: rgba(245, 192, 120, 0.25) !important;
    transform: translateY(-3px) !important;
}

.footer_social_links img {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) invert(0.85) !important;
}

.footer-bottom-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1.8rem 0 !important;
    margin-top: 0 !important;
}

.footer-bottom-row .copyright {
    color: #8a7560 !important;
    font-size: 0.85rem !important;
}

.copyright-logo {
    filter: brightness(0) invert(0.5) !important;
}

@media (max-width: 991px) {
    .footer-container .w-layout-grid.flex {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .link-section-footer-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .section.footer {
        padding: 3rem 0 0 !important;
    }
    /* Center footer text on mobile */
    .footer-container .logo-link {
        text-align: center !important;
    }
    .footer-container .heading-6,
    .footer-container .text-block-5,
    .footer-container .copyright {
        text-align: center !important;
    }
    .links-section-footer {
        text-align: center !important;
        align-items: center !important;
    }
    .footer_social {
        justify-content: center !important;
    }
    .footer-container .logo-link .nav-donate-btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===== HERO VIDEO FIX ===== */
/* Override Webflow's background-image fallback so the <video> shows through */
.hero_background {
    background-image: none !important;
    background-color: transparent !important;
}

/* Video element – full-cover at every breakpoint */
.hero video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;   /* remove the translateX(-50%) from Webflow */
    z-index: 0;
}

/* ===== CONTENT HELPERS ===== */
body {
    padding-top: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.211);
    z-index: 1;
}
