/* =====================================================
   SHREE SHAKTI TOURS
   Main Stylesheet | Bootstrap 5.3
===================================================== */

/* =====================================================
   1. ROOT VARIABLES
===================================================== */

:root {
    --primary: #9e4f2c;
    --primary-dark: #6f351f;
    --primary-deep: #4c281d;
    --primary-light: #c17a54;

    --cream: #f8f2e8;
    --white: #ffffff;
    --dark: #2e211c;
    --muted: #75665f;

    --font-body: "DM Sans", sans-serif;
    --font-heading: "Playfair Display", serif;

    --header-height: 84px;
    --nav-radius: 999px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-nav: 0 14px 36px rgba(35, 18, 13, 0.20);

    --transition: 0.25s ease;
}

/* =====================================================
   2. GLOBAL STYLES
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--dark);
    font-family: var(--font-body);
    background: var(--cream);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =====================================================
   3. HEADER
===================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    padding: 20px clamp(14px, 4vw, 60px) 0;

    z-index: 1050;

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}

/* =====================================================
   4. NAVBAR CONTAINER
===================================================== */

.site-nav {
    position: relative;
    z-index: 9999;

    display: flex;
    align-items: center;

    width: 100%;
    max-width: 1490px;
    min-height: var(--header-height);

    margin: 0 auto;
    padding: 8px 10px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--nav-radius);

    background: rgba(105, 51, 34, 0.91);

    box-shadow: var(--shadow-nav);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        min-height 0.3s ease,
        box-shadow 0.3s ease,
        border-radius 0.3s ease;
}

/* =====================================================
   5. BRAND / IMAGE LOGO
===================================================== */

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    margin: 0;
    padding: 4px 8px;

    border-radius: 30px;

    transition: opacity var(--transition);
}

.brand:hover {
    opacity: 0.88;
}

.brand__logo {
    display: block;

    width: 120px;
    height: 48px;

    max-width: none;

    object-fit: contain;
    object-position: center;
}

/* =====================================================
   6. NAVIGATION LINKS
===================================================== */

.nav-collapse {
    gap: 12px;
}

.nav-links {
    gap: 1px;
}

.nav-links .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 10px;

    color: rgba(255, 255, 255, 0.90);

    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.055em;
    line-height: 1.2;

    text-transform: uppercase;
    white-space: nowrap;

    border-radius: 30px;

    transition:
        color var(--transition),
        background var(--transition);
}

.nav-links .nav-link:hover,
.nav-links .nav-link:focus {
    color: #ffe3bd;
}

/* Active navigation link */

.nav-links .nav-link.is-active {
    padding-right: 15px;
    padding-left: 15px;

    color: var(--primary-dark);
    background: var(--cream);
}

/* =====================================================
   7. DROPDOWN ARROW
===================================================== */

.nav-links .dropdown-toggle::after {
    margin-left: 6px;

    border-top-width: 0.32em;
    border-right-width: 0.32em;
    border-left-width: 0.32em;
}

/* =====================================================
   8. DROPDOWN MENU
===================================================== */

.nav-dropdown {
    min-width: 205px;

    margin-top: 12px;
    padding: 8px;

    border: 1px solid rgba(158, 79, 44, 0.12);
    border-radius: var(--radius-md);

    background: var(--white);

    box-shadow: 0 14px 34px rgba(35, 18, 13, 0.16);
}

.nav-dropdown .dropdown-item {
    padding: 10px 12px;

    color: var(--dark);

    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;

    transition:
        color var(--transition),
        background var(--transition);
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus {
    color: var(--primary-dark);
    background: #f8eee7;
}

/* =====================================================
   9. REUSABLE BUTTON
===================================================== */

.btn-primary-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    min-height: 42px;
    padding: 0 20px;

    color: var(--primary-dark);

    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--nav-radius);

    background: var(--cream);

    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.btn-primary-soft:hover,
.btn-primary-soft:focus {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);

    transform: translateY(-1px);
}

.nav-cta,
.desktop-cta {
    flex: 0 0 auto;
    margin-left: 2px;
}

/* =====================================================
   10. MOBILE NAVBAR CONTROLS
===================================================== */

