/* ============================================
   HARVEY CRAFTED 3.0 - PREMIUM DESIGN
   Inspired by Range Rover Luxury Aesthetic
   ============================================ */

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

:root {
    /* Premium Color Palette */
    --primary: #0071bc;
    --primary-dark: #005a94;
    --primary-light: #0088d9;
    --accent: #c9a961;
    --dark: #1a1a1a;
    --dark-soft: #2d2d2d;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #e5e7eb;
    --light: #f9fafb;
    --white: #ffffff;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 200ms var(--ease-in-out);
    --transition-base: 400ms var(--ease-in-out);
    --transition-slow: 800ms var(--ease-out);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
    
    /* Border Radius */
    --radius: 0;
    --radius-sm: 4px;
    --radius-md: 8px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-soft);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-soft);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition-base);
}

/* Hero Section - Cinematic */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 20s var(--ease-out);
}

.hero:hover .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 100px;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.3s forwards;
    color: var(--white);
}

.hero-title {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.5s forwards;
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-line {
    display: block;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.9s forwards;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1.1s forwards;
}

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

.hero-stat-number {
    font-size: 3rem;
    font-weight: 600;
    font-family: var(--font-display);
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* Section Styles */
section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--gray);
}

/* Philosophy Section */
.philosophy {
    background: var(--light);
    padding: var(--space-2xl) 0;
}

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

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

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

.value-number {
    font-size: 4rem;
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.value-item p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: var(--space-2xl) 0;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    height: 600px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    z-index: 2;
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-slow);
}

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

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.service-card:hover .service-link {
    opacity: 1;
}

/* Projects Section */
.projects {
    background: var(--light);
    padding: var(--space-2xl) 0;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: var(--space-lg);
}

.project-item {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius);
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.project-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.projects-cta {
    text-align: center;
}

/* Process Section */
.process {
    padding: var(--space-2xl) 0;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.process-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.process-number {
    font-size: 4rem;
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

.process-content {
    flex: 1;
    padding-top: 0.5rem;
}

.process-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.process-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    background: var(--light);
    padding: var(--space-2xl) 0;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1rem;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* CTA Section */
.cta {
    padding: var(--space-2xl) 0;
    background: var(--dark);
    color: var(--white);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Scroll Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Hero (for interior pages) */
.page-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--light);
    text-align: center;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.page-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Detail Pages */
.service-detail {
    padding: var(--space-2xl) 0;
}

.service-detail.alt {
    background: var(--light);
}

.service-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.service-detail-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-detail-text {
    padding: var(--space-lg) 0;
}

.service-number {
    font-size: 6rem;
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.service-detail-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--dark);
}

.service-intro {
    margin-bottom: var(--space-lg);
}

.service-intro p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--gray);
}

.service-benefits {
    margin-bottom: var(--space-lg);
}

.service-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray);
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.service-highlight {
    background: var(--light);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    margin-bottom: var(--space-lg);
    border-radius: var(--radius);
}

.service-highlight p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-soft);
    margin: 0;
    font-weight: 500;
}

.service-detail-image {
    position: relative;
    height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

/* Gallery Filters */
.gallery-filters {
    padding: var(--space-lg) 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-lighter);
}

.gallery-filters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Gallery Section */
.gallery-section {
    padding: var(--space-2xl) 0;
    background: var(--light);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-info {
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.gallery-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: var(--space-2xl) 0;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.form-intro {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-expectations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.expectation-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--dark-soft);
}

.expectation-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 113, 188, 0.1);
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.contact-info-wrapper {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-info {
    background: var(--light);
    padding: var(--space-xl);
    border-radius: var(--radius);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    color: var(--dark);
}

.info-block {
    margin-bottom: var(--space-lg);
}

.info-block h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color var(--transition-fast);
}

.info-item a:hover {
    color: var(--primary-dark);
}

.info-item p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0.25rem 0;
}

.service-areas {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-areas li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.service-areas li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-lighter);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-soft);
}

.trust-badge svg {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-detail-image {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-wrapper {
        position: static;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-values {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 500px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-detail-image {
        order: -1;
        height: 400px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-wrapper {
        position: static;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-expectations {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .philosophy-container,
    .services-container,
    .projects-container,
    .testimonials-container,
    .cta-container,
    .service-detail-container,
    .gallery-container,
    .gallery-filters-container,
    .contact-container {
        padding: 0 1.5rem;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .gallery-item {
        height: 400px;
    }
    
    .form-expectations {
        flex-direction: column;
    }
}

