/* Variables & Core Design System */
:root {
    --primary-color: #ffd700; /* Gold */
    --primary-hover: #e6c200;
    --dark-bg: #0a192f;      /* Navy Blue */
    --dark-secondary: #112240;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #e6f1ff;
    --white: #ffffff;
    
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-whatsapp {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: var(--dark-bg);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-outline.dark-btn {
    border-color: var(--dark-bg);
    color: var(--dark-bg);
}

.btn-outline.dark-btn:hover {
    background-color: var(--dark-bg);
    color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text span {
    color: var(--primary-color);
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px; /* Slight rounding for a nicer look if desired */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('../images/hero.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Services Section */
.services {
    padding: 100px 5%;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

/* Van "Most Popular" card — extra premium */
.service-card.highlight {
    border: 3px solid var(--primary-color);
    background: linear-gradient(168deg, #fffef5 0%, #fff9db 40%, #fff4b8 100%);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.25), 0 0 0 4px rgba(255, 215, 0, 0.1);
    transform: scale(1.04);
    z-index: 2;
}

.service-card.highlight:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.35), 0 0 0 6px rgba(255, 215, 0, 0.15);
}

.badge {
    position: absolute;
    top: -18px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffb400);
    color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4), 0 0 0 6px rgba(255, 215, 0, 0.15); }
}

.card-icon {
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 600;
}

.features-list i {
    color: var(--primary-color);
    width: 20px;
}

/* Why Us Section */
.why-us {
    padding: 100px 5%;
    background-color: var(--dark-bg);
    color: var(--white);
}

.section-header.dark p {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
}

/* Booking CTA */
.booking-cta {
    padding: 80px 5%;
    background-color: var(--primary-color);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--dark-bg);
}

.cta-content p {
    color: var(--dark-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: #050d18;
    color: var(--text-light);
    padding: 80px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0px;
    font-size: 1.8rem;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* =========================
   WhatsApp Hero CTA
========================= */
.whatsapp-hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    margin-bottom: 30px;
    max-width: 600px;
    transition: all 0.3s ease;
}

.whatsapp-hero-cta:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2);
}

.whatsapp-cta-icon {
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: whatsappPulseIcon 2s ease-in-out infinite;
}

.whatsapp-cta-icon i {
    font-size: 1.6rem;
    color: #fff;
}

.whatsapp-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.whatsapp-cta-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: #25D366;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-cta-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.whatsapp-cta-btn:hover {
    background: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-cta-btn i {
    font-size: 1.2rem;
}

/* =========================
   Floating WhatsApp Button
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    animation: whatsappFloat 0.6s ease forwards, whatsappPulse 2.5s ease-in-out 1s infinite;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 1.6rem;
}

.whatsapp-float-label {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

@keyframes whatsappFloat {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.15);
    }
}

@keyframes whatsappPulseIcon {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0.15);
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

/* =========================
   Inner Tour Pages Styles
========================= */

.tour-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 0; /* Navbar is fixed */
}

.tour-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.7) 0%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 1;
}

.tour-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin-top: 60px; /* Offset for navbar */
}

.tour-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.tour-hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.tour-content {
    padding: 80px 5%;
    background-color: var(--white);
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.tour-main {
    flex: 1;
    min-width: 300px;
}

.tour-sidebar {
    width: 350px;
    flex-shrink: 0;
}

.tour-sidebar-widget {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.tour-sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.tour-sidebar-widget .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.tour-sidebar-widget .price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.tour-sidebar-widget ul {
    list-style: none;
    margin-bottom: 30px;
}

.tour-sidebar-widget ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 600;
}

.tour-sidebar-widget ul i {
    color: var(--primary-color);
    width: 20px;
}

.tour-section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 10px;
}

.tour-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.tour-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.key-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.highlight-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.highlight-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.highlight-box h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.highlight-box p {
    font-size: 0.9rem;
    color: #666;
}

.itinerary {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
}

.itinerary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
}

.itinerary-item {
    position: relative;
    margin-bottom: 30px;
}

.itinerary-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px #e0e0e0;
}

.itinerary-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.itinerary-item p {
    color: #666;
}

.tour-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tour-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: zoom-in;
}

.tour-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    filter: brightness(1.05);
}

@media (max-width: 900px) {
    .tour-content {
        flex-direction: column;
    }
    .tour-sidebar {
        width: 100%;
    }
    .tour-sidebar-widget {
        position: static;
    }
}
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(10, 25, 47, 0.98);
        padding: 20px 5%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        /* Hidden state */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links a:not(.btn-primary) {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links a.btn-primary {
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    /* WhatsApp Hero CTA mobile */
    .whatsapp-hero-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 18px 20px;
        gap: 14px;
    }
    .whatsapp-cta-icon {
        margin: 0 auto;
    }
    .whatsapp-cta-btn {
        width: 100%;
        justify-content: center;
    }
    /* Floating button: smaller on mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 14px;
        border-radius: 50%;
    }
    .whatsapp-float-label {
        display: none;
    }
}

/* =========================
   Lightbox Modal
========================= */
.lightbox-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.tour-gallery img {
    cursor: zoom-in;
}

/* Inline Card Popup Styles */
.popup-wrapper {
    position: relative;
    width: 100%;
}

.card-popup {
    position: absolute;
    bottom: calc(100% + 15px); /* Position above the button */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 15px;
    width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The little pointing arrow */
.card-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

/* White inner arrow to cover the border */
.card-popup::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--white) transparent transparent transparent;
    z-index: 1;
}

.card-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.popup-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
}

.popup-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.popup-link:last-child {
    margin-bottom: 0;
}

.popup-link i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.popup-link:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.popup-link:hover i {
    color: var(--text-dark);
}

/* Custom Modal Styles (Used for Gallery etc) */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    max-width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.custom-modal.active .modal-content {
    transform: translateY(0);
}

/* Vehicle Gallery Modal */
.btn-gallery {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-gallery:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.vehicle-gallery-content {
    width: 600px;
    max-width: 95%;
    padding: 30px;
}

.close-vehicle-gallery {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-vehicle-gallery:hover {
    color: var(--primary-color);
}

.vehicle-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.carousel-image-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    color: var(--text-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
}

.prev-btn { left: -15px; }
.next-btn { right: -15px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}