/* Hidden on desktop */

.mobile-nav-actions {
    display: none;
}

/* Hamburger button */

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 40px;
    height: 40px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    background: var(--cream);
}

.nav-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.20);
}

/* Hamburger icon */

.menu-icon {
    position: relative;

    display: block;

    width: 22px;
    height: 2px;

    border-radius: 2px;
    background: var(--primary-dark);

    transition: background var(--transition);
}

.menu-icon::before,
.menu-icon::after {
    content: "";

    position: absolute;
    left: 0;

    width: 22px;
    height: 2px;

    border-radius: 2px;
    background: var(--primary-dark);

    transition:
        top var(--transition),
        transform var(--transition);
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

/* Hamburger animation when open */

.nav-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =====================================================
   11. STICKY HEADER
===================================================== */

.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    padding-top: 10px;
    padding-bottom: 0;

    z-index: 9999;

    animation: headerSlideDown 0.3s ease;
}

.site-header.is-sticky .site-nav {
    box-shadow: 0 8px 28px rgba(35, 18, 13, 0.22);
}

/* Sticky entrance animation */

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* =====================================================
   12. TABLET AND MOBILE NAVIGATION
===================================================== */

@media (max-width: 1199.98px) {

    .site-header {
        padding: 8px 10px 0;
    }

    .site-header.is-sticky {
        padding: 8px 10px 0;
    }

    .site-nav {
        display: flex;
        flex-wrap: wrap;

        justify-content: space-between;
        align-items: center;

        gap: 8px;

        width: 100%;
        min-height: 66px;

        padding: 7px 8px;

        border-radius: 50px;
    }

    /* Logo */

    .site-nav>.brand {
        flex: 0 0 auto;
        margin: 0;
        padding: 4px 8px;
    }

    .brand__logo {
        width: 110px;
        height: 38px;
    }

    /* Mobile CTA and hamburger row */

    .mobile-nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        flex: 0 0 auto;
        gap: 8px;

        margin-left: auto;
    }

    /* Hide desktop CTA */

    .desktop-cta {
        display: none;
    }

    /* Mobile CTA */

    .mobile-nav-actions .nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: auto;
        min-height: 36px;

        margin: 0;
        padding: 0 13px;

        font-size: 8px;
        letter-spacing: 0.09em;
    }

    /* Hamburger */

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    /* Collapsed menu */

    .nav-collapse {
        flex-basis: 100%;
        width: 100%;

        padding: 12px 8px 8px;
    }

    .nav-links {
        align-items: stretch !important;
        gap: 2px;
    }

    .nav-links .nav-link {
        display: flex;
        justify-content: space-between;

        width: 100%;
        padding: 11px 13px;

        border-radius: 10px;

        font-size: 11px;
    }

    .nav-links .nav-link.is-active {
        justify-content: flex-start;
        padding: 11px 13px;
    }

    /* Dropdown menus */

    .nav-links .dropdown-menu {
        margin: 0 0 5px 10px;

        border-radius: var(--radius-sm);
        background: rgba(255, 250, 244, 0.98);
    }

    /* Do not duplicate CTA inside collapsed menu */

    .nav-collapse .nav-cta,
    .nav-collapse .desktop-cta {
        display: none;
    }

    .site-header.is-sticky .site-nav {
        min-height: 60px;
    }
}

/* =====================================================
   13. SMALL MOBILE
===================================================== */

