@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    /* Color System (Light Mode Base - Slate/Zinc Neutral) */
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --color-ink: #0f172a;
    --color-muted: #475569;
    --color-border: #e2e8f0;
    
    /* Accent Color (Calibrated Sapphire Blue) */
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-soft: rgba(37, 99, 235, 0.08);
    
    /* Error states */
    --color-error: #ef4444;
    --color-success: #22c55e;
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    
    /* Animation Easing */
    --transition-standard: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Color System (Dark Mode Override) */
        --bg-canvas: #0f172a;
        --bg-surface: #1e293b;
        --color-ink: #f8fafc;
        --color-muted: #94a3b8;
        --color-border: #334155;
        
        --color-accent: #3b82f6;
        --color-accent-hover: #60a5fa;
        --color-accent-soft: rgba(59, 130, 246, 0.15);
    }
}

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

body {
    background-color: var(--bg-canvas);
    color: var(--color-muted);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--color-ink);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    max-width: 65ch;
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-standard);
}

a:hover {
    color: var(--color-accent-hover);
}

/* Structural Containment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Navigation Header */
.main-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-standard);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-muted);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Burger Menu Toggle (Pure CSS) */
.menu-toggle-input {
    display: none;
}

.menu-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-ink);
    border-radius: 2px;
    transition: var(--transition-standard);
}

/* Hero Section (Asymmetric Grid) */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-ink);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    filter: grayscale(10%) contrast(105%);
}

/* Styled Tactile Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-standard);
    font-family: var(--font-sans);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-ink);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--bg-canvas);
    border-color: var(--color-ink);
}

/* Feature Section (2-Column Zig-Zag Asymmetry) */
.section-header {
    margin-bottom: 3.5rem;
    max-width: 700px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.zig-zag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.zig-zag-row:nth-child(even) {
    direction: rtl;
}

.zig-zag-row:nth-child(even) .zig-zag-content {
    direction: ltr;
}

.zig-zag-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.zig-zag-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.service-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Grid Layout (3-Column offset, no generic equal boxes) */
.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-standard);
}

.card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--color-ink);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background-color: var(--bg-surface);
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-standard);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

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

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contact Info Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-info-list li {
    margin-bottom: 2rem;
}

.contact-info-list strong {
    display: block;
    color: var(--color-ink);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-info-list span {
    font-family: monospace;
    font-size: 1rem;
}

/* Footer */
.main-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem 0;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Scaling & Mobile Collapse */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    
    .zig-zag-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }
    
    .zig-zag-row:nth-child(even) {
        direction: ltr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile Burger Menu logic */
    .menu-toggle-btn {
        display: flex;
    }
    
    .desktop-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-standard);
        z-index: 95;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* Checked state shows the nav menu overlay */
    .menu-toggle-input:checked ~ .desktop-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Rotate lines of burger menu when checked */
    .menu-toggle-input:checked ~ .menu-toggle-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle-input:checked ~ .menu-toggle-btn span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle-input:checked ~ .menu-toggle-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-standard);
}

.whatsapp-float svg {
    display: block;
    transition: var(--transition-standard);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-ink);
    color: var(--bg-canvas);
    border-top: 1px solid var(--color-border);
    padding: 1.25rem 0;
    z-index: 998; /* Just below WhatsApp float */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-content p {
    margin: 0;
    max-width: 80ch;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem 0;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}


