/* ---
   Variables & Base
   --- */
:root {
    --color-white: #FFFFFF;
    --color-beige-warm: #F5F1EA;
    --color-beige-light: #faf8f5;
    --color-gray-light: #E7E5E4;
    --color-sage-green: #A8BBA3;
    --color-text-dark: #333333;
    --font-body: 'Noto Sans Hebrew', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    text-align: right;
    direction: rtl;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

a {
    color: var(--color-sage-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--color-sage-green);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -20px auto 40px;
}

.bg-beige-warm { background-color: var(--color-beige-warm); }
.bg-beige-light { background-color: var(--color-beige-light); }
.bg-light-gray { background-color: var(--color-gray-light); }

/* ---
   Header
   --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.main-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    color: var(--color-text-dark);
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-sage-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--color-sage-green);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}

.mobile-menu-toggle { display: none; }

/* ---
   Hero Section
   --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-dark);
    background: url('../img/hero-bg.webp') no-repeat center center/cover;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(245, 241, 234, 0.7); /* Warm Beige with opacity */
    backdrop-filter: blur(5px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-sage-green);
    color: var(--color-white);
    border-color: var(--color-sage-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-sage-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border-color: var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---
   Demo Notice Section
   --- */
.demo-notice-section {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-light);
    border-top: 1px solid var(--color-gray-light);
}

.demo-notice-section p {
    margin: 0;
    font-size: 0.9rem;
}

/* ---
   Services Section
   --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    padding: 30px;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-icon {
    margin-bottom: 15px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-sage-green);
}

.service-card h3 {
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9rem;
}
/* ---
   About Section
   --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.about-text p {
    margin-bottom: 15px;
}

/* ---
   Special Section
   --- */
.special-section {
    padding: 100px 0;
}

.special-section .container {
    max-width: 700px;
    text-align: center;
}

.special-icon {
    margin-bottom: 25px;
}

.special-icon svg {
    width: 48px;
    height: 48px;
    color: var(--color-sage-green);
    opacity: 0.8;
}

.special-section .special-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 400; /* Lighter weight for a softer feel */
}

.special-section .special-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ---
   Menu Section
   --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-gray-light);
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-item:hover img {
    transform: scale(1.05);
}

.menu-item-info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: var(--color-white);
}

.menu-item-info h3 {
    font-family: var(--font-body);
    font-weight: 500;
}

.menu-item-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    font-size: 0.9rem;
    margin-top: 5px;
}

.menu-item:hover .menu-item-desc {
    max-height: 50px;
    opacity: 1;
}

/* ---
   Testimonials Section
   --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-beige-warm);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid var(--color-beige-warm);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-sage-green);
}

/* ---
   Contact Section
   --- */
.contact-section .section-subtitle {
    text-align: center;
    max-width: 500px;
    margin: -30px auto 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-sage-green);
}

.btn-submit {
    width: 100%;
    background-color: var(--color-sage-green);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    animation: breath 2s ease-in-out infinite;
}

.btn-submit:hover {
    animation-play-state: paused;
    opacity: 0.9;
}

@keyframes breath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.error-message {
    color: #d9534f;
    font-size: 0.8rem;
    display: none;
    position: absolute;
    bottom: -18px;
    right: 5px;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #d9534f;
}

.form-group.invalid .error-message {
    display: block;
}

/* ---
   Footer
   --- */
.main-footer {
    background-color: var(--color-beige-warm);
    padding: 60px 0 0;
    color: var(--color-text-dark);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gray-light);
}

.contact-list, .opening-hours {
    list-style: none;
}

.contact-list li, .opening-hours li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--color-sage-green);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--color-text-dark);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--color-gray-light);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.credit a {
    color: var(--color-text-dark);
    font-weight: 400;
}

/* ---
   Responsive (Mobile-First)
   --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        padding-top: 100px;
        z-index: 998;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 999;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--color-text-dark);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}