/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #faf3e0;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 600;
    color: #ffffff;
    font-size: 5.5rem;  /* Adjust this value as needed (e.g., 3rem for larger) */
}


h3, h4 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 600;
    color: #ffffff;
}

h2 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 600;
    color: #004f0b;
}

p {
    font-size: 0.98rem;
}


/* Navigation */
.navbar {
    position: relative; /* Changed from fixed */
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-bottom: 2rem; /* Ensures content below it has spacing */
}


.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #C0392B;
}

.reserve-btn {
    background: #C0392B;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reserve-btn:hover {
    background: #A93226;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #2C3E50;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(
        to bottom right,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.35)
    ),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2070&q=80")
        center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 0 1.5rem;
    color: #ffffff;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    animation: heroFadeIn 0.8s ease-out forwards;
    transform: translateY(10px);
    opacity: 0;
}

/* Kicker text */
.hero-kicker {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Big layered title */
.hero-title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    position: relative;
    padding-left: 0.25em;
}

.hero-title-accent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 55%;
    width: 90%;
    height: 0.55em;
    background: rgba(192, 57, 43, 0.75);
    transform: translateY(-50%);
    z-index: -1;
    border-radius: 999px;
}

/* Subtitle */
.hero-subtitle {
    max-width: 32rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
}

/* Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn,
.reserve-btn,
.submit-btn,
.cancel-btn {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cta-btn {
    background: #C0392B;
    color: white;
    border: none;
    padding: 0.9rem 2.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 16px 35px rgba(192, 57, 43, 0.7);
}

.cta-btn:hover {
    background: #A93226;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(192, 57, 43, 0.9);
}

.ghost-link {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ghost-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Blob section (below hero) */
.blob-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    background: radial-gradient(circle at 50% 50%, #f4c6a5 0%, #f9d9c2 12%, #fdf3e7 35%, #faf3e0 60%);
}

.blob-svg {
    max-width: min(70vw, 420px);
    max-height: min(80vh, 420px);
    aspect-ratio: 1 / 1;
}

.blob-img-1 { animation: blobFade1 12s ease-in-out infinite; }
.blob-img-2 { animation: blobFade2 12s ease-in-out infinite; }
.blob-img-3 { animation: blobFade3 12s ease-in-out infinite; }
.blob-img-4 { animation: blobFade4 12s ease-in-out infinite; }
.blob-img-5 { animation: blobFade5 12s ease-in-out infinite; }
.blob-img-6 { animation: blobFade6 12s ease-in-out infinite; }

@keyframes blobFade1 {
    0%, 2.5% { opacity: 1; }
    14.5%, 16.67% { opacity: 0; }
    16.67%, 97% { opacity: 0; }
    97.5%, 100% { opacity: 1; }
}
@keyframes blobFade2 {
    0%, 16.67% { opacity: 0; }
    19%, 31% { opacity: 1; }
    33.33%, 100% { opacity: 0; }
}
@keyframes blobFade3 {
    0%, 33.33% { opacity: 0; }
    36%, 48% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes blobFade4 {
    0%, 50% { opacity: 0; }
    52.5%, 64.5% { opacity: 1; }
    66.67%, 100% { opacity: 0; }
}
@keyframes blobFade5 {
    0%, 66.67% { opacity: 0; }
    69%, 81% { opacity: 1; }
    83.33%, 100% { opacity: 0; }
}
@keyframes blobFade6 {
    0%, 83.33% { opacity: 0; }
    86%, 97% { opacity: 1; }
    97.5%, 100% { opacity: 0; }
}

.blob-svg #blobClip {
    transform-origin: center;
    transition: transform 0.4s ease-out;
}

.blob-svg:hover #blobClip {
    transform: scale(1.15) translate(0%, 0%);
}

.blob-svg:hover .blob-text-content {
    fill: white;
    fill-opacity: 1;
    mix-blend-mode: normal;
}

.blob-text-content {
    font: 700 9px/1.2 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    fill: #2c3e50;
    mix-blend-mode: normal;
    transition: fill 0.5s ease;
}

