 * ============================================================
 *  MASTER OF MASSAGE — CUSTOM HEADER CSS
 *  Website: masterofmassagemn.com
 *  Version: 1.0
 *
 *  HOW TO INSTALL IN WORDPRESS:
 *  1. Go to Appearance → Customize → Additional CSS
 *  2. Paste this entire file into the box and click Publish
 *     — OR —
 *  1. Install the free "WPCode" plugin
 *  2. Go to Code Snippets → Add Snippet → CSS Snippet
 *  3. Paste this file and activate it
 * ============================================================
 */


/* ════════════════════════════════════════
   CSS CUSTOM PROPERTIES (BRAND COLORS)
   ════════════════════════════════════════ */
:root {
    --mom-deep:       #1a1a2e;       /* Primary dark navy */
    --mom-deeper:     #12122a;       /* Darker navy for top bar */
    --mom-gold:       #c9a84c;       /* Primary gold accent */
    --mom-gold-lt:    #e8c96a;       /* Lighter gold for hover states */
    --mom-white:      #ffffff;
    --mom-off-white:  #f8f6f2;
    --mom-text:       #2c2c2c;
    --mom-muted:      #888888;
    --mom-border:     rgba(201, 168, 76, 0.25); /* Translucent gold border */
    --mom-topbar-h:   40px;          /* Height of the top utility bar */
    --mom-nav-h:      72px;          /* Height of the main navigation bar */
}


/* ════════════════════════════════════════
   TOP UTILITY BAR
   ════════════════════════════════════════ */

/* Outer container */
.mom-topbar {
    background: var(--mom-deeper);
    height: var(--mom-topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid var(--mom-border);
    width: 100%;
}

/* Left group: hours, phone, email, address */
.mom-topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Individual clickable items (phone, email, address) */
.mom-topbar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #b0b8cc;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}
.mom-topbar-item:hover {
    color: var(--mom-gold);
}

/* Icon inside topbar items */
.mom-topbar-icon {
    font-size: 13px;
}

/* Vertical divider between items */
.mom-topbar-divider {
    width: 1px;
    height: 16px;
    background: var(--mom-border);
    flex-shrink: 0;
}

/* Right group: social icons + Shop Fajas link */
.mom-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Circular social media icon buttons */
.mom-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--mom-border);
    border-radius: 50%;
    color: #b0b8cc;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.mom-social-link:hover {
    background: var(--mom-gold);
    border-color: var(--mom-gold);
    color: var(--mom-deep);
}

/* Hours text in gold */
.mom-topbar-hours {
    font-size: 12px;
    color: var(--mom-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ════════════════════════════════════════
   MAIN NAVIGATION BAR
   ════════════════════════════════════════ */

/* Outer nav container — sticky at top */
.mom-navbar {
    background: var(--mom-deep);
    height: var(--mom-nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border-bottom: 2px solid var(--mom-gold);
    width: 100%;
}


/* ─── LOGO ─────────────────────────────── */

.mom-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.mom-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.mom-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mom-logo-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--mom-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mom-logo-tagline {
    font-size: 10px;
    color: var(--mom-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}


/* ─── NAV LINKS LIST ────────────────────── */

.mom-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Each nav item wrapper */
.mom-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Individual nav link */
.mom-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 100%;
    font-size: 13.5px;
    font-weight: 600;
    color: #d0d8e8;
    text-decoration: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s ease;
    border-bottom: 3px solid transparent;
}

/* Hover and active states */
.mom-nav-link:hover,
.mom-nav-item:hover > .mom-nav-link {
    color: var(--mom-gold);
    border-bottom-color: var(--mom-gold);
}

/* Dropdown chevron arrow */
.mom-nav-link .mom-chevron {
    font-size: 9px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}
.mom-nav-item:hover > .mom-nav-link .mom-chevron {
    transform: rotate(180deg);
}


/* ─── DROPDOWN MENUS ────────────────────── */

/* Dropdown container — hidden by default */
.mom-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: var(--mom-deeper);
    border: 1px solid var(--mom-border);
    border-top: 2px solid var(--mom-gold);
    border-radius: 0 0 8px 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.22s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 200;
}

/* Reveal dropdown on parent hover */
.mom-nav-item:hover .mom-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Section divider inside dropdown */
.mom-dropdown-section {
    padding: 10px 0;
    border-bottom: 1px solid var(--mom-border);
}
.mom-dropdown-section:last-child {
    border-bottom: none;
}

/* Section label (e.g. "Post-Op & Recovery") */
.mom-dropdown-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mom-gold);
    padding: 6px 18px 4px;
    display: block;
}