@media (max-width: 575.98px) {

    :root {
        --header-height: 60px;
    }

    .site-header {
        padding: 8px 10px 0;
    }

    .site-header.is-sticky {
        padding: 8px 10px 0;
    }

    .site-nav {
        gap: 5px;
        padding: 6px 8px;

        border-radius: 50px;
    }

    .brand {
        padding: 4px 5px;
    }

    .brand__logo {
        width: 105px;
        height: 36px;
    }

    .mobile-nav-actions {
        gap: 6px;
    }

    .mobile-nav-actions .nav-cta {
        min-height: 35px;
        padding: 0 11px;

        font-size: 8px;
        letter-spacing: 0.045em;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .nav-collapse {
        padding: 10px 6px 6px;
    }
}

/* =====================================================
   14. VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .site-nav {
        gap: 4px;
        padding: 6px;
    }

    .brand {
        padding: 4px;
    }

    .brand__logo {
        width: 88px;
        height: 34px;
    }

    .mobile-nav-actions {
        gap: 5px;
    }

    .mobile-nav-actions .nav-cta {
        min-height: 33px;
        padding: 0 8px;

        font-size: 7px;
        letter-spacing: 0.025em;
    }

    .nav-toggle {
        width: 35px;
        height: 35px;
    }

    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        width: 20px;
    }
}

/* =====================================================
   15. ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   SHREE SHAKTI TOURS FOOTER
========================================= */

.site-footer {
    --footer-bg: #79391f;
    --footer-text: #fff5e9;
    --footer-muted: rgba(255, 245, 233, 0.76);
    --footer-border: rgba(255, 235, 218, 0.27);

    position: relative;
    overflow: hidden;
    padding: 45px 0 20px;

    color: var(--footer-text);
    background:
        linear-gradient(180deg,
            rgba(139, 68, 37, 0.94),
            rgba(100, 44, 24, 0.97)),
        url("../img/footer-bg.jpg") center / cover no-repeat;
}

.footer-container {
    max-width: 1140px;
}

/* =========================================
   PRAYER
========================================= */

.footer-prayer {
    padding: 0 0 28px;
    text-align: center;
}

.footer-mantra {
    margin: 0 auto 12px;

    color: #fff8ef;
    font-family: var(--font-body);
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 800;
    line-height: 1.6;
}

.footer-mantra-translation {
    max-width: 550px;
    margin: 0 auto 12px;

    color: var(--footer-muted);
    font-size: 11px;
    font-style: italic;
    line-height: 1.8;
}

.footer-shanti {
    margin: 0;
    color: #fff5e9;
    font-size: 14px;
    font-weight: 800;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--footer-border);
}

/* =========================================
   MAIN FOOTER GRID
========================================= */

.footer-main {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 25px;

    padding: 28px 0 30px;
}

.footer-brand-column {
    padding-right: 25px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 86px;
    height: 43px;
    padding: 6px 12px;

    border: 1px solid rgba(255, 235, 218, 0.45);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.05);
}

.footer-brand img {
    display: block;
    width: 100%;
    max-width: 82px;
    max-height: 30px;
    object-fit: contain;
}

.footer-brand-tag {
    margin: 9px 0 12px;

    color: var(--footer-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.6;
    text-transform: uppercase;
}

.footer-brand-mantra {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
}

.footer-brand-heading {
    max-width: 280px;
    margin: 0 0 10px;

    color: var(--footer-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.8;
    text-transform: uppercase;
}

.footer-brand-description {
    max-width: 285px;
    margin: 0 0 14px;

    color: var(--footer-muted);
    font-size: 10px;
    line-height: 1.8;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 18px;

    border-radius: 30px;
    background: #fff8ef;
    color: #79391f;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;

    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-cta:hover {
    background: #f0ddca;
    color: #79391f;
    transform: translateY(-2px);
}

/* =========================================
   FOOTER NAVIGATION
========================================= */

.footer-column-title {
    margin: 0 0 15px;

    color: #f6d7c0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.6;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--footer-text);
    font-size: 10px;
    line-height: 1.6;
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #efc09f;
}

/* =========================================
   PRACTICAL FAQ
========================================= */

.footer-faq-section {
    padding: 25px 0 28px;
}

.footer-faq-heading {
    margin: 0 0 15px;

    color: #f6d7c0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-faq-grid {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 8px;
}

.footer-faq-item {
    overflow: hidden;

    border: 1px solid var(--footer-border);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.055);

    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-faq-item:hover,
.footer-faq-item.is-open {
    border-color: rgba(255, 245, 233, 0.55);
    background: rgba(255, 255, 255, 0.09);
}

.footer-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 100%;
    min-height: 38px;
    padding: 9px 12px;

    border: 0;
    background: transparent;

    color: var(--footer-text);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
}

.footer-faq-trigger>span:first-child {
    flex: 1;
}

.footer-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;
    flex: 0 0 17px;

    border: 1px solid rgba(255, 245, 233, 0.65);
    border-radius: 50%;

    color: var(--footer-text);
    font-size: 8px;

    transition: transform 0.2s ease;
}

.footer-faq-item.is-open .footer-faq-icon {
    transform: rotate(45deg);
}

.footer-faq-answer {
    padding: 0 12px 12px;

    color: var(--footer-muted);
    font-size: 10px;
    line-height: 1.8;
}

/* =========================================
   CONTACT DETAILS
========================================= */

.footer-contact-row {
    --bs-gutter-x: 25px;
    --bs-gutter-y: 20px;

    padding: 24px 0;
}

.footer-contact-block .footer-column-title,
.footer-social-block .footer-column-title {
    margin-bottom: 8px;
}

.footer-contact-link {
    color: var(--footer-text);
    font-size: 10px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: #efc09f;
}

/* =========================================
   SOCIAL LINKS
========================================= */

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--footer-text);
    font-size: 9px;
    text-decoration: none;
}

