/**
 * Custom Luxury & Responsive Header Styles
 * Shubham Mehndi Studio
 */

:root {
    --sms-gold: #c38a23;
    --sms-gold-light: #e0aa3e;
    --sms-gold-dark: #9b6c16;
    --sms-gold-soft: rgba(195, 138, 35, 0.12);
    --sms-dark: #141414;
    --sms-dark-header: #1a1816;
    --sms-text-dark: #222222;
    --sms-text-muted: #666666;
    --sms-white: #ffffff;
    --sms-wa-green: #25d366;
    --sms-radius: 8px;
    --sms-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --sms-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
    --sms-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   1. LUXURY TOPBAR
   ========================================================================== */
.sms-topbar {
    background: linear-gradient(90deg, #121212 0%, #1f1a14 50%, #121212 100%);
    border-bottom: 1px solid rgba(195, 138, 35, 0.25);
    color: #e5e3e3;
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 0;
    position: relative;
    z-index: 1060;
}

.sms-topbar .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1400px) {
    .sms-topbar .container-fluid {
        padding-left: 45px;
        padding-right: 45px;
    }
}

.sms-topbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.sms-topbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sms-topbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sms-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f0ede8;
    text-decoration: none;
    font-weight: 500;
    transition: var(--sms-transition);
}

.sms-topbar-item i {
    color: var(--sms-gold-light);
    font-size: 13px;
}

.sms-topbar-item:hover {
    color: var(--sms-gold-light);
}

.sms-topbar-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sms-topbar-socials li {
    margin: 0;
    padding: 0;
}

.sms-topbar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f0ede8;
    font-size: 12px;
    transition: var(--sms-transition);
    border: 1px solid rgba(195, 138, 35, 0.2);
    text-decoration: none;
}

.sms-topbar-socials a:hover {
    background: var(--sms-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(195, 138, 35, 0.35);
    border-color: var(--sms-gold);
}

.sms-topbar-socials a.soc-wa:hover {
    background: var(--sms-wa-green);
    border-color: var(--sms-wa-green);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.sms-topbar-socials a.soc-yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.35);
}

.sms-topbar-socials a.soc-ig:hover {
    background: #e1306c;
    border-color: #e1306c;
    box-shadow: 0 4px 10px rgba(225, 48, 108, 0.35);
}

.sms-topbar-socials a.soc-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

/* ==========================================================================
   2. MAIN MODERN HEADER (DESKTOP)
   ========================================================================== */
.sms-header {
    background-color: #ffffff;
    position: relative;
    z-index: 1040;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    width: 100%;
}

/* Fixed Sticky Header on Scroll */
.sms-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    animation: smsSlideDown 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.sms-header-fixed {
    padding-top: 86px;
}

@keyframes smsSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.sms-header .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1400px) {
    .sms-header .container-fluid {
        padding-left: 45px;
        padding-right: 45px;
    }
}

.sms-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 86px;
    transition: height 0.3s ease;
}

.sms-header.is-sticky .sms-header-inner {
    height: 74px;
}

/* Brand / Logo */
.sms-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 15px;
}

.sms-brand img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    transition: var(--sms-transition);
}

.sms-header.is-sticky .sms-brand img {
    max-height: 56px;
}

.sms-brand:hover img {
    transform: scale(1.02);
}

/* Desktop Navigation */
.sms-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin: 0 10px;
}

.sms-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

@media (min-width: 1100px) {
    .sms-nav-list {
        gap: 5px;
    }
}

@media (min-width: 1280px) {
    .sms-nav-list {
        gap: 9px;
    }
}

@media (min-width: 1440px) {
    .sms-nav-list {
        gap: 15px;
    }
}

.sms-nav-item {
    position: relative;
    list-style: none;
}

.sms-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
    color: #232f4b;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    position: relative;
    border-radius: 6px;
    transition: var(--sms-transition);
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .sms-nav-link {
        font-size: 13.5px;
        padding: 10px 10px;
    }
}

@media (min-width: 1400px) {
    .sms-nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }
}

.sms-nav-link i.nav-chevron {
    font-size: 9px;
    color: #888888;
    transition: transform 0.28s ease, color 0.28s ease;
}

/* Hover & Active Indicator */
.sms-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 8px;
    right: 8px;
    height: 3px;
    background: linear-gradient(90deg, var(--sms-gold), var(--sms-gold-light));
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.sms-nav-link:hover,
.sms-nav-item:hover > .sms-nav-link {
    color: var(--sms-gold);
}

.sms-nav-link:hover i.nav-chevron,
.sms-nav-item:hover > .sms-nav-link i.nav-chevron {
    color: var(--sms-gold);
    transform: rotate(180deg);
}

