/*
Theme Name: Country Road Cabinets
Theme URI: https://countryroad-cabinets.ca
Description: A premium one-page WordPress theme for Country Road Cabinets - Custom Cabinetry & Millwork in Oakville, Manitoba
Version: 2.0.0
Author: Country Road Cabinets
Author URI: https://countryroad-cabinets.ca
Tags: one-page, custom-cabinets, business, responsive, modern, premium
Text Domain: country-road-cabinets
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Prairie Professional Color Palette */
    --sage-green: #8B9D83;
    --sage-green-dark: #6B7D63;
    --sage-green-light: #A8B89F;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --warm-oak: #C9A66B;
    --warm-oak-light: #E5C78A;
    --cream: #F5F3EE;
    --white: #FFFFFF;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;

    /* Spacing - Premium generous whitespace */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Premium heading letter-spacing */
h1, h2 {
    letter-spacing: -0.02em;
}

h3, h4 {
    letter-spacing: -0.01em;
}

/* ===================================
   STICKY HEADER & NAVIGATION
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    z-index: 1200;
    transition: var(--transition);
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.99);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    max-height: 100px;
    max-width: 250px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--sage-green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: -3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--charcoal);
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sage-green);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--charcoal);
    cursor: pointer;
}

/* ===================================
   VIDEO HERO SECTION
   =================================== */
.hero-video-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-video-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-iframe-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 aspect ratio */
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

.hero-poster-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.75) 0%,
        rgba(44, 44, 44, 0.5) 40%,
        rgba(139, 157, 131, 0.45) 100%
    );
    z-index: 2;
}

.hero-video-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    padding: 0 24px;
}

.hero-video-content h1 {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero-video-content .hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: inline-block;
    background-color: var(--sage-green);
    color: var(--white);
    padding: 20px 50px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 3px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta:hover {
    background-color: var(--sage-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 157, 131, 0.35);
}

.hero-play-pause {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-play-pause:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.08);
}

/* ===================================
   SECTION STYLES
   =================================== */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--sage-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 22px;
    line-height: 1.15;
}

.section-description {
    font-size: 18px;
    color: var(--charcoal-light);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-cta {
    margin-top: 30px;
}

.portfolio-cta {
    display: inline-block;
    background-color: var(--sage-green);
    color: var(--white);
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 3px;
    transition: var(--transition);
}

.portfolio-cta:hover {
    background-color: var(--sage-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 157, 131, 0.3);
}

.portfolio-page-header {
    padding: 140px 0 60px;
    background-color: var(--cream);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background-color: var(--cream);
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    color: var(--charcoal);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--charcoal-light);
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    background-color: var(--white);
    padding: 28px;
    border-radius: 6px;
    border-left: 4px solid var(--sage-green);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.highlight-item i {
    font-size: 32px;
    color: var(--sage-green);
    margin-bottom: 12px;
}

.highlight-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.highlight-item p {
    font-size: 14px;
    color: var(--charcoal-light);
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--cream);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.service-content {
    padding: 35px;
}

.service-icon {
    font-size: 40px;
    color: var(--sage-green);
    margin-bottom: 15px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.service-content p {
    font-size: 15px;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    font-size: 14px;
    color: var(--charcoal-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sage-green);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link:hover {
    color: var(--sage-green-dark);
    gap: 12px;
}

/* ===================================
   FEATURED PROJECTS SECTION
   =================================== */
.featured-projects-section {
    background-color: var(--charcoal);
    color: var(--white);
}

.featured-projects-section .section-subtitle {
    color: var(--warm-oak);
}

.featured-projects-section .section-title,
.featured-projects-section .section-description {
    color: var(--white);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.featured-project-card {
    position: relative;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.featured-project-card:nth-child(1) {
    grid-column: 1;
}

@media (min-width: 769px) {
    .featured-projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .featured-project-card:first-child {
        grid-column: 1 / -1;
        height: 500px;
    }
}

.featured-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(44, 44, 44, 0.92) 0%,
        rgba(44, 44, 44, 0.3) 50%,
        transparent 100%
    );
    transition: var(--transition-slow);
}

.featured-project-card:hover .featured-project-overlay {
    background: linear-gradient(
        to top,
        rgba(44, 44, 44, 0.95) 0%,
        rgba(44, 44, 44, 0.4) 50%,
        rgba(44, 44, 44, 0.1) 100%
    );
}

.featured-project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 45px;
    z-index: 2;
    transform: translateY(10px);
    transition: var(--transition-slow);
}

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

.featured-project-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--warm-oak);
    margin-bottom: 12px;
    padding: 5px 14px;
    border: 1px solid var(--warm-oak);
    border-radius: 2px;
}

.featured-project-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    line-height: 1.2;
}

.featured-project-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 20px;
}

.featured-project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--warm-oak);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(10px);
}

.featured-project-card:hover .featured-project-link {
    opacity: 1;
    transform: translateY(0);
}

.featured-project-link:hover {
    color: var(--warm-oak-light);
    gap: 14px;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

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

.testimonial-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 8px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
    position: relative;
    border-top: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-top-color: var(--sage-green);
}

.testimonial-quote-icon {
    margin-bottom: 20px;
}