.footer-social-link:hover {
    color: #efc09f;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    flex: 0 0 22px;

    border-radius: 50%;
    color: #fff;
    font-size: 13px;
}

.social-whatsapp {
    background: #19c86a;
}

.social-facebook {
    background: #1877f2;
}

.social-instagram {
    background: linear-gradient(45deg,
            #ffb347,
            #ff3d68,
            #a832b7,
            #515bd4);
}

/* =========================================
   COPYRIGHT BAR
========================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;

    color: var(--footer-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.7;
    text-transform: uppercase;
}

.footer-bottom .footer-bottom-mantra {
    color: var(--footer-text);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .site-footer {
        padding-top: 40px;
    }

    .footer-main {
        --bs-gutter-x: 24px;
    }

    .footer-brand-column {
        padding-right: 12px;
    }

    .footer-links {
        gap: 9px;
    }

    .footer-links a {
        font-size: 10px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .site-footer {
        padding: 38px 0 20px;
    }

    .footer-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .footer-prayer {
        padding-bottom: 24px;
    }

    .footer-mantra {
        font-size: 17px;
        line-height: 1.7;
    }

    .footer-mantra-translation {
        font-size: 10px;
    }

    .footer-main {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 28px;

        padding: 25px 0;
    }

    .footer-brand-column {
        padding-right: 12px;
    }

    .footer-brand-description {
        max-width: 340px;
    }

    .footer-link-column {
        padding-top: 4px;
    }

    .footer-column-title {
        font-size: 9px;
    }

    .footer-links {
        gap: 11px;
    }

    .footer-links a {
        font-size: 10px;
    }

    .footer-faq-section {
        padding: 22px 0;
    }

    .footer-faq-grid {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 9px;
    }

    .footer-faq-trigger {
        min-height: 44px;
        padding: 10px;
        font-size: 10px;
    }

    .footer-faq-answer {
        padding: 0 10px 12px;
        font-size: 10px;
    }

    .footer-contact-row {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 22px;

        padding: 22px 0;
    }

    .footer-bottom {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .footer-bottom p {
        font-size: 7px;
    }

    .footer-bottom .footer-bottom-mantra {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

/* Extra-small mobile */

@media (max-width: 380px) {

    .footer-container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .footer-main {
        --bs-gutter-x: 14px;
    }

    .footer-brand-heading {
        font-size: 9px;
    }

    .footer-links a {
        font-size: 9px;
    }

    .footer-social-links {
        gap: 10px;
    }

    .footer-social-link {
        font-size: 8px;
    }

    .footer-bottom p {
        font-size: 6px;
    }
}

/* Keyboard accessibility */

.footer-cta:focus-visible,
.footer-links a:focus-visible,
.footer-contact-link:focus-visible,
.footer-social-link:focus-visible,
.footer-faq-trigger:focus-visible {
    outline: 2px solid #fff5e9;
    outline-offset: 4px;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .footer-cta,
    .footer-links a,
    .footer-faq-icon,
    .footer-faq-item {
        transition: none;
    }
}