/* ============================================
   Shingleton's Pfaff — Custom Styles
   Teal + Slate Grey · Pastel · Fresh & Airy
   ============================================ */

/* --- Custom Properties --- */
:root {
    --teal-50: #f0f7f5;
    --teal-100: #d9ece6;
    --teal-200: #b8dcd3;
    --teal-300: #8ec3b6;
    --teal-400: #5B9A8F;
    --teal-500: #3d7d70;
    --teal-600: #2d6a5f;
    --teal-700: #24554d;
    --teal-800: #1e443f;
    --teal-900: #1a3835;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-700);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
label { font-size: 0.8125rem; font-weight: 600; color: var(--slate-700); letter-spacing: 0.02em; }

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

/* --- Typography --- */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 12px;
}
.label-light { color: var(--teal-200); }
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
}
.title-light { color: #ffffff; }
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.7;
}
.text-muted { color: var(--slate-500); font-size: 1rem; line-height: 1.7; }
.text-light { color: rgba(255,255,255,0.85); font-size: 1.0625rem; line-height: 1.7; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-primary {
    background: var(--teal-500);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(91, 154, 143, 0.35);
}
.btn-primary:hover {
    background: var(--teal-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 154, 143, 0.45);
}
.btn-ghost {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-2px);
}
.btn-light {
    background: #ffffff;
    color: var(--teal-700);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.6);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-brand-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-800);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--teal-600); background: var(--teal-50); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 68, 63, 0.82) 0%,
        rgba(45, 106, 95, 0.72) 50%,
        rgba(37, 85, 77, 0.80) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-xl);
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 1;
}
.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* --- About --- */
.about { background: var(--slate-50); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-images {
    position: relative;
}
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--slate-50);
}
.about-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--teal-500);
    color: #ffffff;
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}
.about-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal-200);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.about-text { padding-top: 16px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--slate-600); margin-bottom: 16px; }
.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* --- Services --- */
.services { background: #ffffff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    padding: 40px 36px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--teal-500);
    border-color: var(--teal-500);
    color: #ffffff;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 12px;
}
.service-card p { color: var(--slate-500); font-size: 0.9375rem; line-height: 1.7; }

/* --- Gallery --- */
.gallery { background: var(--slate-50); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- CTA --- */
.cta { background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%); padding: 100px 0; }
.cta-card {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    overflow: hidden;
}
.cta-pattern {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-title { color: #ffffff; margin-bottom: 16px; }
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* --- Visit --- */
.visit { background: #ffffff; }
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.visit-detail {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--slate-100);
}
.visit-detail:first-child { padding-top: 0; }
.visit-detail:last-child { border-bottom: none; }
.visit-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}
.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}
.visit-detail-value {
    font-size: 1rem;
    color: var(--slate-800);
    font-weight: 500;
    line-height: 1.5;
}
.visit-link {
    color: var(--teal-600);
    transition: color 0.2s ease;
}
.visit-link:hover { color: var(--teal-700); text-decoration: underline; }
.visit-map {
    margin-top: 32px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.visit-features {
    display: grid;
    gap: 20px;
}
.visit-feature-card {
    padding: 28px 32px;
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.visit-feature-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
}
.visit-feature-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--teal-200);
    line-height: 1;
    margin-bottom: 12px;
}
.visit-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 8px;
}
.visit-feature-card p { color: var(--slate-500); font-size: 0.9375rem; line-height: 1.65; }

/* --- Contact --- */
.contact { background: var(--slate-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    color: var(--slate-700);
    font-weight: 500;
    transition: all 0.2s ease;
}
.contact-method:hover {
    border-color: var(--teal-300);
    color: var(--teal-700);
    box-shadow: var(--shadow-sm);
}
.contact-method-icon {
    width: 36px;
    height: 36px;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}
.contact-form-wrap {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(91, 154, 143, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    font-size: 0.9375rem;
    font-weight: 500;
}
.form-success.visible { display: flex; }
.form-success svg { color: var(--teal-500); flex-shrink: 0; }

/* --- Footer --- */
.footer {
    background: var(--slate-900);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}
.footer-tagline { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-links-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--teal-300); }
.footer-contact p { font-size: 0.9rem; line-height: 1.8; }
.footer-link {
    color: var(--teal-300);
    transition: color 0.2s ease;
}
.footer-link:hover { color: var(--teal-200); text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* --- Reveal animations (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid { gap: 48px; }
    .cta-card { padding: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a { padding: 12px 16px; width: 100%; }
    .nav-toggle { display: flex; }

    .hero-content { padding: 100px 20px 80px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }

    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-img-accent { right: 16px; bottom: -24px; }
    .about-badge { top: -12px; left: -8px; }
    .about-stats { flex-wrap: wrap; gap: 20px; }

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

    .cta-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
    .cta-actions { flex-direction: row; }
    .cta-actions .btn { flex: 1; }

    .visit-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .service-card { padding: 28px 24px; }
    .about-img-accent { display: none; }
}