.sms-nav-link:hover::after,
.sms-nav-link.active::after {
    transform: scaleX(1);
}

.sms-nav-link.active {
    color: var(--sms-gold);
    font-weight: 700;
}

/* Dropdown Menu */
.sms-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(195, 138, 35, 0.18);
    border-top: 3px solid var(--sms-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1050;
    pointer-events: none;
}

/* Invisible hover bridge to prevent losing hover when moving down */
.sms-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.sms-nav-item:hover > .sms-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Links */
.sms-dropdown-link {
    display: flex;
    align-items: center;
    padding: 9px 20px;
    color: #2b3345;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.45;
    transition: var(--sms-transition);
    position: relative;
}

.sms-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sms-gold);
    opacity: 0;
    transform: scaleY(0);
    transition: var(--sms-transition);
}

.sms-dropdown-link:hover,
.sms-dropdown-link.active {
    background-color: rgba(195, 138, 35, 0.08);
    color: var(--sms-gold-dark);
    padding-left: 24px;
}

.sms-dropdown-link:hover::before,
.sms-dropdown-link.active::before {
    opacity: 1;
    transform: scaleY(1);
}

.wpo-box-style {
    padding: 0 !important;
}

/* Special Wide Dropdown for Blog Titles */
.sms-dropdown.sms-dropdown-wide {
    min-width: 340px;
    max-width: 380px;
    right: 0;
    left: auto;
}

.sms-dropdown-wide .sms-dropdown-link {
    font-size: 13.5px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sms-dropdown-wide .sms-dropdown-link:last-child {
    border-bottom: none;
}

/* Header Action Buttons (Right) */
.sms-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Book Appointment CTA */
.sms-btn-book {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #c38a23 0%, #d89e2e 50%, #b87c14 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(195, 138, 35, 0.35);
    transition: var(--sms-transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.sms-btn-book::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: rotate(30deg) translateY(-100%);
    transition: transform 0.65s ease;
}

.sms-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(195, 138, 35, 0.45);
    color: #ffffff !important;
}

.sms-btn-book:hover::before {
    transform: rotate(30deg) translateY(100%);
}

.sms-btn-book i {
    font-size: 14px;
}

/* WhatsApp Icon Action */
.sms-btn-wa-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff !important;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: var(--sms-transition);
}

.sms-btn-wa-header:hover {
    transform: translateY(-2px) scale(1.05);
    background: #20ba5a;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   3. MOBILE & TABLET RESPONSIVE NAVIGATION (< 992px)
   ========================================================================== */
.sms-mobile-bar-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

/* Mobile Quick Call & WhatsApp Pills */
.sms-mob-quick-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sms-gold-soft);
    color: var(--sms-gold-dark) !important;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(195, 138, 35, 0.3);
    transition: var(--sms-transition);
}

.sms-mob-quick-call:hover {
    background: var(--sms-gold);
    color: #ffffff !important;
}

.sms-mob-quick-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eafaf1;
    color: #25d366 !important;
    font-size: 19px;
    text-decoration: none;
    border: 1px solid rgba(37, 211, 102, 0.3);
    transition: var(--sms-transition);
}

.sms-mob-quick-wa:hover {
    background: #25d366;
    color: #ffffff !important;
}

/* Modern Hamburger Toggle Button */
.sms-hamburger {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f8f6f2;
    border: 1px solid rgba(195, 138, 35, 0.25);
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: var(--sms-transition);
}

.sms-hamburger:hover {
    background: var(--sms-gold-soft);
    border-color: var(--sms-gold);
}

.sms-hamburger-bar {
    width: 22px;
    height: 2.5px;
    background-color: #232f4b;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease, background-color 0.3s ease;
}

.sms-hamburger.is-active .sms-hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background-color: var(--sms-gold);
}

.sms-hamburger.is-active .sms-hamburger-bar:nth-child(2) {
    opacity: 0;
}

.sms-hamburger.is-active .sms-hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background-color: var(--sms-gold);
}

/* Off-Canvas Backdrop Overlay */
.sms-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sms-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* Off-Canvas Mobile Drawer */
.sms-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1090;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.sms-mobile-drawer.is-open {
    transform: translateX(0);
}

/* Drawer Header */
.sms-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #faf8f5;
}

.sms-drawer-brand img {
    max-height: 48px;
    width: auto;
}

.sms-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--sms-transition);
}

.sms-drawer-close:hover {
    background: var(--sms-gold);
    color: #ffffff;
    border-color: var(--sms-gold);
    transform: rotate(90deg);
}