@media (max-width: 768px) {
    .blob-section {
        padding: 3rem 1rem;
    }

    .blob-svg {
        max-width: min(85vw, 320px);
    }

    .blob-text-content {
        font-size: 7px;
    }
}

/* About Section */
.about {
    padding: 6rem 1rem;
    background: radial-gradient(circle at top left, #fdf3e7 0%, #faf3e0 40%, #f7efe4 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #4a4a4a;
    max-width: 36rem;
}

/* Highlights cards */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.about-highlights .highlight {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-highlights .highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.about-highlights h3 {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: #c0392b;
}

/* Meta info (hours + location) */
.about-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.about-meta h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    color: #7f8c8d;
}

.about-meta p {
    margin: 0.1rem 0;
}

/* Image grid on the right */
.about-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.about-image-grid img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-grid img:nth-child(2) {
    transform: translateX(12px);
}

.about-image-grid img:nth-child(3) {
    transform: translateX(-12px);
}

.about-image-grid img:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

/* Menu Section */
.menu {
    padding: 6rem 1rem;
    background: #FAF3E0;
}

.menu h2,
.about-text h2,
.contactr h2 {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 2.2rem;
}

.menu h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.menu-category h3 {
    color: #C0392B;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #D4AC0D;
}

.menu-item span:first-child {
    font-weight: 500;
}

.menu-item span:last-child {
    color: #d4ac0d;
    font-weight: 600;
    font-family: "Inter", system-ui, sans-serif;
}

/* Contact Section */
.contactr {
    padding: 6rem 1rem;
    background: white;
}

.contactr h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.contactr-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contactr-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contactr-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contactr-item img {
    width: 24px;
    height: 24px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
}

.map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}


/* Modal styles */
.modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content h2 {
    font-size: 1.75rem;
    color: #C0392B;
    margin-bottom: 0.5rem;
    text-align: left;
}

.modal-content p {
    font-size: 1rem;
    color: #2C3E50;
    margin-bottom: 1.25rem;
    text-align: left;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modal-content button {
    background: #C0392B;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    margin-top: 2px;
}

.modal-content button:hover {
    background: #A93226;
}

.close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.75rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #C0392B;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    color: #2C3E50;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C0392B;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

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

.submit-btn {
    width: 100%;
    background: #028614;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.submit-btn:hover {
    background: #027012;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.cancel-btn {
    width: 100%;
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.cancel-btn:active {
    transform: translateY(0);
}

.field-hint {
    font-size: 0.8rem;
    color: #7f8c8d;
    display: block;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-errors {
    margin: 0.75rem 0 1rem;
    color: #c0392b;
    font-size: 0.875rem;
    display: none;
    padding: 0.75rem;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 6px;
    border-left: 3px solid #c0392b;
}

.form-errors p {
    margin: 0.25rem 0;
}

.form-errors:not(:empty) {
    display: block;
}

.menu-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

.menu-photos {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.menu-photos img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    height: 160px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-photos img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

/* Footer */
footer {
    width: 100%;
    background: #2C3E50;
    color: white;
    text-align: center;
    padding: 2rem 0;  /* Adjust padding for spacing */
    margin-top: 2rem;  /* Ensures content above it has spacing */
}


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

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        text-align: left;
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

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

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-image-grid img:nth-child(2),
    .about-image-grid img:nth-child(3) {
        transform: translateX(0);
    }

    .menu-grid,
    .contactr-content {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        gap: 2rem;
    }

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

    .menu-photos img {
        height: 200px;
    }

    /* Modal responsive adjustments */
    .modal {
        padding: 10px;
    }

    .modal-content {
        width: 90%;
        max-width: 90%;
        max-height: 95vh;
        padding: 1.5rem;
        border-radius: 10px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

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

    .form-group label {
        margin-bottom: 0.35rem;
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }

    .submit-btn,
    .cancel-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
        width: 28px;
        height: 28px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .modal {
        padding: 5px;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 1.25rem;
        max-height: 98vh;
    }

    .modal-content h2 {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

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

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5625rem;
        font-size: 0.875rem;
    }

    .submit-btn {
        margin-top: 0.75rem;
        margin-bottom: 0.625rem;
    }
}