/* Base Styles */
:root {
    --primary-color: #3B2E21;
    --secondary-color: #FFFFFF;
    --dark-color: #2A2018;
    --light-color: #F5F5F5;
    --background-color: #FFFFFF;
    --text-color: #3B2E21;
    --accent-color: #FF6B1A;
    --border-color: #FF6B1A;
    --success-color: #27ae60;
    --font-heading: 'MoreSugar-Thin', sans-serif;
    --font-body: 'ZapfChanceryStd-Light', cursive;
    --font-accent: 'Arapey', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
}

h1, h2, .hero h1 {
    font-family: var(--font-heading);
}

p {
    font-family: var(--font-accent);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

img:hover {
    transform: scale(1.05);
    z-index: 2;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: white;
    animation: pulse 5s infinite;
}

.btn-large:hover {
    background-color: var(--accent-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--primary-color); }
    70% { box-shadow: 0 0 0 10px rgba(230,126,34,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,126,34,0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes zoomInBackground {
    0% {
        transform: scale(1);
        filter: brightness(0.9);
    }
    100% {
        transform: scale(1.1);
        filter: brightness(1);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.separator {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.hidden {
    display: none;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: zoomInBackground 30s ease-out forwards;
    transform-origin: center center;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
    color: white;
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.chef-highlight {
    margin: 20px 0;
    padding: 15px;
    border-left: 4px solid var(--secondary-color);
    background-color: rgba(230, 126, 34, 0.05);
    align-self: center;
    width: 100%;
    text-align: center;
}

.chef-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.accent-apostrophe {
    color: var(--accent-color);
    font-weight: bold;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Event Description Section */
.event-description {
    padding: 80px 0;
}

.event-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.event-text {
    flex: 1;
    animation: fadeIn 1s ease-out;
    text-align: left;
}

.event-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.chef-bio {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: justify;
}

.chef-bio h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: center;
}

.event-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-image img {
    border-radius: 8px;
    width: 60%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* Menu Section */
.menu {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.menu-content {
    text-align: center;
    animation: fadeIn 1s ease-out;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.menu-structure ul {
    display: flex;
    flex-direction: row;
    gap: 7rem;
    justify-content: center;
    align-items: center;
}

.menu-structure ul li {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.menu-structure ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.menu-price {
    text-align: center;
}

.menu-price span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: var(--dark-color);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 10px;
}

.form-success {
    text-align: center;
    padding: 20px;
    background-color: var(--success-color);
    border-radius: 4px;
    margin-top: 20px;
    width: 100%;
}

.form-success i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Reservation Section */
.reservation {
    padding: 80px 0;
}

.reservation-content {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.reservation-form {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.reservation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.info-content h3 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.remaining-spots {
    text-align: center;
    padding: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    margin-top: auto;
    animation: float 4s ease-in-out infinite;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 30px 0;
    width: 100%;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
}

.footer-links, 
.footer-contact, 
.footer-social {
    min-width: 180px;
}

.footer-links a,
.footer-contact,
.footer-social,
.footer-social h3,
.footer-links h3 {
    color: #fff;
}

.footer-social .social-icon {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    margin-top: 15px;
    width: 100%;
}

.footer-legal {
    display: flex;
    gap: 15px;
}

/* Responsive Design */
@media (min-width: 992px) {
    /* Add styles specific to large devices here */
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Add styles specific to medium devices here */
}

@media (min-width: 576px) and (max-width: 767px) {
    /* Add styles specific to small devices here */
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
  
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .container {
        width: 95%;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .event-content {
        flex-direction: column;
    }
    
    .event-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .event-image img {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
  
    .menu-structure ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
  
    .menu-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .gallery-item img {
        height: 200px;
    }

    .hero .container,
    .event-content,
    .reservation-content {
        flex-direction: column;
        text-align: center;
    }
  
    .hero-content,
    .hero-image,
    .event-text,
    .event-image,
    .reservation-info,
    .reservation-form {
        padding: 0;
    }

    .event-image img {
        width: 100%;
        height: auto;
    }

    .hero-content {
        margin-bottom: 20px; /* Add space between button and image */
    }

    .reservation-form {
        margin-bottom: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.popup-content i {
    font-size: 3rem;
    color: var(--success-color);
}

.popup-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
}

.popup-content p {
    margin: 15px 0;
    line-height: 1.6;
}