/*
Theme Name: Gambia Travel Guide
Theme URI: https://gambia-travel-guide.com
Author: Gambia Travel Guide
Description: A mobile-first travel guide theme for The Gambia - The Smiling Coast of Africa
Version: 1.0.0
License: GPL v2 or later
Text Domain: gambia-travel
*/

/* ============================================
   ROOT VARIABLES - Gambian Flag Colours
   ============================================ */
:root {
    --gm-red: #CE1126;
    --gm-white: #FFFFFF;
    --gm-blue: #0C1C8C;
    --gm-green: #3A7728;

    --primary: #0C1C8C;
    --primary-light: #1a3d9e;
    --secondary: #3A7728;
    --accent: #CE1126;

    --text-dark: #1a1a1a;
    --text-medium: #555;
    --text-light: #888;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 50px;

    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

ul, ol {
    color: var(--text-dark);
}

li {
    color: var(--text-dark);
}

strong {
    color: var(--text-dark);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
    padding: 2rem 0;
}

.main-content h2,
.main-content h3,
.main-content h4 {
    color: var(--text-dark);
}

.main-content p,
.main-content li,
.main-content span {
    color: var(--text-dark);
}

.page-content {
    color: var(--text-dark);
}

.page-content h2,
.page-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gm-red), var(--gm-blue), var(--gm-green));
    border-radius: 2px;
}

/* ============================================
   GAMBIAN FLAG BAR
   ============================================ */
.flag-bar {
    height: 6px;
    background: linear-gradient(to right,
            var(--gm-red) 0%, var(--gm-red) 20%,
            var(--gm-white) 20%, var(--gm-white) 35%,
            var(--gm-blue) 35%, var(--gm-blue) 65%,
            var(--gm-white) 65%, var(--gm-white) 80%,
            var(--gm-green) 80%, var(--gm-green) 100%);
}

/* ============================================
   PAGE HEADER (for non-homepage pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

@media (min-width: 768px) {
    .page-header {
        padding: 2.5rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Main Navigation - Hidden on mobile/tablet */
.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.main-nav > ul > li > a {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    background: var(--primary);
    color: white;
}

/* Mobile Menu Toggle - Show on mobile/tablet, hide on desktop */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: 999;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.125rem;
    color: white;
    opacity: 1;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Live Stats (Weather & Exchange) */
.live-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.stat-icon {
    margin-right: 0.5rem;
}

/* Search Box */
.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: white;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #2d5f20;
}

/* ============================================
   QUICK LINKS GRID (I Need Help With...)
   ============================================ */
.quick-links {
    padding: 2rem 1rem;
    background: var(--bg-white);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.quick-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-link-icon {
    font-size: 1.5rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.25rem;
    color: var(--text-dark);
}

.card-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-description {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #2d5f20;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   GUIDE CONTENT
   ============================================ */
.guide-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.guide-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.guide-content ul,
.guide-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.guide-content th,
.guide-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.guide-content th {
    background: var(--bg-light);
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-box h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-box p,
.info-box li {
    color: var(--text-dark);
}

.info-box-tip {
    background: #e8f5e9;
    border-left: 4px solid var(--secondary);
}

.info-box-warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.info-box-important {
    background: #fce4ec;
    border-left: 4px solid var(--accent);
}

.info-box-info {
    background: #e3f2fd;
    border-left: 4px solid var(--primary);
}

.info-box-success {
    background: #e8f5e9;
    border-left: 4px solid var(--secondary);
}

/* ============================================
   BOOKING BAR
   ============================================ */
.booking-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.booking-bar-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.booking-bar-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.booking-bar-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.booking-bar-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ============================================
   SHARE BUTTONS
   ============================================ */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.share-label {
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.share-whatsapp {
    background: #25D366;
    color: white !important;
}

.share-whatsapp:hover {
    background: #1da851;
}

.share-facebook {
    background: #1877F2;
    color: white !important;
}

.share-facebook:hover {
    background: #0d65d9;
}

.share-twitter {
    background: #000000;
    color: white !important;
}

.share-twitter:hover {
    background: #333333;
}

.share-linkedin {
    background: #0A66C2;
    color: white !important;
}

.share-linkedin:hover {
    background: #084d94;
}

.share-reddit {
    background: #FF4500;
    color: white !important;
}

.share-reddit:hover {
    background: #cc3700;
}

.share-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white !important;
}

.share-instagram:hover {
    opacity: 0.9;
}

/* ============================================
   ACCORDION (FAQ Style)
   ============================================ */
.accordion {
    margin-bottom: 1rem;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--primary);
    color: white;
}

.accordion-icon {
    font-size: 1.25rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: block;
    padding: 1rem 1.25rem 1.25rem;
    color: var(--text-dark);
}

.accordion-content ul {
    color: var(--text-dark);
}

.accordion-content li {
    color: var(--text-dark);
}

.accordion-item.active .accordion-content {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

/* Emergency Info */
.emergency-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.emergency-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot-toggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.chatbot-window {
    display: none;
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    width: calc(100% - 3rem);
    max-width: 380px;
    max-height: 500px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
}

.chat-message {
    margin-bottom: 1rem;
    max-width: 85%;
}

.chat-message.bot {
    margin-right: auto;
}

.chat-message.user {
    margin-left: auto;
}

.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background: var(--bg-light);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-top: 1px solid #eee;
}

.chat-suggestion {
    padding: 0.5rem 0.75rem;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-suggestion:hover {
    background: var(--primary);
    color: white;
}

.chatbot-input {
    display: flex;
    padding: 0.75rem;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-input button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    margin-left: 0.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--primary-light);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Star Ratings */
.stars {
    color: #ffc107;
}

/* Price Tags */
.price {
    font-weight: 700;
    color: var(--secondary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--primary);
    color: white;
}

.badge-secondary {
    background: var(--secondary);
    color: white;
}

.badge-accent {
    background: var(--accent);
    color: white;
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    background: var(--primary);
    color: white;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

/* Dropdown Menu - HIDDEN by default */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    margin-top: 0.25rem;
}

/* Show dropdown on click (via .active class) */
.has-dropdown.active .dropdown-menu {
    display: block;
}

/* Rotate arrow when active */
.has-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.25rem;
}

/* ============================================
   MOBILE MENU IMPROVEMENTS
   ============================================ */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-menu-section {
    padding: 0.75rem 0;
}

.mobile-section-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-submenu li {
    border-bottom: none;
}

.mobile-submenu a {
    display: block;
    padding: 0.625rem 0 0.625rem 1rem;
    font-size: 1rem;
    color: var(--text-medium);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.mobile-submenu a:hover {
    color: var(--primary);
    border-left-color: var(--primary);
    background: var(--bg-light);
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .live-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .quick-link {
        padding: 0.875rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .booking-bar-links {
        flex-direction: column;
    }
    
    .booking-bar-link {
        width: 100%;
        text-align: center;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--radius-md);
    }
    
    .search-input {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        padding: 0.875rem 1rem;
    }
    
    .search-btn {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        padding: 0.875rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .btn-group {
        flex-direction: column !important;
    }
    
    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
}

/* Navigation visibility handled in main CSS rules above */

/* ============================================
   BUTTON GROUPS
   ============================================ */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ============================================
   TOUCH-FRIENDLY IMPROVEMENTS
   ============================================ */
@media (hover: none) {
    .has-dropdown > a::after {
        content: ' ▾';
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
    }
}