:root {
    --primary-color: #d4af37;
    --primary-hover: #b5952f;
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-color: #006b3d;
    --bg-color: #0f0f0f;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   NEWS TICKER
   ========================================= */
.news-ticker-container {
    background-color: var(--ticker-bg, #1A1A1A);
    color: var(--ticker-text, #FFFFFF);
    padding: 8px 0;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.news-ticker {
    display: flex;
    width: 100%;
}

.ticker-track {
    display: flex;
    animation: scroll-left var(--ticker-speed, 20s) linear infinite;
}

.news-ticker.pause-on-hover:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
}

.ticker-item a {
    color: var(--ticker-text, #FFFFFF);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.ticker-item a:hover {
    opacity: 0.8;
}

.ticker-sep {
    margin: 0 10px;
    opacity: 0.7;
    font-weight: 300;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Typography */
.subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.main-title, .section-title {
    font-family: var(--font-heading);
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.main-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.description { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary { background: var(--primary-color); color: #000; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); }
.btn-outline { background: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: #000; transform: translateY(-3px); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

/* Header */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}
.main-header.scrolled {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo { max-height: 40px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 1.05rem; }
.nav-links a:hover { color: var(--primary-color); }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.mobile-menu-btn { display: none; background: transparent; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-slider, .hero-overlay, .hero-particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.hero-slider .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 2s ease;
}
.hero-slider .slide.active { opacity: 1; }
.hero-overlay { background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(15,15,15,0.95) 100%); z-index: 1; }
.hero-particles { z-index: 2; }
.hero-content { position: relative; z-index: 10; width: 100%; padding: 0 2rem; }

.hero-animate {
    animation: heroFadeUp 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 10;
    color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
}
.mouse {
    width: 25px; height: 40px; border: 2px solid var(--text-muted); border-radius: 20px;
    display: flex; justify-content: center; padding-top: 5px;
}
.wheel {
    width: 3px; height: 8px; background: var(--text-muted); border-radius: 2px;
    animation: scroll 2s infinite;
}
@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Smart Search */
.smart-search-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px;
    max-width: 900px;
    margin: 2rem auto;
}
.search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    flex: 1;
    border-right: 1px solid var(--glass-border);
}
.search-field:last-of-type { border-right: none; }
.search-field i { color: var(--primary-color); }
.search-field input, .search-field select {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    outline: none;
}
.search-field select option { background: var(--secondary-color); color: #fff; }
.search-btn { border-radius: 50%; width: 50px; height: 50px; padding: 0; flex-shrink: 0; }

/* Sections */
.section { padding: 6rem 2rem; }
.container { max-width: 1400px; margin: 0 auto; }

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.dest-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    group: hover;
    cursor: pointer;
}
.dest-img {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.dest-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.dest-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.dest-card:hover .dest-img img { transform: scale(1.1); }
.dest-card:hover .dest-overlay { opacity: 1; }
.dest-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
}
.dest-info h4 { font-family: var(--font-heading); font-size: 1.5rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.dest-info p { color: #ffffff; font-size: 0.95rem; line-height: 1.5; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); margin-bottom: 1rem; }

/* Why Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}
.feature-box:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Footer */
.main-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}
.footer-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-logo { max-width: 100%; width: 120px; height: auto; margin-bottom: 1.5rem; display: block; }
.footer-desc { color: var(--text-muted); margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: var(--primary-color); border-color: var(--primary-color); color: #000; }
.footer-col h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 1.5rem; color: #fff; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.contact-list li { display: flex; gap: 10px; color: var(--text-muted); }
.contact-list i { color: var(--primary-color); margin-top: 5px; }

.newsletter-form { display: flex; margin-top: 1.5rem; }
.newsletter-form input {
    flex: 1; padding: 0.8rem 1rem;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 30px 0 0 30px; color: #fff; outline: none;
}
.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color); border: none;
    border-radius: 0 30px 30px 0; color: #000; cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex; justify-content: space-between;
    color: var(--text-muted); font-size: 0.9rem;
}
.legal-links { display: flex; gap: 1.5rem; }

/* Custom Reveal Animations */
.reveal {
    opacity: 1; /* Guaranteed visible */
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
    opacity: 1;
    transform: none;
}
.reveal.fade-up {
    transform: none;
}
.reveal.zoom-in {
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .search-form { flex-wrap: wrap; border-radius: 20px; }
    .smart-search-glass { border-radius: 20px; }
    .search-field { border-right: none; border-bottom: 1px solid var(--glass-border); width: 100%; flex: 1 1 100%; }
    .search-btn { width: 100%; border-radius: 50px; margin-top: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .header-actions .btn-outline { display: none; }
    .mobile-menu-btn { display: block; }
    .form-row-2 { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
    .main-header { background: rgba(15, 15, 15, 0.98) !important; padding: 1rem 0 !important; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; align-items: center; }
    
    /* Responsive Typography */
    .main-title { font-size: 2.5rem !important; line-height: 1.2; }
    .subtitle { font-size: 1.2rem !important; }
    .section-title { font-size: 2rem !important; }
    p { font-size: 0.95rem; }
    
    /* Layout Fixes */
    .hero-content { padding: 0 1rem; }
    .page-banner { min-height: 40vh !important; padding-top: 80px !important; }
    .section { padding: 3rem 0; }
    
    /* Force flex-wrap on inline flex containers that don't have it */
    div[style*="display: flex"]:not([style*="flex-wrap"]) {
        flex-wrap: wrap !important;
    }
    
    /* specific overrides for tour details */
    .tour-card, .dest-card { border-radius: 10px; }
    .tour-details { padding: 1.5rem !important; }
}

@media (max-width: 480px) {
    .main-title { font-size: 2rem !important; }
    .search-field { padding: 0.8rem; }
    .btn { padding: 0.6rem 1.5rem; font-size: 0.95rem; }
    .btn-large { padding: 0.8rem 2rem; font-size: 1rem; }
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(15, 15, 15, 0.98); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.close-menu-btn { position: absolute; top: 2rem; right: 2rem; background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.mobile-nav-links { text-align: center; }
.mobile-nav-links li { margin-bottom: 2rem; }
.mobile-nav-links a { font-family: var(--font-body); font-weight: 500; font-size: 1.5rem; color: #fff; }
.mobile-nav-links a:hover { color: var(--primary-color); }

/* Contact Page Layout */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.contact-sidebar { padding-right: 2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media screen and (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-sidebar { padding-right: 0; }
}
@media screen and (max-width: 768px) {
    .form-row-2 { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
}

select option { background-color: var(--secondary-color); color: #fff; }


/* Accordion Styles */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary .summary-icon { transform: rotate(180deg); }

/* Tour Details Grid overrides */
.tour-details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
@media (max-width: 1024px) {
    .tour-details-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    #booking-widget .sidebar-cta-box { position: static !important; margin-top: 2rem; }
}

@media (max-width: 768px) {
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
    div[style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
    .modal-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr !important; }
}

/* Modals */
.custom-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.custom-modal.active {
    opacity: 1; pointer-events: auto;
}
.custom-modal .modal-content {
    background: var(--dark-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}
.custom-modal .modal-content,
form {
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.custom-modal .modal-content::-webkit-scrollbar,
form::-webkit-scrollbar {
    display: none;
}
.custom-modal.active .modal-content {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.close-modal:hover {
    color: var(--primary-color);
}
