/**
 * Global Modern Styles - Sunday Flat
 * Modern menu and header styling for all pages
 * Version: 1.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   MODERN HEADER & NAVIGATION
   ============================================ */

.main-head {
    background: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: none !important;
}

.top-bar {
    background: #fff !important;
    border-bottom: none !important;
}

.top-bar-content {
    background: transparent !important;
}

/* Logo styling */
.ts-logo .logo-image {
    max-height: 45px;
    transition: opacity 0.3s ease;
}

.ts-logo:hover .logo-image {
    opacity: 0.8;
}

/* Navigation Links */
.navigation .menu > li > a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    padding: 20px 18px !important;
    transition: color 0.3s ease !important;
}

.navigation .menu > li > a:hover {
    color: #6b7d63 !important;
}

/* Active menu item */
.navigation .menu > li.current-menu-item > a,
.navigation .menu > li.current-menu-parent > a,
.navigation .menu > li.current-menu-ancestor > a {
    color: #6b7d63 !important;
}

/* Dropdown menus */
.navigation .menu .sub-menu {
    background: #fff !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border-radius: 8px !important;
    padding: 12px 0 !important;
    min-width: 220px !important;
}

.navigation .menu .sub-menu li a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    color: #444 !important;
    padding: 10px 24px !important;
    transition: all 0.2s ease !important;
}

.navigation .menu .sub-menu li a:hover {
    color: #6b7d63 !important;
    background: rgba(107, 125, 99, 0.06) !important;
    padding-left: 28px !important;
}

/* Search icon */
.search-action i,
.actions i {
    color: #1a1a1a !important;
    font-size: 16px !important;
    transition: color 0.3s ease !important;
}

.search-action:hover i,
.actions:hover i {
    color: #6b7d63 !important;
}

/* Mobile menu toggle */
.mobile-nav i {
    color: #1a1a1a !important;
    font-size: 20px !important;
}

/* Sticky header */
.top-bar-content.is-sticky,
.main-head.is-sticky {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
}

/* ============================================
   MOBILE MENU STYLING
   ============================================ */

.mobile-menu-container {
    background: #fff !important;
}

.mobile-menu-container .close {
    color: #1a1a1a !important;
}

.mobile-menu li a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.mobile-menu li a:hover {
    color: #6b7d63 !important;
}

/* ============================================
   GLOBAL TYPOGRAPHY IMPROVEMENTS
   ============================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.post-title,
.post-title-alt {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .navigation .menu > li > a {
        font-size: 11px !important;
        padding: 15px 12px !important;
    }
}

@media (max-width: 767px) {
    .ts-logo .logo-image {
        max-height: 38px;
    }
}
