/* CSS Variables - Matching Lovable exactly */
:root {
    --background: 0 0% 100%;
    --foreground: 24 10% 15%;
    --card: 0 0% 100%;
    --card-foreground: 24 10% 15%;
    --primary: 45 95% 58%;
    --primary-foreground: 0 0% 100%;
    --secondary: 24 8% 95%;
    --muted: 24 5% 96%;
    --muted-foreground: 24 5% 45%;
    --border: 24 8% 88%;
    --input: 24 8% 88%;
    --radius: 0.75rem;
    
    /* Colors */
    --color-primary: hsl(var(--primary));
    --color-foreground: hsl(var(--foreground));
    --color-background: hsl(var(--background));
    --color-muted-foreground: hsl(var(--muted-foreground));
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(45 95% 58%) 0%, hsl(38 92% 50%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(24 5% 98%) 100%);
    
    /* Yellow from excavator */
    --construction-yellow: hsl(45 95% 58%);
    --construction-orange: hsl(32 95% 50%);
    
    /* Shadows */
    --shadow-soft: 0 2px 8px -2px hsl(24 10% 15% / 0.08);
    --shadow-medium: 0 4px 16px -4px hsl(24 10% 15% / 0.12);
    --shadow-bold: 0 8px 24px -6px hsl(24 10% 15% / 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000000;
    box-shadow: var(--shadow-soft);
    z-index: 50;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .header-container {
        padding: 0 2rem;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-desktop button {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-desktop button:hover {
    color: var(--construction-yellow);
}

.nav-contact-btn {
    background: var(--construction-yellow) !important;
    color: #000000 !important;
    padding: 0.625rem 1.25rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    transition: box-shadow 0.3s;
}

.nav-contact-btn:hover {
    box-shadow: var(--shadow-bold);
    color: #000000 !important;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #ffffff;
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid hsl(var(--border));
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile button {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    text-align: left;
    padding: 0.75rem 0;
}

.nav-mobile button:hover {
    color: var(--construction-yellow);
}

.nav-mobile .nav-contact-btn {
    background: var(--construction-yellow) !important;
    color: #000000 !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsl(var(--background) / 0.95), hsl(var(--background) / 0.8), hsl(var(--background) / 0.4));
}

.hero-container-wrapper {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 42rem;
    animation: fade-in 0.6s ease-out;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.hero-tags {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--construction-yellow);
    color: #000000;
    box-shadow: var(--shadow-medium);
    height: 3.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: var(--shadow-bold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid hsl(var(--foreground));
    color: hsl(var(--foreground));
    height: 3.5rem;
    font-weight: 600;
}

.btn-outline:hover {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fade-in 0.6s ease-out;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--gradient-subtle);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-bold);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--construction-yellow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #000000;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.service-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.625;
}

/* About Section */
.about {
    background: hsl(var(--background));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-text p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.checklist {
    margin-top: 2rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--construction-yellow);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.check-item span:last-child {
    color: hsl(var(--foreground));
}

.about-stats {
    position: relative;
}

.stats-box {
    background: var(--construction-yellow);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-bold);
}

.stats-inner {
    padding: 0;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #ffffff;
    font-weight: 500;
}

.stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 1.5rem 0;
}

/* Projects Section */
.projects {
    background: hsl(var(--background));
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.project-card {
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-bold);
}

.project-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: hsl(45 95% 58% / 0.15);
    color: hsl(45 95% 58%);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.project-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.625;
}

/* Contact Section */
.contact {
    background: var(--gradient-subtle);
}

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

.contact-info-card {
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-0.25rem);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--construction-yellow);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #000000;
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.contact-form-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: var(--shadow-bold);
    max-width: 42rem;
    margin: 0 auto;
}

.contact-form-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--input));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

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

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--construction-yellow);
    color: #000000;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    height: 3.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s;
}

.submit-btn:hover {
    box-shadow: var(--shadow-bold);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-left {
    text-align: center;
}

.footer-left h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--background));
}

.footer-left p {
    font-size: 0.875rem;
    color: hsl(var(--background) / 0.8);
}

.footer-right p {
    font-size: 0.875rem;
    color: hsl(var(--background) / 0.8);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-mobile {
        display: none !important;
    }
    
    .hero h1 {
        font-size: 3.75rem;
    }
    
    .about-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    .footer-left {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-tags {
        font-size: 0.875rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .project-card {
        padding: 1.25rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .stats-box {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-form-card h3 {
        font-size: 1.5rem;
    }
}
