/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Sandy Gold and Emerald */
    --primary-gold: #D4AF37;
    --secondary-gold: #F4E4BC;
    --primary-emerald: #50C878;
    --secondary-emerald: #A8E6CF;
    --dark-emerald: #2C5530;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #495057;
    --text-dark: #212529;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-emerald));
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-emerald);
    border: 2px solid var(--primary-emerald);
}

.btn-secondary:hover {
    background: var(--primary-emerald);
    color: var(--white);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.125rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-emerald);
    color: var(--white);
    padding: var(--spacing-sm);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-md);
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.cookie-buttons button {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

#accept-cookies {
    background: var(--primary-gold);
    color: var(--white);
}

#decline-cookies {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-emerald);
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--primary-emerald);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-emerald);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(212, 175, 55, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-emerald));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    color: var(--primary-emerald);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.service-title {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Routes Section */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.route-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.route-image {
    height: 200px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.route-card:hover .route-image img {
    transform: scale(1.05);
}

.route-content {
    padding: var(--spacing-md);
}

.route-title {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-xs);
}

.route-description {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.route-details {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.9rem;
}

.route-duration,
.route-frequency {
    color: var(--primary-emerald);
    font-weight: var(--font-weight-medium);
}

/* Fleet Section */
.fleet-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.fleet-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.fleet-features h3 {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--dark-gray);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-emerald);
    font-weight: var(--font-weight-bold);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.about-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-emerald);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

/* Booking Section */
.booking {
    background: var(--secondary-emerald);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
    color: var(--dark-emerald);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-emerald);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-item h3 {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.contact-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

/* Safety Section */
.safety {
    background: var(--secondary-gold);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.safety-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--medium-gray);
}

.safety-card h3 {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-sm);
}

.safety-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-emerald);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-gold);
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navigation {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .fleet-showcase,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .services-grid,
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.route-card,
.safety-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-emerald);
    outline-offset: 2px;
}

/* Form Error and Success Styles */
.form-errors {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.error-message h4 {
    color: #c33;
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.error-message ul {
    color: #c33;
    margin-left: var(--spacing-sm);
}

.error-message li {
    margin-bottom: var(--spacing-xs);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c33;
    background-color: #fef7f7;
}

.success-message {
    background: linear-gradient(135deg, var(--secondary-emerald), var(--secondary-gold));
    border: 1px solid var(--primary-emerald);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.success-content h3 {
    color: var(--dark-emerald);
    margin-bottom: var(--spacing-sm);
}

.success-content p {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

/* Header scroll effect */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Image loading states */
img.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img:not(.loaded) {
    opacity: 0;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobile menu active state */
@media (max-width: 768px) {
    .navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-medium);
        padding: var(--spacing-sm);
        z-index: 1000;
    }
    
    .navigation.active ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .hero,
    .booking {
        display: none;
    }
    
    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