.testimonial-quote-icon i {
    font-size: 32px;
    color: var(--sage-green-light);
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-secondary);
    font-size: 17px;
    line-height: 1.85;
    color: var(--charcoal-light);
    font-style: italic;
    margin-bottom: 28px;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid var(--cream);
}

.testimonial-author-info strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--sage-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.testimonial-stars {
    color: var(--warm-oak);
    font-size: 14px;
    display: flex;
    gap: 3px;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
    background-color: var(--charcoal);
    color: var(--white);
}

.gallery-section .section-subtitle {
    color: var(--warm-oak);
}

.gallery-section .section-title,
.gallery-section .section-description {
    color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--sage-green);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 3px;
    transition: var(--transition);
}

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

.gallery-category-section {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
}

.gallery-category-section:last-child {
    margin-bottom: 0;
}

.category-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c3e50;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    display: block;
    width: 100%;
    max-width: 100%;
    text-transform: none;
}

@media (max-width: 768px) {
    .category-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.gallery-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 40px 0;
}

.gallery-empty-state h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 24px;
}

.gallery-empty-state p {
    margin-bottom: 25px;
    color: #6c757d;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 15px;
    }
}

.gallery-item {
    position: relative;
    height: 340px;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(44, 44, 44, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-slow);
}

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

.gallery-overlay h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    color: var(--sage-green-light);
}

.portfolio-empty-category {
    font-size: 16px;
    color: var(--sage-green-light);
    margin-top: 10px;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--sage-green) 0%, var(--warm-oak) 100%);
    opacity: 0.4;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background-color: var(--white);
    border: 3px solid var(--sage-green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: var(--transition-slow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.process-step:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(139, 157, 131, 0.2);
    border-color: var(--sage-green-dark);
}

.step-icon {
    font-size: 36px;
    color: var(--sage-green);
    margin-bottom: 5px;
}

.step-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.process-step p {
    font-size: 15px;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background-color: var(--sage-green);
    color: var(--white);
}

.contact-section .section-subtitle {
    color: var(--warm-oak);
}

.contact-section .section-title,
.contact-section .section-description {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 22px;
    border-radius: 6px;
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.14);
    transform: translateX(4px);
}

.contact-item i {
    font-size: 22px;
    color: var(--warm-oak);
    width: 24px;
    text-align: center;
}

.contact-item-content h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    opacity: 0.85;
}

.contact-item-content p {
    font-size: 16px;
    margin: 0;
}

.contact-form {
    background-color: var(--white);
    padding: 50px 45px;
    border-radius: 8px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    font-size: 28px;
    color: var(--charcoal);
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    font-family: var(--font-primary);
    border: 2px solid #e8e6e1;
    border-radius: 4px;
    transition: var(--transition);
    background-color: #fafaf8;
    color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 157, 131, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0aea8;
    font-weight: 300;
}

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

.form-submit {
    width: 100%;
    background-color: var(--charcoal);
    color: var(--white);
    padding: 20px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background-color: var(--sage-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.form-submit.sending {
    opacity: 0.7;
    cursor: wait;
}

/* ===================================
   FOOTER - Refined & Premium
   =================================== */
.site-footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--sage-green-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin: 0;
}

.footer-links h4,
.footer-contact-info h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 22px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--sage-green-light);
    padding-left: 5px;
}

.footer-contact-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-contact-info p i {
    color: var(--warm-oak);
    width: 20px;
    margin-right: 10px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--sage-green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    line-height: 1.6;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px 0;
    }

    .hero-video-content h1 {
        font-size: 52px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .about-content {
        gap: 50px;
    }

    .contact-wrapper {
        gap: 50px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .header-container {
        padding: 12px 16px;
    }

    .logo-image {
        max-height: 70px;
        max-width: 220px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 90px 20px 40px;
        transition: left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1100;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--cream);
    }

    .main-nav a {
        display: block;
        padding: 20px 0;
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-video-content h1 {
        font-size: 38px;
    }

    .hero-video-content .hero-subtitle {
        font-size: 16px;
    }

    /* Mobile: hide video, show poster */
    .hero-video,
    .hero-video-iframe-wrapper {
        display: none;
    }

    .hero-poster-fallback {
        display: block;
    }

    .hero-play-pause {
        display: none;
    }

    .section-title {
        font-size: 34px;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-card,
    .featured-project-card:first-child {
        height: 350px;
    }

    .featured-project-content {
        padding: 30px;
    }

    .featured-project-content h3 {
        font-size: 24px;
    }

    .featured-project-link {
        opacity: 1;
        transform: translateY(0);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-video-content h1 {
        font-size: 30px;
    }

    .hero-video-content .hero-subtitle {
        font-size: 14px;
    }

    .hero-cta {
        padding: 16px 34px;
        font-size: 13px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .contact-form {
        padding: 30px 24px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-tagline {
        font-size: 9px;
    }

    .logo-image {
        max-height: 65px;
        max-width: 180px;
    }

    .featured-project-card,
    .featured-project-card:first-child {
        height: 300px;
    }

    .testimonial-card {
        padding: 35px 25px;
    }
}

/* Desktop: hide poster when video is present */
@media (min-width: 769px) {
    .hero-video ~ .hero-poster-fallback,
    .hero-video-iframe-wrapper ~ .hero-poster-fallback {
        z-index: 0;
    }
}
