/* Custom Properties & Color Schemes */
:root {
    /* Base Colors */
    --color-bg: #FFFFFF;
    --color-bg-light: #F3F4F6;
    --color-text: #1A1A1A;
    --color-text-muted: #6B7280;
    --color-dark: #2D2D2D;
    
    /* VARIANT A: Electric Blue (Active) */
    --color-accent: #0066CC;
    --color-accent-hover: #0052A3;
    --color-accent-light: rgba(0, 102, 204, 0.1);
    
    /* VARIANT B: Racing Orange (Uncomment to use instead of Blue) */
    /*
    --color-accent: #E65C00;
    --color-accent-hover: #CC5200;
    --color-accent-light: rgba(230, 92, 0, 0.1);
    */

    /* Metrics */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.25s ease-in-out;
}

/* Local Fonts */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
    font-style: normal;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Accessibility: Focus outlines & Skip Link */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: #fff;
    padding: 8px;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}
p {
    margin-bottom: 1rem;
}
.label {
    display: block;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: background-color var(--transition), transform var(--transition), border-color var(--transition);
    text-align: center;
}
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
}
.text-link {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: inherit;
    font-size: inherit;
}
.text-link:hover {
    color: var(--color-accent-hover);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    transition: box-shadow 0.3s;
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.nav-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-text);
}
.nav-logo span {
    color: var(--color-accent);
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-cta {
    background-color: var(--color-accent);
    color: #fff;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color var(--transition);
}
.nav-cta:hover {
    background-color: var(--color-accent-hover);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-only { display: none; }

/* Sections Common */
section {
    padding: 5rem 1.5rem;
}
.bg-light {
    background-color: var(--color-bg-light);
}
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}
.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-dark) 100%);
    position: relative;
    padding-top: 80px;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}
.hero-text {
    max-width: 700px;
    color: #fff;
}
.hero-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-text h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}
.hero-text h1 span {
    color: var(--color-accent);
}
.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Services Grid */
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon svg {
    width: 28px;
    height: 28px;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Booking/Contact Form */
.booking-container {
    max-width: 700px;
    margin: 0 auto;
}
.booking-form-wrapper {
    background-color: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.form-group input:not([type="checkbox"]), 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1.5px solid #D1D5DB;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
}
.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}
.hidden-honeypot {
    display: none !important;
}
.btn-submit {
    width: 100%;
    font-size: 1.1rem;
}
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    display: none;
    text-align: center;
    font-weight: 500;
}
.form-status.success {
    display: block;
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #84E1BC;
}
.form-status.error {
    display: block;
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #F8B4B4;
}

/* Contact Grid & Map */
.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-card {
    background-color: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}
.contact-card p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.route-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: underline;
}
.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-color: #E5E7EB;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.map-placeholder {
    width: 100%;
    height: 100%;
    background: url('../img/map-placeholder.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.map-overlay {
    background-color: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-md);
}
.map-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 4rem 1.5rem 1.5rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}
.footer-brand .logo-name {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.footer-brand .logo-name span {
    color: var(--color-accent);
}
.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}
.footer-links h4 {
    color: #fff;
    margin-bottom: 1rem;
}
.footer-links ul li {
    margin-bottom: 0.5rem;
}
.footer-links button {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-links button:hover {
    color: var(--color-accent);
}
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 1rem;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--color-bg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal-close:hover, .modal-close:focus {
    background: #E5E7EB;
    color: var(--color-text);
}
.modal-content h2 {
    margin-bottom: 1.5rem;
}
.modal-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}
.modal-content p, .modal-content li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Media Queries */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .hidden-mobile { display: none; }
    .mobile-only { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-cta-mobile {
        display: block;
        text-align: center;
        background-color: var(--color-accent);
        color: #fff !important;
        padding: 0.75rem;
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
    }

    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }

    section { padding: 3.5rem 1rem; }
    
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    
    .modal-content { padding: 1.5rem; }
}

@media (max-width: 320px) {
    .hero-text h1 { font-size: 2rem; }
    .nav-logo { font-size: 1.1rem; }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}