/* ===================================
   Gorilla Vibe Adventure - Modern CSS
   Professional Tourism Website Styles
   =================================== */

/* CSS Variables & Design System */
:root {
    /* Primary Colors */
    --primary-color: #1a3d1f;
    --primary-light: #2c5530;
    --primary-dark: #0f2612;
    
    /* Secondary Colors */
    --secondary-color: #f4a261;
    --secondary-light: #f7b881;
    --secondary-dark: #e08e3e;
    
    /* Accent Colors */
    --accent-color: #e76f51;
    --success-color: #00a651;
    --warning-color: #ffd700;
    --info-color: #17a2b8;
    --danger-color: #dc3545;
    
    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-medium: #333333;
    --text-muted: #6c757d;
    --text-light: #8e8e93;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #fafbfc;
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--warning-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    --gradient-hero: linear-gradient(135deg, rgba(26, 61, 31, 0.8), rgba(44, 85, 48, 0.6));
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 2rem;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-mono: 'Monaco', 'Menlo', monospace;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 6rem;
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* ===================================
   Base Styles & Typography
   =================================== */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #fff;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

a {
    color: #fff;;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ===================================
   Utility Classes
   =================================== */

.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-secondary { background: var(--gradient-secondary); }
.bg-gradient-accent { background: var(--gradient-accent); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

/* ===================================
   Button Styles
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    border: none;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
}

.btn-icon:hover {
    background: var(--primary-color);
    color: white;
}

.btn-icon.active {
    background: var(--secondary-color);
    color: white;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/gorilla-vibe-adventure/assets/images/close-up-beautiful-gorilla-wild.jpg') center/cover no-repeat;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-btn {
    min-width: 200px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.traveler-photos {
    display: flex;
    align-items: center;
}

.traveler-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-left: -10px;
    object-fit: cover;
}

.traveler-photo:first-child {
    margin-left: 0;
}

.traveler-count {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-left: -10px;
}

.social-proof-text {
    margin-left: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.rating-stars {
    color: var(--warning-color);
    font-size: 1rem;
}

.rating-score {
    font-weight: 700;
    color: white;
}

.proof-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-2xl);
}

.hero-card .card-header {
    margin-bottom: 1.5rem;
}

.hero-card h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: var(--text-muted);
    margin: 0;
}

.quick-search-form .form-group {
    margin-bottom: 1rem;
}

.quick-search-form label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.hero-stats {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 3;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 2rem 3rem;
    margin: 0 auto;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-4xl);
}

.section-badge {
    display: inline-block;
    background: rgba(26, 61, 31, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(26, 61, 31, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================
   Tour Cards
   =================================== */

.tour-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.tour-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.tour-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent, rgba(0,0,0,0.3));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
}

.tour-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-discount {
    background: var(--danger-color);
    color: white;
}

.badge-duration {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.tour-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-content {
    padding: 1.5rem;
}

.tour-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tour-title {
    margin-bottom: 0.75rem;
}

.tour-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.tour-title a:hover {
    color: var(--primary-color);
}

.tour-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tour-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.detail-item i {
    color: var(--secondary-color);
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tour-rating .stars {
    color: var(--warning-color);
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-book {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===================================
   Features Section
   =================================== */

.features-section {
    background:#7baf97e0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials-section {
    background: var(--gradient-primary);
    color: white;
}

.testimonials-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonials-section .section-title,
.testimonials-section .section-description {
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 0.25rem 0;
    color: white;
    font-weight: 600;
}

.author-role {
    font-size: 0.875rem;
    opacity: 0.8;
    display: block;
}

.tour-type {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: var(--gradient-secondary);
    color: white;
}

.cta-content {
    margin-bottom: 2rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-features .feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.cta-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ===================================
   Impact Section
   =================================== */

.impact-section {
    background: var(--bg-lighter);
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.impact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 61, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.impact-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ===================================
   Form Styles
   =================================== */

.form-control,
.form-select {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 61, 31, 0.25);
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

/* ===================================
   Swiper Customization
   =================================== */

.swiper-pagination-bullet {
    background: var(--secondary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ===================================
   Mobile Responsive Design
   =================================== */

@media (max-width: 1199.98px) {
    .hero-stats {
        position: relative;
        bottom: auto;
        margin-top: 3rem;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --space-5xl: 4rem;
        --space-4xl: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-container {
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
}

@media (max-width: 767.98px) {
    :root {
        --space-5xl: 3rem;
        --space-4xl: 2rem;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-btn {
        min-width: auto;
        justify-content: center;
    }
    
    .hero-social-proof {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-proof-text {
        margin-left: 0;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .tour-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .cta-actions {
        margin-top: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .feature-card,
    .impact-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .tour-content {
        padding: 1rem;
    }
}

/* ===================================
   Accessibility & Preferences
   =================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --text-dark: #000;
        --bg-white: #fff;
        --border-color: #000;
    }
    
    .btn-outline-primary:hover,
    .btn-outline-light:hover {
        background: #000;
        color: #fff;
        border-color: #000;
    }
}

@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }
    
    .hero-section,
    .testimonials-section,
    .cta-section,
    .loading-screen,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    .tour-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .section-title {
        font-size: 18pt;
        font-weight: bold;
    }
    
    a {
        text-decoration: underline;
    }
}

/* ===================================
   Animation Keyframes
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===================================
   Focus Management
   =================================== */

.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-link:focus {
    top: 6px;
}

/* ===================================
   Loading States
   =================================== */

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.125rem;
}

/* ===================================
   Hover Effects for Interactive Elements
   =================================== */

.tour-card,
.feature-card,
.impact-card,
.testimonial-card {
    transition: var(--transition);
}

.btn,
.form-control,
.form-select {
    transition: var(--transition);
}

/* Ensure smooth transitions on all interactive elements */
a,
button,
input,
select,
textarea {
    transition: var(--transition);
}

/* ===================================
   End of Styles
   =================================== */