/* Global Styles */
:root {
    --primary-color: #4A90E2; /* Ocean Blue */
    --secondary-color: #D4AF37; /* Soft Gold */
    --accent-color: #65C7D0; /* Light Ocean */
    --text-color: #2C3E50;
    --light-bg: #FDF5E6; /* Ivory */
    --beige: #F5E6D3;
    --white: #FFFFFF;
    --gradient-bg: linear-gradient(135deg, var(--light-bg), var(--beige));
    --card-bg: #FFFFFF;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --footer-bg: var(--primary-color);
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active {
    position: relative;
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

/* Adjust social header position */
.social-header {
    position: fixed;
    top: 85px;
    left: 20px;
    z-index: 1001;
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E1306C;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Instagram icon color */
.social-icon .fa-instagram {
    color: #E1306C;
}

/* TikTok icon color */
.social-icon .fa-tiktok {
    color: #000000;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-icon:hover .fa-instagram {
    color: #C13584;
}

.social-icon:hover .fa-tiktok {
    color: #69C9D0;
}

/* Dark mode adjustments */
[data-theme="dark"] .social-icon {
    background: rgba(44, 44, 44, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .social-icon .fa-tiktok {
    color: #ffffff;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .main-nav {
        padding: 10px 15px;
        height: 60px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .mobile-menu-toggle {
        display: block;
        padding: 8px;
        margin-right: -8px;
        z-index: 1002;
        font-size: 1.8rem;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0;
        flex-direction: column;
        gap: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 1001;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        height: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-links a {
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Adjust social header position for mobile */
    .social-header {
        position: fixed;
        top: 70px;
        left: auto;
        right: 15px;
        flex-direction: row;
        gap: 12px;
        z-index: 1001;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Instagram icon color */
    .social-icon .fa-instagram {
        color: #E1306C;
        font-size: 1.3rem;
    }

    /* TikTok icon color */
    .social-icon .fa-tiktok {
        color: #000000;
        font-size: 1.3rem;
    }

    /* Dark mode adjustments */
    [data-theme="dark"] .main-nav {
        background: rgba(28, 28, 28, 0.98);
    }

    [data-theme="dark"] .nav-links {
        background: rgba(28, 28, 28, 0.98);
    }

    [data-theme="dark"] .social-icon {
        background: rgba(44, 44, 44, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .social-icon .fa-instagram {
        color: #E1306C;
    }

    [data-theme="dark"] .social-icon .fa-tiktok {
        color: #ffffff;
    }
}

/* Additional Mobile Optimizations for Smaller Screens */
@media (max-width: 380px) {
    .main-nav {
        padding: 8px 12px;
    }

    .social-header {
        top: 70px;
        right: 10px;
        gap: 8px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon .fa-instagram,
    .social-icon .fa-tiktok {
        font-size: 1.2rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        font-size: 1.6rem;
    }
}

/* Improve Touch Targets for Mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .social-icon,
    .quick-contact-btn,
    .submit-button,
    .carousel-button,
    .faq-question {
        min-height: 44px;
        min-width: 44px;
    }

    .form-group input,
    .form-group select {
        min-height: 44px;
    }
}

/* Dark Mode Navigation */
[data-theme="dark"] .main-nav {
    background: rgba(28, 28, 28, 0.98);
}

[data-theme="dark"] .nav-logo {
    color: var(--accent-color);
}

[data-theme="dark"] .nav-links {
    background: rgba(28, 28, 28, 0.98);
}

[data-theme="dark"] .nav-links a {
    color: #E1E1E1;
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    color: var(--accent-color);
}

[data-theme="dark"] .nav-links a::after {
    background-color: var(--accent-color);
}

[data-theme="dark"] .mobile-menu-toggle {
    color: #E1E1E1;
}

[data-theme="dark"] .nav-links a {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-color: #65C7D0;
    --secondary-color: #FFD700;
    --accent-color: #4A90E2;
    --text-color: #E1E1E1;
    --light-bg: #1A1A1A;
    --beige: #2C2C2C;
    --white: #2C2C2C;
    --gradient-bg: linear-gradient(135deg, #1A1A1A, #2C2C2C);
    --card-bg: #2C2C2C;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --footer-bg: #1A1A1A;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes wave {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.95);
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
}

.animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Delayed animations for sequential elements */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-bg);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
}

/* Smooth Button Transitions */
.cta-button,
.book-button,
.event-button,
.details-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:before,
.book-button:before,
.event-button:before,
.details-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover:before,
.book-button:hover:before,
.event-button:hover:before,
.details-button:hover:before {
    transform: translateX(0);
}

/* Section Backgrounds */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.video-container.active {
    opacity: 1;
    z-index: 2;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Hero Text Styles */
.brand-name {
    font-size: 5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    background: linear-gradient(45deg, #FFFFFF 30%, #FFD700 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 2.8rem;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

.slogan {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 400;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(45deg, #D4AF37, #FFD700, #D4AF37);
    background-size: 200% auto;
    color: #1A1A1A;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: #000;
}

/* Dark mode adjustments for CTA button */
[data-theme="dark"] .cta-button {
    color: #1A1A1A;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cta-button:hover {
    color: #000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .brand-name {
        font-size: 3.2rem;
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.6rem;
    }
}

/* Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Tour Card Hover Effects */
.tour-card,
.event-card,
.info-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card:hover,
.event-card:hover,
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Transitions */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tours Section */
.tours {
    padding: 80px 20px;
    background: var(--light-bg);
}

.tours h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.featured-tours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Responsive grid for different screen sizes */
@media (max-width: 1200px) {
    .featured-tours {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-tours {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.tour-card {
    position: relative;
    border-radius: 15px;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--light-bg);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tour-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.tour-highlights i {
    color: var(--primary-color);
}

.price-note {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.tour-includes {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tour-includes p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.tour-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-includes li {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tour-includes i {
    color: var(--primary-color);
}

.tour-stops {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tour-stops p {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.tour-stops ol {
    list-style-position: inside;
    padding-left: 0;
    color: var(--text-color);
}

.tour-stops li {
    margin-bottom: 8px;
}

.featured-badge,
.special-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.details-button {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* Nightlife Tour Card */
.tour-card.nightlife {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
}

.tour-card.nightlife .tour-includes ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* New tour card specific styles */
.tour-card.nightclub-crawl {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #2c3e50;
}

.tour-card.nightclub-crawl h3 {
    color: white;
}

.tour-card.nightclub-crawl .tour-highlights span {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: 1px solid rgba(44, 62, 80, 0.2);
}

.tour-card.nightclub-crawl .tour-includes {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
}

.tour-card.nightclub-crawl .tour-includes p {
    color: #2c3e50;
}

.tour-card.nightclub-crawl .tour-stops p {
    color: #2c3e50;
    font-weight: 600;
}

.tour-card.nightclub-crawl .tour-stops li {
    color: #2c3e50;
}

.tour-card.luxury-ocean {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: #2d3436;
}

.tour-card.luxury-ocean h3 {
    color: #2d3436;
}

.tour-card.luxury-ocean .tour-highlights span {
    background: rgba(255, 255, 255, 0.9);
    color: #2d3436;
    border: 1px solid rgba(45, 52, 54, 0.2);
}

.tour-card.luxury-ocean .tour-includes {
    background: rgba(255, 255, 255, 0.9);
    color: #2d3436;
}

.tour-card.luxury-ocean .tour-includes p {
    color: #2d3436;
}

.tour-card.luxury-ocean .tour-stops p {
    color: #2d3436;
    font-weight: 600;
}

.tour-card.luxury-ocean .tour-stops li {
    color: #2d3436;
}

/* Badge colors for new tours */
.tour-card.nightclub-crawl .featured-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.tour-card.luxury-ocean .featured-badge {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.carousel-slide:hover .caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.carousel-container:hover .carousel-button {
    opacity: 1;
}

.carousel-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Dark mode adjustments */
[data-theme="dark"] .gallery {
    background: var(--light-bg);
}

[data-theme="dark"] .carousel-button {
    background: rgba(44, 44, 44, 0.8);
    color: var(--accent-color);
}

[data-theme="dark"] .carousel-button:hover {
    background: var(--card-bg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .featured-tours {
        gap: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* Make sections visible by default on mobile - no animation required */
    .section {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        overflow: visible !important;
    }
    
    /* Ensure body and html have proper overflow for scrolling */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .tours {
        padding: 60px 15px;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        min-height: 400px;
    }

    .tours h2,
    .gallery h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .featured-tours {
        grid-template-columns: 1fr;
        gap: 30px;
        visibility: visible !important;
    }

    .tour-card {
        min-height: 500px;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .tour-content {
        padding: 20px;
    }

    .tour-card h3 {
        font-size: 1.8rem;
    }

    .carousel-slide img {
        height: 400px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .caption {
        padding: 15px;
        font-size: 1rem;
    }

    .featured-badge,
    .special-badge {
        top: 10px;
        right: 10px;
    }
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.about-gyg-widget {
    margin: 20px 0;
    text-align: center;
}

.about-gyg-widget img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-gyg-widget img:hover {
    transform: scale(1.05);
}

.about-gyg-widget p {
    font-size: 14px;
    margin-top: 8px;
    color: #555;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
}

.tour-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item span {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Dark mode adjustments */
[data-theme="dark"] .about {
    background: var(--light-bg);
}

[data-theme="dark"] .about-content {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.8), rgba(44, 44, 44, 0.95));
}

[data-theme="dark"] .feature-item {
    background: rgba(44, 44, 44, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about {
        padding: 60px 20px;
    }

    .about h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .about-content {
        padding: 30px 20px;
    }

    .about-gyg-widget {
        margin: 15px 0;
    }

    .about-gyg-widget img {
        width: 140px;
    }

    .about-gyg-widget p {
        font-size: 12px;
        margin-top: 6px;
    }

    .main-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .tour-features {
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .feature-item span {
        font-size: 1rem;
    }
}



/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.booking-cta {
    text-align: center;
    margin-bottom: 50px;
}

.booking-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.booking-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.book-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-button.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.book-button.email {
    background-color: var(--primary-color);
    color: white;
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links a:hover i {
    transform: scale(1.1);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Quick Contact Buttons */
.quick-contact {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
}

.quick-contact h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.quick-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    width: 180px;
}

.quick-contact-btn i {
    font-size: 1.1rem;
}

.quick-contact-btn.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.quick-contact-btn.whatsapp {
    background: #25D366;
}

.quick-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .quick-contact {
        margin-top: 20px;
        padding: 10px;
    }

    .quick-contact-buttons {
        gap: 10px;
    }

    .quick-contact-btn {
        width: 160px;
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .quick-contact-btn i {
        font-size: 1rem;
    }
}

/* Form Message Styles */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.4s ease-out;
}

.form-message.success {
    background-color: rgba(75, 181, 67, 0.1);
    border: 1px solid rgba(75, 181, 67, 0.2);
    color: #4BB543;
}

.form-message.error {
    background-color: rgba(255, 76, 76, 0.1);
    border: 1px solid rgba(255, 76, 76, 0.2);
    color: #FF4C4C;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .quick-contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .quick-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .contact-form {
    background: var(--card-bg);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--beige);
    border-color: #3A3A3A;
    color: var(--text-color);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Submit Button Styles */
.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Map Section */
.map {
    height: 400px;
    background-color: var(--light-bg);
}

#busan-map {
    height: 100%;
    width: 100%;
}

/* Comments Section */
.comments-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.comments-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.comments-section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comment-form-container {
    max-width: 600px;
    margin: 0 auto 60px auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
}

.comments-container h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.loading-comments {
    text-align: center;
    color: #666;
    padding: 40px;
    font-size: 1.1rem;
}

.no-comments {
    text-align: center;
    color: #666;
    padding: 40px;
    font-style: italic;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #c62828;
}

.success-message {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #2e7d32;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .comments-section {
        padding: 60px 0;
    }
    
    .comments-section h2 {
        font-size: 2rem;
    }
    
    .comment-form-container {
        padding: 30px 20px;
        margin: 0 20px 40px 20px;
    }
    
    .comments-container {
        margin: 0 20px;
    }
    
    .comment-item {
        padding: 20px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Dark mode */
[data-theme="dark"] .comments-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

[data-theme="dark"] .comment-form-container,
[data-theme="dark"] .comment-item {
    background: #34495e;
    color: white;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #2c3e50;
    border-color: #4a5568;
    color: white;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    background: #2c3e50;
    border-color: var(--primary-color);
}

[data-theme="dark"] .comment-name {
    color: var(--accent-color);
}

[data-theme="dark"] .comment-date {
    color: #a0a0a0;
}

[data-theme="dark"] .comment-text {
    color: #e0e0e0;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--primary-color);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-social {
    margin: 20px 0;
}

.footer-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 15px;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

[data-theme="dark"] .theme-toggle i.fa-moon {
    transform: rotate(360deg);
}

/* Dark Mode Specific Styles */
[data-theme="dark"] body {
    background: var(--gradient-bg);
    color: var(--text-color);
}

[data-theme="dark"] .tour-card,
[data-theme="dark"] .experience-item,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .info-card {
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .tour-highlights span,
[data-theme="dark"] .tour-includes,
[data-theme="dark"] .experience-content p,
[data-theme="dark"] .experience-highlights li,
[data-theme="dark"] .info-card p {
    color: #999;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
    background: var(--beige);
    border-color: #3A3A3A;
    color: var(--text-color);
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form select:focus,
[data-theme="dark"] .contact-form textarea:focus {
    border-color: var(--primary-color);
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

[data-theme="dark"] .footer {
    background: var(--footer-bg);
}

[data-theme="dark"] .social-icon {
    background: rgba(44, 44, 44, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .language-switcher select {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Smooth Transition for Theme Switch */
body,
.tour-card,
.experience-item,
.testimonial-card,
.contact-form,
.faq-item,
.info-card,
.footer,
.social-icon,
.language-switcher select,
input,
select,
textarea {
    transition: all 0.3s ease-in-out;
}

/* Special Events Section */
.special-events {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--beige) 100%);
    position: relative;
    overflow: hidden;
}

.special-events h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.event-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-icon {
    transform: scale(1.1) rotate(5deg);
}

.event-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.event-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.events-info {
    margin-top: 60px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .event-card {
    background: var(--card-bg);
}

[data-theme="dark"] .events-info {
    background: var(--card-bg);
}

[data-theme="dark"] .info-card {
    background: var(--light-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .special-events h2 {
        font-size: 2.2rem;
    }

    .section-intro {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .events-container {
        gap: 30px;
        padding: 10px;
    }

    .event-card {
        padding: 30px 20px;
    }

    .event-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .event-card h3 {
        font-size: 1.3rem;
    }

    .event-card p {
        font-size: 1rem;
    }

    .events-info {
        margin-top: 40px;
        padding: 30px 15px;
    }
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.4s ease-out;
}

.form-message.success {
    background-color: rgba(75, 181, 67, 0.1);
    border: 1px solid rgba(75, 181, 67, 0.2);
    color: #4BB543;
}

.form-message.error {
    background-color: rgba(255, 76, 76, 0.1);
    border: 1px solid rgba(255, 76, 76, 0.2);
    color: #FF4C4C;
}

.form-message i {
    font-size: 1.2rem;
}

/* Submit Button Loading State */
.submit-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-loader i {
    font-size: 1.1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Dark mode adjustments */
[data-theme="dark"] .form-message.success {
    background-color: rgba(75, 181, 67, 0.05);
    border-color: rgba(75, 181, 67, 0.1);
}

[data-theme="dark"] .form-message.error {
    background-color: rgba(255, 76, 76, 0.05);
    border-color: rgba(255, 76, 76, 0.1);
}

/* FAQ Section */
.faq {
    background-color: var(--light-bg);
    padding: 4rem 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background-color: var(--accent-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Dark mode styles */
[data-theme="dark"] .faq-item {
    background: var(--card-bg);
}

[data-theme="dark"] .faq-item.active .faq-question {
    background-color: var(--accent-color);
}

/* Plan/Book Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 0 20px;
}

.plan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.plan-button i {
    font-size: 1.2rem;
}

.plan-button.instagram {
    background: linear-gradient(to right, #833AB4 0%, #E1306C 100%);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.2);
}

.plan-button.email {
    background: #4A90E2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.plan-button:hover {
    transform: translateY(-2px);
}

.plan-button.instagram:hover {
    background: linear-gradient(to right, #9B3AB4 0%, #E94771 100%);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.3);
}

.plan-button.email:hover {
    background: #357ABD;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

/* Mobile Adjustments for Plan Buttons */
@media (max-width: 768px) {
    .action-buttons {
        padding: 0 15px;
        gap: 12px;
        max-width: 320px;
        margin: 15px auto;
    }

    .plan-button,
    .quick-contact-btn {
        padding: 14px;
        font-size: 1rem;
        border-radius: 50px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .plan-button.instagram,
    .quick-contact-btn.instagram {
        background: linear-gradient(45deg, #833AB4, #C13584, #E1306C);
    }

    .plan-button.email {
        background: linear-gradient(45deg, #4A90E2, #357ABD);
    }

    .plan-button i,
    .quick-contact-btn i {
        font-size: 1.2rem;
    }

    .booking-cta {
        margin-bottom: 30px;
    }

    .quick-contact {
        margin-top: 20px;
    }

    .quick-contact-buttons {
        max-width: 320px;
    }
}

@media (max-width: 380px) {
    .action-buttons,
    .quick-contact-buttons {
        max-width: 280px;
    }

    .plan-button,
    .quick-contact-btn {
        padding: 12px;
        font-size: 0.95rem;
        height: 48px;
    }

    .plan-button i,
    .quick-contact-btn i {
        font-size: 1.1rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .plan-button.email {
    background: #65C7D0;
}

[data-theme="dark"] .plan-button.email:hover {
    background: #4AB1BA;
}

/* Custom Tour Builder Section */
.custom-tour {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--beige) 100%);
    position: relative;
    overflow: hidden;
}

.custom-tour h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.custom-tour .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.custom-tour-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 20px;
}

.tour-builder {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.builder-step {
    margin-bottom: 40px;
}

.builder-step h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.builder-step h3::before {
    content: '';
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Location Options */
.location-options,
.lunch-options,
.extra-services,
.evening-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.location-option,
.lunch-option,
.service-option,
.evening-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-option input[type="checkbox"],
.lunch-option input[type="radio"],
.service-option input[type="checkbox"],
.evening-option input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.option-content i,
.option-content span {
    position: relative;
    z-index: 1;
}

.location-option input[type="checkbox"]:checked + .option-content,
.lunch-option input[type="radio"]:checked + .option-content,
.service-option input[type="checkbox"]:checked + .option-content,
.evening-option input[type="radio"]:checked + .option-content {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.location-option input[type="checkbox"]:checked + .option-content::before,
.lunch-option input[type="radio"]:checked + .option-content::before,
.service-option input[type="checkbox"]:checked + .option-content::before,
.evening-option input[type="radio"]:checked + .option-content::before {
    opacity: 0.1;
}

.option-content i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    min-width: 24px;
}

.location-option input[type="checkbox"]:checked + .option-content i,
.lunch-option input[type="radio"]:checked + .option-content i,
.service-option input[type="checkbox"]:checked + .option-content i,
.evening-option input[type="radio"]:checked + .option-content i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.option-content span {
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    flex: 1;
}

.option-content .price {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.location-option input[type="checkbox"]:checked + .option-content span,
.lunch-option input[type="radio"]:checked + .option-content span,
.service-option input[type="checkbox"]:checked + .option-content span,
.evening-option input[type="radio"]:checked + .option-content span {
    color: var(--text-color);
    font-weight: 600;
}

/* Premium location styling */
.location-option.premium .option-content {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, var(--light-bg), rgba(212, 175, 55, 0.1));
}

.location-option.premium .option-content::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.location-limit {
    margin-top: 15px;
    padding: 15px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.location-limit p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.evening-note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.evening-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Cost Calculator */
.cost-calculator {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cost-breakdown {
    margin-bottom: 20px;
}

.cost-breakdown h4,
.total-cost h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#cost-breakdown-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

#cost-breakdown-content ul {
    margin: 0;
    padding-left: 20px;
}

#cost-breakdown-content li {
    margin-bottom: 5px;
    color: white;
}

.total-cost {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#total-cost {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.usd-note {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

#hero + .usd-banner {
    text-align: center;
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0.8;
    margin: -20px auto 60px;
    max-width: 600px;
}

.footer .usd-banner {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Tour Summary */
.tour-summary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.tour-summary h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

#tour-summary-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.summary-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.summary-button,
.contact-button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.summary-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.contact-button {
    background: var(--secondary-color);
    color: #1A1A1A;
}

.contact-button:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.custom-tour-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-tour-info .info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-tour-info .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.custom-tour-info .info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.custom-tour-info .info-card:hover i {
    transform: scale(1.1);
}

.custom-tour-info .info-card h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.custom-tour-info .info-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Dark Mode Adjustments for Custom Tour */
[data-theme="dark"] .custom-tour {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--beige) 100%);
}

[data-theme="dark"] .tour-builder {
    background: var(--card-bg);
}

[data-theme="dark"] .option-content {
    background: var(--light-bg);
}

[data-theme="dark"] .custom-tour-info .info-card {
    background: var(--card-bg);
}

/* Responsive Design for Custom Tour */
@media (max-width: 1024px) {
    .custom-tour-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .custom-tour-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .custom-tour-info .info-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .custom-tour {
        padding: 60px 20px;
    }
    
    .custom-tour h2 {
        font-size: 2.2rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .tour-builder {
        padding: 25px;
    }
    
    .location-options,
    .lunch-options,
    .extra-services,
    .evening-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .summary-actions {
        flex-direction: column;
    }
    
    .summary-button,
    .contact-button {
        width: 100%;
        text-align: center;
    }
    
    .custom-tour-info {
        flex-direction: column;
    }
    
    .custom-tour-info .info-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .custom-tour {
        padding: 60px 15px !important;
        min-height: 90vh !important;
        background: linear-gradient(135deg, #4A90E2 0%, #65C7D0 100%) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .custom-tour h2 {
        font-size: 2.5rem !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .custom-tour .section-intro {
        color: white !important;
        font-size: 1.3rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .custom-tour-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .tour-builder {
        padding: 25px !important;
        background: white !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .builder-step {
        margin-bottom: 30px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .option-content {
        padding: 15px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .option-content i {
        font-size: 1.3rem !important;
    }
    
    .tour-summary {
        padding: 20px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    #total-cost {
        font-size: 1.5rem;
    }
}

/* Ensure anchor scroll on mobile doesn't hide section beneath fixed header */
#custom-tour {
    scroll-margin-top: 100px;
}

/* Provide minimum height so section is visibly present on small screens */
@media (max-width: 768px) {
    .custom-tour {
        min-height: 80vh;
        padding: 80px 15px;
    }
    
    .custom-tour h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .custom-tour .section-intro {
        font-size: 1.3rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    /* Mobile button improvements */
    .cta-button,
    .details-button,
    .story-button,
    .summary-button,
    .contact-button {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
        touch-action: manipulation; /* Prevent double-tap zoom */
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Better spacing */
    .section {
        padding: 60px 15px !important;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    /* Image optimization */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Better form inputs on mobile */
    input[type="text"],
    input[type="email"],
    input[type="date"],
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        min-height: 44px;
    }
}

/* Success Animation */
.success-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease-out;
}

.success-animation {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.success-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.plane {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: flyPlane 3s ease-in-out infinite;
    color: var(--secondary-color);
}

.plane i {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.message p {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

@keyframes flyPlane {
    0% {
        transform: translateX(-100px) translateY(0) rotate(-15deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50% {
        transform: translateX(0) translateY(-20px) rotate(0deg);
    }
    80% {
        transform: translateX(50px) translateY(-10px) rotate(15deg);
    }
    100% {
        transform: translateX(100px) translateY(0) rotate(30deg);
        opacity: 0;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Dark mode adjustments for animation */
[data-theme="dark"] .success-animation-container {
    background: rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .success-animation {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
} 

/* Stories (Recent Tours) */
.stories {
    padding: 80px 20px;
    background: var(--light-bg);
}

.stories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stories .section-intro {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
}

.stories-actions {
    text-align: center;
    margin-top: 40px;
}

.view-all-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
    color: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.story-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.story-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.story-body { padding: 16px; }

.story-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: .9rem;
}

.story-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 12px;
    line-height: 1.35;
}

.story-actions { display: flex; justify-content: flex-end; }

.story-button {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

/* Lightbox / Modal */
.story-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.story-modal.open { display: flex; }

.story-modal-content {
    background: #fff;
    width: min(920px, 92vw);
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.story-modal-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.story-modal-gallery {
    padding: 10px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.story-modal-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.story-modal-caption { padding: 12px 16px 18px; color: var(--text-color); }

.story-modal-close { border: none; background: transparent; font-size: 1.4rem; cursor: pointer; }

@media (max-width: 900px) { .stories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stories-grid { grid-template-columns: 1fr; } .story-thumb { height: 200px; } }

/* Stories Page Specific */
.stories-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    margin-top: 80px;
}

.stories-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stories-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Admin Section */
.admin-section {
    background: var(--light-bg);
    padding: 60px 20px;
    border-top: 3px solid var(--primary-color);
}

.admin-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.admin-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.admin-form small {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.cancel-button {
    background: #666;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Admin Toggle Button */
.admin-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.admin-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stories-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stories-hero-content p {
        font-size: 1.1rem;
    }
    
    .admin-container {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .admin-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE LAYOUT FIXES
   ============================================ */

/* Tablet and below */
@media (max-width: 768px) {
    /* 1. SPACING & PADDING - Consistent vertical spacing */
    .section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
        margin-bottom: 32px !important;
    }

    /* Specific section padding adjustments */
    .tours,
    .about,
    .contact,
    .stories,
    .custom-tour {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    /* Container padding */
    .container,
    .section-container,
    .tour-builder,
    .tour-summary,
    .admin-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Headings spacing */
    h1, h2, h3, h4 {
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }

    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }

    /* 2. TEXT OVERFLOW - Prevent breaking */
    h1, h2, h3, h4, h5, h6,
    p, span, a, li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
    }

    /* Long titles wrap properly */
    .tour-card h3,
    .story-title,
    .section-intro {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }

    /* 3. BUTTONS - Full width on mobile */
    .cta-button,
    .details-button,
    .book-button,
    .event-button,
    .story-button,
    .summary-button,
    .contact-button,
    .submit-button,
    .cancel-button,
    .view-all-button,
    .carousel-button {
        width: 100% !important;
        min-height: 48px !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        margin-bottom: 12px !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
    }

    /* Button groups stack vertically */
    .summary-actions,
    .form-actions,
    .story-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .summary-actions button,
    .form-actions button {
        width: 100% !important;
        margin: 0 !important;
    }

    /* 4. IMAGES - Fully responsive */
    img,
    video {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .tour-card img,
    .story-thumb,
    .carousel-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* 5. GRID & FLEX LAYOUTS - Single column on mobile */
    .featured-tours,
    .stories-grid,
    .location-options,
    .lunch-options,
    .extra-services,
    .evening-options,
    .tour-highlights {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Tour cards stack */
    .tour-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    /* Cost calculator stacks on mobile */
    .cost-calculator {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Custom tour container stacks */
    .custom-tour-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 16px !important;
    }

    /* Story modal gallery */
    .story-modal-gallery {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* 6. NAVIGATION & FOOTER - Improved spacing */
    .main-nav {
        padding: 12px 16px !important;
        height: auto !important;
        min-height: 60px !important;
    }

    .nav-logo {
        font-size: 1.3rem !important;
    }

    .nav-links {
        padding: 12px 0 !important;
    }

    .nav-links a {
        padding: 16px 20px !important;
        font-size: 1rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    /* Footer improvements */
    footer,
    .footer-content {
        padding: 32px 16px !important;
    }

    .footer-content {
        flex-direction: column !important;
        gap: 24px !important;
        text-align: center !important;
    }

    .footer-nav {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .footer-nav a {
        padding: 8px 0 !important;
        font-size: 0.95rem !important;
    }

    .footer-social {
        justify-content: center !important;
        gap: 16px !important;
    }

    /* 7. CUSTOM TOUR BUILDER - Mobile optimized */
    .custom-tour {
        padding: 48px 0 !important;
    }

    .tour-builder {
        padding: 24px 16px !important;
        border-radius: 15px !important;
    }

    .builder-step {
        margin-bottom: 32px !important;
    }

    .builder-step h3 {
        font-size: 1.2rem !important;
        margin-bottom: 20px !important;
        padding-left: 16px !important;
    }

    .option-content {
        padding: 16px !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    .option-content span {
        flex: 1 1 100% !important;
        word-wrap: break-word !important;
    }

    .option-content .price {
        flex: 0 0 auto !important;
        font-size: 1rem !important;
    }

    .tour-summary {
        padding: 20px 16px !important;
        margin-top: 24px !important;
    }

    #tour-summary-content {
        max-height: 250px !important;
        padding: 16px !important;
        font-size: 0.85rem !important;
    }

    #cost-breakdown-content {
        font-size: 0.85rem !important;
    }

    .total-cost {
        padding: 20px 16px !important;
    }

    #total-cost {
        font-size: 1.75rem !important;
    }

    .usd-note {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
    }

    /* Form inputs - Prevent zoom on iOS */
    input[type="text"],
    input[type="email"],
    input[type="date"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
        padding: 12px 16px !important;
        min-height: 48px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }

    /* Admin form improvements */
    .admin-form .form-group {
        margin-bottom: 20px !important;
    }

    /* Contact section */
    .contact-form,
    .contact-info {
        padding: 20px 16px !important;
    }

    /* About section */
    .about {
        padding: 48px 16px !important;
    }

    .about h2 {
        font-size: 1.75rem !important;
        margin-bottom: 24px !important;
    }

    .about-gyg-widget {
        margin: 24px 0 !important;
    }

    /* Stories section */
    .stories h2 {
        font-size: 1.75rem !important;
        margin-bottom: 24px !important;
    }

    .story-card {
        margin-bottom: 24px !important;
    }

    .story-body {
        padding: 16px !important;
    }

    /* Hero section adjustments */
    .hero-content {
        padding: 20px 16px !important;
    }

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

    .hero-content p {
        font-size: 1.1rem !important;
        padding: 0 10px !important;
    }

    /* Social header positioning */
    .social-header {
        top: 70px !important;
        right: 12px !important;
        gap: 10px !important;
    }

    .social-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }

    /* Carousel improvements */
    .carousel-container {
        padding: 0 !important;
    }

    .carousel-slide {
        padding: 0 !important;
    }

    /* Price note visibility */
    .price-note {
        font-size: 0.9rem !important;
        margin-top: 12px !important;
        text-align: center !important;
    }

    /* USD banner */
    .usd-banner {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
        margin: 24px 16px !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Even tighter spacing on small screens */
    .section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-bottom: 24px !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    /* Smaller font sizes */
    .section-intro,
    .tour-card p,
    .story-title {
        font-size: 0.95rem !important;
    }

    /* Buttons */
    .cta-button,
    .details-button,
    .book-button,
    .event-button,
    .story-button,
    .summary-button,
    .contact-button {
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }

    /* Tour cards */
    .tour-card {
        padding: 16px !important;
    }

    .tour-card h3 {
        font-size: 1.3rem !important;
    }

    /* Custom tour builder */
    .tour-builder {
        padding: 20px 12px !important;
    }

    .builder-step h3 {
        font-size: 1.1rem !important;
    }

    .option-content {
        padding: 12px !important;
        gap: 10px !important;
    }

    #total-cost {
        font-size: 1.5rem !important;
    }

    /* Footer */
    footer {
        padding: 24px 12px !important;
    }

    /* Navigation */
    .main-nav {
        padding: 10px 12px !important;
    }

    .nav-logo {
        font-size: 1.2rem !important;
    }
}

/* Prevent horizontal scroll on all devices */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative !important;
}

* {
    box-sizing: border-box !important;
}

/* Ensure all containers respect viewport width */
.container,
.section-container,
.tour-builder,
.tour-summary,
.admin-container,
.contact-form {
    max-width: 100% !important;
    width: 100% !important;
}