/* Individual dropdown link */
.mom-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13px;
    color: #c0cce0;
    text-decoration: none;
    transition: all 0.15s ease;
    font-weight: 500;
}
.mom-dropdown-link:hover {
    background: rgba(201, 168, 76, 0.1);
    color: var(--mom-gold);
    padding-left: 24px;
}

/* Gold dot bullet before each dropdown link */
.mom-dropdown-link .mom-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mom-gold);
    opacity: 0.5;
    flex-shrink: 0;
}
.mom-dropdown-link:hover .mom-dot {
    opacity: 1;
}

/* Wide 2-column dropdown for Services */
.mom-dropdown-wide {
    min-width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 16px 0;
}

.mom-dropdown-wide .mom-dropdown-col {
    padding: 0;
    border-right: 1px solid var(--mom-border);
}
.mom-dropdown-wide .mom-dropdown-col:last-child {
    border-right: none;
}


/* ─── BOOK APPOINTMENT CTA BUTTON ──────── */

.mom-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mom-gold);
    color: var(--mom-deep) !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 10px 22px !important;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: none !important;
    height: auto !important;
    margin-left: 10px;
}
.mom-nav-cta:hover {
    background: var(--mom-gold-lt);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.4);
    color: var(--mom-deep) !important;
    border-bottom: none !important;
}

/* Pulsing green dot inside CTA button */
.mom-nav-cta .mom-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mom-deep);
    animation: mom-pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes mom-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}


/* ════════════════════════════════════════
   MOBILE HAMBURGER BUTTON
   ════════════════════════════════════════ */

.mom-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    outline: none;
}

.mom-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mom-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animated X state when menu is open */
.mom-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mom-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.mom-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ════════════════════════════════════════
   MOBILE FULL-SCREEN DRAWER MENU
   ════════════════════════════════════════ */

.mom-mobile-menu {
    display: none;
    background: var(--mom-deeper);
    border-top: 2px solid var(--mom-gold);
    position: absolute;
    top: calc(var(--mom-topbar-h) + var(--mom-nav-h));
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Open state — triggered by JS adding .open class */
.mom-mobile-menu.open {
    max-height: 100vh;
}

.mom-mobile-menu-inner {
    padding: 20px 24px 32px;
}

/* Section wrapper inside mobile menu */
.mom-mobile-section {
    margin-bottom: 20px;
}

/* Section label */
.mom-mobile-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mom-gold);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--mom-border);
    display: block;
}

/* Individual mobile nav link */
.mom-mobile-link {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #c0cce0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease;
}
.mom-mobile-link:hover {
    color: var(--mom-gold);
}

/* Full-width gold CTA button in mobile menu */
.mom-mobile-cta {
    display: block;
    background: var(--mom-gold);
    color: var(--mom-deep);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.2s ease;
}
.mom-mobile-cta:hover {
    background: var(--mom-gold-lt);
}

/* Contact info block inside mobile menu */
.mom-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.mom-mobile-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #b0b8cc;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mom-mobile-contact a:hover {
    color: var(--mom-gold);
}


/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════ */

/* Slightly tighter nav at 1100px */
@media (max-width: 1100px) {
    .mom-nav-link {
        padding: 0 10px;
        font-size: 12.5px;
    }
}

/* Switch to mobile layout at 900px */
@media (max-width: 900px) {
    .mom-topbar {
        padding: 0 20px;
    }

    /* Hide all topbar items except the first (hours) */
    .mom-topbar-left .mom-topbar-item:not(:first-child) {
        display: none;
    }
    .mom-topbar-divider {
        display: none;
    }

    .mom-navbar {
        padding: 0 20px;
    }

    /* Hide desktop nav links */
    .mom-nav-links {
        display: none;
    }

    /* Show hamburger button */
    .mom-hamburger {
        display: flex;
    }

    /* Show mobile menu drawer */
    .mom-mobile-menu {
        display: block;
    }

    /* Hide logo text on mobile, keep logo image */
    .mom-logo-text {
        display: none;
    }
}

/* Hide hours text on very small screens */
@media (max-width: 480px) {
    .mom-topbar-hours {
        display: none;
    }
}


/* ════════════════════════════════════════
   WORDPRESS THEME OVERRIDES
   (Uncomment and adjust if your theme's
    existing styles conflict with the header)
   ════════════════════════════════════════ */

/*
.site-header,
#masthead,
.header-main {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.main-navigation,
#site-navigation {
    display: none !important;
}
*/
