/* ============================================
   V&V Tub Refinishing — Styles
   Palette: Plum (#4A1942) + Amber (#D4A017)
   Fonts: Playfair Display (serif) + Inter (sans)
============================================ */

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

:root {
    --plum-50: #FDF2F8;
    --plum-100: #FCE7F3;
    --plum-200: #FBCFE8;
    --plum-300: #F9A8D4;
    --plum-400: #F472B6;
    --plum-500: #4A1942;
    --plum-600: #3B1435;
    --plum-700: #2D0F29;
    --plum-800: #1F0B1E;
    --plum-900: #110712;
    --amber-50: #FFFBEB;
    --amber-100: #FEF3C7;
    --amber-200: #FDE68A;
    --amber-300: #FCD34D;
    --amber-400: #D4A017;
    --amber-500: #B8860B;
    --amber-600: #92600A;
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(74,25,66,0.08);
    --shadow-md: 0 4px 20px rgba(74,25,66,0.1);
    --shadow-lg: 0 12px 40px rgba(74,25,66,0.15);
}

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

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(74, 25, 66, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    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;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--amber-400);
    letter-spacing: -0.02em;
}

.logo-wordmark {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: none;
}

@media (min-width: 768px) {
    .logo-wordmark { display: block; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: var(--amber-400) !important;
    color: var(--plum-900) !important;
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--amber-300) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    position: relative;
    transition: background 0.3s, transform 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: white;
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
}

@media (max-width: 1023px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--plum-700);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-110%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(212,160,23,0.15);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 8px 0;
    }
}

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--plum-500);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 25, 66, 0.92) 0%,
        rgba(45, 15, 41, 0.85) 50%,
        rgba(74, 25, 66, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 60px 24px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 72px;
    bottom: 0;
    width: 45%;
    z-index: 1;
    overflow: hidden;
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.headline-accent {
    color: var(--amber-400);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

@media (max-width: 1023px) {
    .hero {
        min-height: auto;
        padding-bottom: 40px;
    }
    .hero-image {
        display: none;
    }
    .hero-content {
        padding: 80px 24px 60px;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 80px;
        margin-left: 8%;
    }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-400);
    color: var(--plum-900);
    border-color: var(--amber-400);
}

.btn-primary:hover {
    background: var(--amber-300);
    border-color: var(--amber-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,160,23,0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.35);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.btn-amber {
    background: var(--amber-400);
    color: var(--plum-900);
    border-color: var(--amber-400);
}

.btn-amber:hover {
    background: var(--amber-300);
    border-color: var(--amber-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,160,23,0.3);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTIONS
============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-500);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.title-accent {
    color: var(--amber-500);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ============================================
   SERVICES
============================================ */
.services {
    background: var(--neutral-50);
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--amber-400);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--plum-500);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--plum-500);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

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

/* ============================================
   PROCESS
============================================ */
.process {
    background: var(--plum-500);
    color: #ffffff;
}

.section-header--light .section-eyebrow {
    color: var(--amber-400);
}

.section-header--light .section-title {
    color: #ffffff;
}

.title-accent-light {
    color: var(--amber-400);
    font-style: italic;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(212, 160, 23, 0.15);
    line-height: 1;
    margin-bottom: -16px;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 560px;
}

.step-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .process-step {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .process-step:nth-child(even) .step-image {
        order: -1;
    }
}

/* ============================================
   GALLERY
============================================ */
.gallery {
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 16px;
    background: linear-gradient(to top, rgba(74,25,66,0.85), transparent);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gallery-item--large {
    grid-column: span 12;
}

.gallery-item--large img {
    height: 400px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
    grid-column: span 6;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img {
    height: 300px;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(5) {
    grid-column: span 6;
}

.gallery-item:nth-child(4) img,
.gallery-item:nth-child(5) img {
    height: 280px;
}

@media (max-width: 767px) {
    .gallery-item--large,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 12;
    }
    .gallery-item--large img { height: 280px; }
    .gallery-item img { height: 240px; }
}

/* ============================================
   ABOUT
============================================ */
.about {
    background: var(--neutral-50);
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--amber-400);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    max-width: 540px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text em {
    color: var(--plum-500);
    font-style: italic;
    font-family: var(--font-serif);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--plum-500);
}

.feature-check {
    width: 20px;
    height: 20px;
    color: var(--amber-500);
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
    background: var(--plum-700);
    padding: 80px 0;
}

.cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 16px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-accent {
    color: var(--amber-400);
    font-style: italic;
}

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

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

/* ============================================
   CONTACT
============================================ */
.contact {
    background: #ffffff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

.contact-info {
    max-width: 480px;
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-item:hover {
    border-color: var(--amber-400);
    box-shadow: var(--shadow-sm);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-500);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--plum-500);
    line-height: 1.5;
}

.contact-map {
    overflow: hidden;
}

.contact-form-wrap {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--neutral-200);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-500);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber-400);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--amber-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--amber-500);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-500);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 24px;
    }
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--plum-800);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo-mark {
    font-size: 2rem;
    display: block;
    margin-bottom: 4px;
}

.footer-brand .logo-wordmark {
    font-size: 0.875rem;
    display: block;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

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

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 2fr;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ACCESSIBILITY
============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--amber-400);
    outline-offset: 2px;
}

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--plum-900);
}
::-webkit-scrollbar-thumb {
    background: var(--plum-500);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--amber-400);
}
