/* ========================================
   Pee Dee Steak House — Styles
   ======================================== */

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

:root {
    --teal-dark: #0a5c5f;
    --teal: #0d7377;
    --teal-light: #14a3a8;
    --teal-pale: #e8f4f5;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --cream: #f5f5f0;
    --cream-dark: #eae8e0;
    --white: #fefefe;
    --gold: #c9a84c;
    --gold-light: #e0c06e;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--cream);
    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: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 115, 119, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Header / Navigation
   ======================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-out);
}

#main-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--teal);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

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

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.03em;
    transition: color 0.2s;
    text-transform: uppercase;
}

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

.nav-cta {
    background: var(--teal) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s !important;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overlay-link {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    padding: 12px 24px;
    transition: color 0.2s;
}

.overlay-link:hover {
    color: var(--teal-light);
}

.overlay-cta {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--teal) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1.5px solid var(--teal);
    border-radius: 6px;
    padding: 14px 32px;
}

.nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(15, 23, 42, 0.45) 50%,
        rgba(15, 23, 42, 0.75) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   About
   ======================================== */

.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.about-content .section-label {
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    color: var(--slate-900);
    margin-bottom: 24px;
    line-height: 1.15;
}

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

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

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

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

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   Menu
   ======================================== */

.menu {
    padding: 120px 0;
    background: var(--slate-900);
}

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

.menu .section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    color: var(--white);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.menu-card {
    background: var(--slate-800);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.menu-card-img {
    overflow: hidden;
    aspect-ratio: 5/3.5;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 28px 28px 32px;
}

.menu-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.menu-card-body h3 {
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 10px;
}

.menu-card-body p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.menu-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    font-style: italic;
}

/* ========================================
   Gallery
   ======================================== */

.gallery {
    padding: 120px 0;
    background: var(--cream);
}

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

.gallery .section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    color: var(--slate-900);
}

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

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

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

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

.gallery-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 3; }
.gallery-item:nth-child(3) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item:nth-child(4) { grid-column: 5 / 13; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 1 / 5; grid-row: 3 / 4; }

/* ========================================
   Testimonial
   ======================================== */

.testimonial {
    padding: 100px 0;
    background: var(--teal);
    text-align: center;
}

.testimonial-inner {
    max-width: 760px;
    margin: 0 auto;
}

.testimonial-quote {
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 24px;
}

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 28px;
}

.testimonial-source {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* ========================================
   Contact
   ======================================== */

.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact-info h2,
.contact-form-wrap h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--slate-900);
    margin-bottom: 32px;
}

.contact-info address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: var(--slate-600);
    line-height: 1.6;
}

.contact-item svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: var(--teal);
    font-weight: 500;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--teal-dark);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.contact-form-wrap .section-label {
    margin-bottom: 12px;
}

.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: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-100);
    border: 1.5px solid transparent;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    background: var(--white);
}

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

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

.form-success svg {
    color: var(--teal);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.contact-alternate {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.contact-alternate a {
    color: var(--teal);
    font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--slate-900);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
    color: var(--slate-500);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--slate-500);
    transition: color 0.2s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.footer-contact a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-600);
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }

    .menu-categories {
        gap: 20px;
    }

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

    .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(3) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(4) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(5) { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        max-height: 400px;
    }

    .about-stats {
        gap: 24px;
    }

    .menu-categories {
        grid-template-columns: 1fr;
    }

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

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item:nth-child(2) {
        aspect-ratio: 3/4;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

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

    .about,
    .menu,
    .gallery,
    .contact {
        padding: 80px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
}
