/* ============================================
   Shaver's Shag & Vinyl — Styles
   Palette: Terracotta + Sand
   ============================================ */

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

:root {
    --terracotta: #C8553D;
    --terracotta-dark: #A8432E;
    --sand: #F5F0EB;
    --sand-light: #FAF8F5;
    --sand-mid: #EDE8E2;
    --charcoal: #1A1A1A;
    --text: #2C2C2C;
    --text-light: #6B6560;
    --white: #FFFFFF;
    --line: rgba(44, 44, 44, 0.08);
    --line-strong: rgba(44, 44, 44, 0.15);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--sand-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: background 0.3s var(--ease);
}

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

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Typography
   ============================================ */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.section-eyebrow.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-title.light {
    color: var(--white);
}

.section-header {
    margin-bottom: 4rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn-light {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--sand);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    background: var(--sand-light);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 70vh;
    max-height: 750px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-strong);
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 8rem 0;
    background: var(--sand-light);
}

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

.service-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    background: var(--white);
}

.service-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(200, 85, 61, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--terracotta);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 8rem 0;
    background: var(--sand);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    border-radius: 2px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line-strong);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 8rem 0;
    background: var(--sand-light);
}

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

.gallery-item {
    border-radius: 2px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/4;
    transition: transform 0.6s var(--ease);
}

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

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 8rem 0;
    background: var(--charcoal);
    text-align: center;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 640px;
    margin: 0 auto;
}

.cta-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-address {
    font-style: normal;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: color 0.2s var(--ease);
}

.contact-link:hover {
    color: var(--terracotta);
}

.contact-map {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrap {
    background: var(--sand-light);
    padding: 3rem;
    border-radius: 2px;
    border: 1px solid var(--line);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s var(--ease);
}

.form-input::placeholder {
    color: var(--sand-mid);
}

.form-input:focus {
    border-color: var(--terracotta);
}

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

.form-success {
    text-align: center;
    padding: 2rem;
    font-size: 1.0625rem;
    color: var(--terracotta);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 4rem 0;
    background: var(--charcoal);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    transition: color 0.2s var(--ease);
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Scroll Reveal
   ============================================ */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s var(--ease);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .hero-image {
        height: 50vh;
        max-height: 400px;
        order: -1;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        gap: 2rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrap {
        padding: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-inner {
        padding: 0 1.25rem;
    }

    .hero-inner {
        padding: 2rem 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
