/* ========================================
   Peach Remodeling & Repair — Styles
   ======================================== */

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

:root {
    --teal-900: #0d3b3b;
    --teal-800: #134f4f;
    --teal-700: #1a6b6b;
    --teal-600: #218585;
    --teal-500: #28a0a0;
    --teal-400: #4db8b8;
    --teal-300: #7dccc8;
    --teal-100: #d0eeec;
    --teal-50: #eaf7f6;
    
    --slate-950: #0a0f14;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    
    --cream: #faf9f7;
    --warm-white: #fefdfb;
    
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--sans);
    color: var(--slate-800);
    background: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(254, 253, 251, 0.97);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
}

.nav-logo-icon {
    font-size: 1.4rem;
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--slate-900);
    background: var(--slate-100);
}

.nav-link--cta {
    background: var(--teal-700);
    color: white !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--teal-800) !important;
    color: white !important;
}

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

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--teal-700);
    color: white;
    box-shadow: 0 4px 16px rgba(26, 107, 107, 0.3);
}

.btn--primary:hover {
    background: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(26, 107, 107, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
}

.btn--ghost:hover {
    border-color: var(--teal-500);
    color: var(--teal-700);
    background: var(--teal-50);
}

.btn--light {
    background: white;
    color: var(--teal-800);
    box-shadow: var(--shadow-md);
}

.btn--light:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(40,160,160,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-subhead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}

.trust-item svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.hero-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.floating-card-number {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
}

.floating-card-label {
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-top: 4px;
}

/* ========================================
   Section Shared
   ======================================== */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title--light {
    color: white;
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 520px;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 24px;
    background: white;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    background: white;
}

.service-card:hover {
    border-color: var(--teal-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    background: var(--teal-50);
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: var(--teal-700);
    color: white;
}

.service-card-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--slate-500);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 24px;
    background: var(--cream);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 560/700;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 300/200;
}

.about-content-col .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

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

.stat-number {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

.about-content-col .btn {
    margin-top: 8px;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us {
    padding: 100px 24px;
    background: var(--teal-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(40,160,160,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.why-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.why-header {
    text-align: center;
    margin-bottom: 64px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.why-card-number {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.why-card-desc {
    font-size: 0.925rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
    padding: 80px 24px;
    background: var(--teal-800);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-eyebrow {
    color: var(--teal-300);
    margin-bottom: 16px;
}

.cta-headline {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-subhead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 24px;
    background: white;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info-col .section-title {
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-500);
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--teal-700);
}

.contact-detail-value a:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

/* Form */
.contact-form-col {
    background: var(--slate-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--slate-200);
}

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

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: white;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(40,160,160,0.1);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

/* Success Message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--slate-900);
    color: white;
    padding: 72px 24px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 1.4rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-link-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-link-col a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        gap: 48px;
    }
    
    .contact-container {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 251, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-link--cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }
    
    /* Hero */
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        border-radius: var(--radius-lg);
    }
    
    .hero-floating-card {
        left: 16px;
        bottom: -16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    /* Services */
    .services {
        padding: 72px 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    /* About */
    .about {
        padding: 72px 24px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -20px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    /* Why Us */
    .why-us {
        padding: 72px 24px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta-banner {
        padding: 60px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact */
    .contact {
        padding: 72px 24px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-col {
        padding: 28px;
    }
    
    /* Footer */
    .footer {
        padding: 48px 24px 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.85rem;
    }
    
    .hero-floating-card {
        left: 0;
        right: 0;
        bottom: -12px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
