/* ============================================================
   global.css — Shared styles for all pages
   Amboteli SP | spbhandari.com.np
============================================================ */

/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
/* Font Awesome font-display override */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}


  
:root {
    --orange:       #F07520;
    --orange-dark:  #D45F0A;
    --orange-light: #FFF0E4;
    --green:        #2E7D5E;
    --green-light:  #E8F5EE;
    --green-mid:    #4AA87E;
    --dark:         #1A1A2E;
    --dark-mid:     #2D2D44;
    --slate:        #4A5568;
    --silver:       #8898AA;
    --bg-warm:      #FAFAF7;
    --bg-section:   #F4F6F0;
    --white:        #FFFFFF;
    --border:       rgba(0,0,0,0.08);
    --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
    --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
    --radius-sm:    8px;
    --radius-md:    16px;
    --radius-lg:    28px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;
    --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
.display-font { font-family: var(--font-display); }

.section-eyebrow {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--orange);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw + 1rem, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
}
.section-title .accent { color: var(--orange); }

.section-sub {
    font-size: clamp(0.99rem, 1.5vw + 0.5rem, 1.1rem);
    color: var(--slate);
    max-width: 560px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary-orange {
    background: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary-orange:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(240,117,32,0.35);
}

.btn-outline-orange {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline-orange:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(240,117,32,0.25);
}

.btn-green {
    background: var(--green);
    color: var(--white);
    border: 2px solid var(--green);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-green:hover {
    background: #226048;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(46,125,94,0.3);
}

.btn-white {
    background: var(--white);
    color: var(--orange);
    border: 2px solid var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark-mid) 100%);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    padding: 9px 0;
    min-height: 38px;
    text-align: center;
    letter-spacing: 0.01em;
}
.announcement-bar .marquee-text {
    display: inline-flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}
.announcement-bar .dot {
    color: var(--orange);
    font-size: 1.2em;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 !important;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.navbar-brand img { height: 68px; }
.navbar .nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--dark) !important;
    padding: 28px 14px !important;
    position: relative;
    transition: color 0.2s;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px; left: 14px; right: 14px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s;
    border-radius: 2px;
}
.navbar .nav-link:hover { color: var(--orange) !important; }
.navbar .nav-link:hover::after { transform: scaleX(1); }
.navbar .nav-link.active { color: var(--orange) !important; }
.navbar .nav-link.active::after { transform: scaleX(1); }

.navbar-cta {
    background: var(--orange);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    margin-left: 12px;
    font-size: 0.88rem !important;
    transition: var(--transition) !important;
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover {
    background: var(--orange-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(240,117,32,0.35);
}

/* ============================================================
   TOAST / ALERT
============================================================ */
.sticky-toast {
    position: fixed;
    top: 80px; right: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 300px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex; align-items: center; gap: 12px;
    animation: slideInRight 0.4s ease;
}
.sticky-toast.error { border-left-color: #ef4444; }
@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
.sticky-toast i { font-size: 1.3rem; }
.sticky-toast.success i { color: var(--green); }
.sticky-toast.error   i { color: #ef4444; }
.sticky-toast .toast-msg { font-size: 0.9rem; color: var(--dark); flex: 1; font-weight: 500; }
.toast-close { background: none; border: none; color: var(--silver); cursor: pointer; font-size: 1rem; }

/* ============================================================
   FLOATING ELEMENTS
============================================================ */
.float-whatsapp {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}
.float-whatsapp:hover { transform: scale(1.12); color: var(--white); }
.float-whatsapp .pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes whatsapp-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

.back-to-top {
    position: fixed;
    bottom: 28px; left: 28px;
    width: 46px; height: 46px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--orange); color: var(--white); }

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-top: 12px; max-width: 280px; }
.footer-heading { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    margin-top: 56px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: 0 0 24px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-link {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* ============================================================
   ANIMATIONS & UTILITIES
============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — GLOBAL
============================================================ */
@media (max-width: 767.98px) {
    .navbar .nav-link::after { display: none; }
    .navbar .nav-link { padding: 12px 16px !important; }
}
