/* Mr. Crispy's Chicken & Seafood — Restaurant Site */

:root {
    --primary: #D97706;
    --primary-dark: #B45309;
    --primary-light: #F59E0B;
    --accent: #DC2626;
    --dark: #1C1210;
    --dark-light: #2A1F1A;
    --white: #ffffff;
    --cream: #FFFBF5;
    --warm-gray: #F5F0EB;
    --text: #1C1210;
    --text-muted: #78716c;
    --text-light: #a8a29e;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --container-max: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================
   HEADER
   ======================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(217, 119, 6, 0.06);
}

.nav-cta a {
    background: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: var(--radius-lg) !important;
}

.nav-cta a:hover {
    background: var(--primary-dark) !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition-base);
    border-radius: 2px;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ========================
   BUTTONS
   ======================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================
   HERO
   ======================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,18,16,0.6) 0%, rgba(28,18,16,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.15);
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Inner hero (sub-pages) */
.hero-inner {
    min-height: 40vh;
    padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
}

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

/* ========================
   SECTIONS
   ======================== */

.section {
    padding: 5rem 0;
}

.section-warm {
    background: var(--cream);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark .text-muted {
    color: rgba(255,255,255,0.7);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-dark .section-badge {
    background: rgba(217, 119, 6, 0.15);
    color: var(--primary-light);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* ========================
   GRIDS
   ======================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* ========================
   CARDS
   ======================== */

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-dark {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.card-dark:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(217, 119, 6, 0.3);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(217, 119, 6, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-dark .card p {
    color: rgba(255,255,255,0.7);
}

/* ========================
   MENU SECTION
   ======================== */

.menu-category {
    margin-bottom: 3rem;
}

.menu-category h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info {
    flex: 1;
    padding-right: 1rem;
}

.menu-item-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    white-space: nowrap;
}

/* Per-category intro note (e.g. "All subs are 10\" and served with a side") */
.menu-cat-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: -0.75rem 0 1.25rem;
    max-width: 70ch;
    line-height: 1.6;
}

/* Size / count price tiers under an item (wings, fish fry, pasta) */
.menu-tiers {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 0.4rem;
    line-height: 1.75;
    opacity: 0.85;
}

/* Menu image card */
.menu-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.menu-image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ========================
   ABOUT SECTION
   ======================== */

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Info list */
.info-list {
    list-style: none;
    margin: 1.5rem 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.info-list li .icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* ========================
   CTA SECTION
   ======================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========================
   CONTACT
   ======================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-wrap h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

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

.form-group .error-msg {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--accent);
}

.form-group.has-error .error-msg {
    display: block;
}

/* Contact sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    padding-top: 2px;
}

.contact-info-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-info-text a:hover {
    color: var(--primary);
}

/* Hours table */
.hours-table {
    width: 100%;
}

.hours-table tr td {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hours-table tr td:first-child {
    font-weight: 600;
    color: var(--text);
    padding-right: 1rem;
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-about .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-about .footer-logo span {
    color: var(--primary-light);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.6);
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: var(--primary-light);
}

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

/* ========================
   BACK TO TOP
   ======================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================
   MODAL
   ======================== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}

.modal-icon.success {
    background: #dcfce7;
    color: #16a34a;
}

.modal-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.modal h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ========================
   SCROLL REVEAL
   ======================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 0.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-cta {
        margin-top: 1rem;
    }

    .nav-cta a {
        text-align: center;
    }

    .hero {
        min-height: 70vh;
    }

    .section {
        padding: 3.5rem 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

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


/* Preview notice — sample menu pending owner confirmation */
.menu-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--warm-gray);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
}

.menu-notice-icon {
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1.4;
}

.menu-notice strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.menu-notice p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .menu-notice {
        padding: 1rem 1.15rem;
        gap: 0.75rem;
    }
    .menu-notice p { font-size: 0.9rem; }
}

/* Intro line above the catering enquiry form */
.form-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: -0.5rem 0 1.5rem;
}
