/* ---
Root Variables & Global Styles
--- */
:root {
    --bg-warm: #FAF6F1;
    --coffee-brown: #A67B5B;
    --light-beige: #EAD7C0;
    --olive-green: #B5BFA1;
    --dark-text: #3C3C3C;
    --white: #FFFFFF;
    --font-primary: 'Heebo', sans-serif;
    --font-secondary: 'Assistant', sans-serif;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --backdrop-blur: blur(10px);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-warm);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--coffee-brown);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--coffee-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8a6547;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #777;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--coffee-brown);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8a6547;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 123, 91, 0.3);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--coffee-brown);
    border: 2px solid var(--light-beige);
}

.btn-secondary:hover {
    background-color: var(--light-beige);
    color: var(--coffee-brown);
}

/* ---
Accessibility
--- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--coffee-brown);
    color: white;
    padding: 15px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* ---
Header & Navigation
--- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(250, 246, 241, 0.9);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--coffee-brown);
}

.nav-links {
    display: none; /* Hidden on mobile */
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--coffee-brown);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    right: auto;
    left: 0;
}

.nav-cta {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 0.5rem;
    background: var(--olive-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.nav-cta:hover {
    background: #a0a98d;
    color: var(--white);
}

#mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--coffee-brown);
    cursor: pointer;
    display: block; /* Visible on mobile */
}

/* Mobile Menu (Slide-in) */
.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: var(--bg-warm);
    padding: 5rem 2rem;
    align-items: flex-start;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---
Hero Section
--- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('https://images.pexels.com/photos/302899/pexels-photo-302899.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 60, 60, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-content h1 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
}
.hero-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---
General Sections
--- */
section {
    padding: 4rem 0;
}

.demo-notice {
    background-color: var(--light-beige);
    padding: 1rem 0;
    text-align: center;
}
.demo-notice p {
    margin: 0;
    font-size: 0.9rem;
}
.demo-notice a {
    font-weight: 700;
    text-decoration: underline;
}
.demo-notice-footer {
    background-color: var(--coffee-brown);
    color: var(--white);
    padding: 1.5rem 0;
}
.demo-notice-footer a {
    color: var(--white);
}

/* ---
Menu Section
--- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.menu-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.menu-item-content {
    padding: 1.5rem;
    position: relative;
}
.menu-item-content h3 {
    margin-bottom: 0.5rem;
}
.menu-item-content p {
    font-size: 0.9rem;
    color: #666;
}
.price {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--olive-green);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* ---
About Section
--- */
.about-section { background-color: var(--white); }
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
.about-image img {
    border-radius: 12px;
    box-shadow: -15px -15px 0 var(--light-beige);
}

/* ---
Gallery Section
--- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}
.gallery-item img {
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* ---
Events Section
--- */
.events-section {
    background: var(--light-beige);
    text-align: center;
}
.events-section svg {
    color: var(--coffee-brown);
    margin-bottom: 1rem;
}
.events-section h3 {
    margin-bottom: 1rem;
}
.events-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ---
Testimonials Section
--- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--olive-green);
    box-shadow: var(--shadow);
    text-align: center;
}
.testimonial-card .stars {
    color: var(--coffee-brown);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.testimonial-card h4 {
    margin-top: 1rem;
    color: var(--dark-text);
    font-weight: 600;
}

/* ---
Contact Section
--- */
.contact-section { background-color: var(--white); }
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-beige);
    border-radius: 8px;
    background: var(--bg-warm);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--coffee-brown);
    box-shadow: 0 0 0 3px rgba(166, 123, 91, 0.2);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.form-group-checkbox label { margin-bottom: 0; font-size: 0.9rem; }
.error-message {
    color: #d9534f;
    font-size: 0.8rem;
    display: none;
    margin-top: 0.3rem;
}
input.invalid, textarea.invalid, input:checked.invalid + label {
    border-color: #d9534f;
}
input.invalid + .error-message, textarea.invalid + .error-message {
    display: block;
}
#form-success-message {
    background: #dff0d8;
    color: #3c763d;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 2rem;
}
.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.contact-info i {
    font-size: 1.2rem;
    color: var(--coffee-brown);
    width: 20px;
    text-align: center;
}
.contact-info h4 { margin-top: 2rem; }

/* ---
Image Disclaimer
--- */
.image-disclaimer {
    padding: 1rem 0;
    text-align: center;
}
.image-disclaimer p {
    font-size: 0.85rem;
    color: #999;
}

/* ---
Footer
--- */
.main-footer {
    background-color: #33302d;
    color: #ccc;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col a { color: #ccc; }
.footer-col a:hover { color: var(--white); }
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    color: var(--white);
    font-size: 1.2rem;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}
.weblite-credit a {
    color: var(--light-beige);
    font-weight: 600;
}

/* ---
Media Queries (Desktop First)
--- */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }

    #mobile-menu-toggle { display: none; }
    .nav-links { display: flex; }
    .nav-cta { display: flex; }

    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }

    .about-content {
        flex-direction: row;
        text-align: right;
    }
    .about-text { flex: 1; }
    .about-image { flex: 1; }

    .contact-wrapper {
        flex-direction: row;
    }
    .contact-form { flex: 2; }
    .contact-info { flex: 1; }
}

@media (min-width: 1024px) {
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}