/* Drawer Body / Scrollable Menu */
.sms-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 0;
    -webkit-overflow-scrolling: touch;
}

.sms-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sms-drawer-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sms-drawer-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.sms-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 4px;
    color: #222b40;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    flex-grow: 1;
    transition: var(--sms-transition);
}

.sms-drawer-link i {
    font-size: 14px;
    color: var(--sms-gold);
    width: 20px;
    text-align: center;
}

.sms-drawer-link:hover,
.sms-drawer-link.active {
    color: var(--sms-gold);
}

/* Accordion Toggle Button */
.sms-accordion-btn {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #666666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: var(--sms-transition);
}

.sms-accordion-btn:hover {
    background: var(--sms-gold-soft);
    color: var(--sms-gold-dark);
}

.sms-accordion-btn i {
    transition: transform 0.3s ease;
}

.sms-accordion-btn.is-expanded i {
    transform: rotate(180deg);
    color: var(--sms-gold);
}

/* Submenu Accordion */
.sms-drawer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fbf9f6;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    display: none;
}

.sms-drawer-submenu.is-visible {
    display: block;
    animation: smsFadeSlide 0.28s ease;
}

@keyframes smsFadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sms-drawer-sublink {
    display: block;
    padding: 10px 20px 10px 48px;
    color: #444c60;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: var(--sms-transition);
}

.sms-drawer-sublink::before {
    content: '•';
    position: absolute;
    left: 34px;
    color: var(--sms-gold);
    font-size: 14px;
}

.sms-drawer-sublink:hover,
.sms-drawer-sublink.active {
    color: var(--sms-gold-dark);
    padding-left: 52px;
    background: rgba(195, 138, 35, 0.08);
}

/* Drawer Footer */
.sms-drawer-footer {
    padding: 18px 20px;
    background: #fbf9f6;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sms-drawer-btn-book {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #c38a23 0%, #d89e2e 50%, #b87c14 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(195, 138, 35, 0.35);
    text-decoration: none;
    cursor: pointer;
    transition: var(--sms-transition);
}

.sms-drawer-btn-book:hover {
    background: linear-gradient(135deg, #b87c14 0%, #c38a23 100%);
    transform: translateY(-1px);
}

.sms-drawer-contact-row {
    display: flex;
    gap: 10px;
}

.sms-drawer-contact-row a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--sms-transition);
}

.sms-drawer-call-btn {
    background: var(--sms-gold-soft);
    color: var(--sms-gold-dark) !important;
    border: 1px solid rgba(195, 138, 35, 0.3);
}

.sms-drawer-call-btn:hover {
    background: var(--sms-gold);
    color: #ffffff !important;
}

.sms-drawer-wa-btn {
    background: #eafaf1;
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.sms-drawer-wa-btn:hover {
    background: #25d366;
    color: #ffffff !important;
}

.sms-drawer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.sms-drawer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #444444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--sms-transition);
    text-decoration: none;
}

.sms-drawer-socials a:hover {
    background: var(--sms-gold);
    color: #ffffff;
    border-color: var(--sms-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   4. BREAKPOINT RULES (< 992px)
   ========================================================================== */
@media (max-width: 991.98px) {
    body.sms-header-fixed {
        padding-top: 68px;
    }

    /* Hide desktop elements */
    .sms-desktop-nav,
    .sms-header-actions {
        display: none !important;
    }

    /* Show mobile bar actions */
    .sms-mobile-bar-actions {
        display: flex !important;
    }

    .sms-header-inner {
        height: 68px;
    }

    .sms-brand img {
        max-height: 50px;
    }

    /* Topbar adjustments on mobile */
    .sms-topbar {
        padding: 6px 0;
        font-size: 12px;
    }

    .sms-topbar-wrapper {
        justify-content: center;
    }

    .sms-topbar-left {
        justify-content: center;
        gap: 14px;
    }

    .sms-topbar-right {
        display: none; /* Keep mobile topbar clean and uncluttered */
    }
}

@media (max-width: 575.98px) {
    body.sms-header-fixed {
        padding-top: 62px;
    }

    .sms-header-inner {
        height: 62px;
    }

    .sms-brand img {
        max-height: 44px;
    }

    .sms-mobile-bar-actions {
        gap: 6px;
    }

    .sms-mob-quick-call,
    .sms-mob-quick-wa {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .sms-hamburger {
        width: 36px;
        height: 36px;
    }

    .sms-hamburger-bar {
        width: 19px;
        height: 2px;
    }

    .sms-topbar-item {
        font-size: 11px;
    }
}
