/* --- General Setup & Variables --- */
:root {
    --bg-color: #FAF8F3;
    --mint-green: #7FC7A3;
    --peach-gold: #FFCBA4;
    --water-blue: #89CFF0;
    --text-gray: #444;
    --white: #fff;
    --light-gray: #f1f1f1;

    --font-hebrew: 'Heebo', sans-serif;
    --font-english: 'Poppins', sans-serif;
    
    --header-height: 70px;
}

*, *::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-hebrew);
    background-color: var(--bg-color);
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 300;
    text-align: right; /* RTL Default */
    overflow-x: hidden;
}

/* --- Accessibility --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--mint-green);
    color: white;
    padding: 10px 15px;
    z-index: 9999;
    transition: top 0.3s ease;
}
.skip-to-content:focus {
    top: 10px;
}

/* --- Typography & Reusable Components --- */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-gray);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--mint-green);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #6ab392;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-gray);
    transform: scale(1.05);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Header --- */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 248, 243, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: box-shadow 0.3s ease;
}
.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
}
.logo {
    font-family: var(--font-english);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
}
.logo-highlight {
    color: var(--mint-green);
}
.main-nav {
    display: none; /* Mobile first */
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease, font-weight 0.3s ease;
}
.nav-links a:hover {
    color: var(--mint-green);
    font-weight: 500;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.whatsapp-btn .whatsapp-text {
    display: none; /* Hide text on mobile */
}
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--mint-green);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 50px;
    background-color: transparent;
}
.whatsapp-btn .fa-whatsapp {
    font-size: 1.5rem; /* 24px */
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.mobile-menu-toggle .icon-close { display: none; }
body.mobile-menu-open .mobile-menu-toggle .icon-open { display: none; }
body.mobile-menu-open .mobile-menu-toggle .icon-close { display: block; }

/* Mobile Menu (Slide-in) */
body.mobile-menu-open .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    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);
}
body.mobile-menu-open .nav-links {
    flex-direction: column;
    gap: 30px;
    text-align: center;
}
body.mobile-menu-open .nav-links a {
    font-size: 1.5rem;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('../img/hero-bg.webp') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
}
.hero-content h1 {
    color: var(--white);
    margin-bottom: 15px;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* --- Demo Banner --- */
.demo-banner {
    background-color: var(--peach-gold);
    color: var(--text-gray);
    text-align: center;
    padding: 15px;
    font-weight: 500;
}
.demo-banner a {
    color: var(--text-gray);
    font-weight: 700;
    text-decoration: underline;
}

/* --- Menu Section --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.menu-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 20px;
    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.1);
}
.menu-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}
.menu-item h3 {
    margin-bottom: 10px;
    color: var(--mint-green);
}
.menu-item p {
    padding: 0 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* --- About Section --- */
.about-section {
    background-color: var(--white);
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.about-text p {
    margin-bottom: 15px;
}
.about-image img {
    border-radius: 12px;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.85;
}

/* --- Team Section --- */
.team-section {
    background-color: var(--light-gray);
}
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.team-card {
    text-align: center;
}
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.team-card h3 {
    margin-bottom: 5px;
}
.team-card span {
    display: block;
    color: var(--mint-green);
    font-weight: 500;
    margin-bottom: 10px;
}

/* --- Events Section --- */
.events-section {
    background-color: var(--peach-gold);
}
.events-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.events-image img {
    border-radius: 12px;
}
.events-text .btn {
    margin-top: 20px;
    background-color: var(--white);
    color: var(--text-gray);
    border-color: var(--text-gray);
}
.events-text .btn:hover {
    background-color: var(--text-gray);
    color: var(--white);
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border-right: 5px solid var(--mint-green);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.review-card p {
    margin-bottom: 15px;
    font-style: italic;
}
.review-card span {
    font-weight: 500;
    color: var(--text-gray);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--light-gray);
}
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px 10px 10px 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    background-color: transparent;
    font-family: var(--font-hebrew);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--mint-green);
}
.contact-form label {
    position: absolute;
    top: 15px;
    right: 10px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}
.contact-form input:focus + label,
.contact-form input:valid + label,
.contact-form textarea:focus + label,
.contact-form textarea:valid + label {
    top: -5px;
    font-size: 0.8rem;
    color: var(--mint-green);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.form-group-checkbox label {
    font-size: 0.9rem;
}
#form-message {
    margin-top: 15px;
    font-weight: 500;
}
#form-message.success { color: green; }
#form-message.error { color: red; }

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.contact-info a {
    color: var(--text-gray);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden; /* Ensures the iframe corners are rounded */
}
.map-container iframe {
    display: block; /* Removes bottom space under iframe */
}

/* --- Footer --- */
.main-footer {
    background-color: #333;
    color: #ddd;
    padding: 50px 0 20px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--peach-gold);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-icons a {
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.weblite-credit a {
    color: var(--peach-gold);
    font-weight: 500;
}

/* --- Media Queries (Desktop) --- */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        flex-direction: row;
        text-align: right;
    }
    .about-text, .about-image {
        flex: 1;
    }
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper {
        flex-direction: row;
        gap: 60px;
    }
    .contact-form, .contact-info {
        flex: 1;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    .main-nav {
        display: flex;
    }
    .whatsapp-btn .whatsapp-text {
        display: inline;
        font-size: 0.9rem;
        font-weight: 500;
    }
    .whatsapp-btn:hover {
        background-color: #e8f8f1;
        transform: scale(1.05);
    }
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .events-content {
        flex-direction: row;
        gap: 60px;
    }
    .events-text, .events-image {
        flex: 1;
    }
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
