/* --- Global Variables --- */
:root {
    --bg-cream: #FBF8F3;
    --red-soft: #C95D2B;
    --gold-brown: #B88A59;
    --green-herbal: #A8B78C;
    --text-dark: #3A3A3A;
    --white: #FFFFFF;
    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Assistant', sans-serif;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    direction: rtl;
    text-align: right;
    /* Subtle grainy texture */
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23B88A59' fill-opacity='0.07' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H0V5z'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    body { font-size: 18px; }
}

/* --- Accessibility --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--red-soft);
    color: white;
    padding: 10px 15px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 10px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--red-soft);
}

h1 {
    font-size: 2.8rem;
    font-weight: 900;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--gold-brown);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--red-soft);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-brown);
}

/* --- Layout & Helpers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 70px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--red-soft);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b04f22;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 93, 43, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--red-soft);
    border-color: var(--red-soft);
}

.btn-secondary:hover {
    background-color: var(--red-soft);
    color: var(--white);
}

/* --- Header --- */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(251, 248, 243, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--red-soft);
}

.main-nav {
    display: none; /* Hidden on mobile */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-brown);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--green-herbal);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #8e9c74;
    color: var(--white);
    transform: scale(1.05);
}

.btn-whatsapp svg {
    fill: var(--white);
}

.mobile-menu-toggle {
    display: block; /* Visible on mobile */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 90vh;
    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-color: rgba(58, 58, 58, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-section .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.hero-buttons .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}
.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--red-soft);
}

/* --- Demo Notice Section --- */
.demo-notice {
    background-color: var(--gold-brown);
    color: var(--white);
    text-align: center;
    padding: 15px 0;
}
.demo-notice p {
    margin: 0;
    font-weight: 700;
}
.demo-notice a {
    color: var(--bg-cream);
    text-decoration: underline;
}
.demo-notice a:hover {
    color: var(--white);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background-color: var(--white);    
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--red-soft);
}

.service-card h3 {
    margin-bottom: 10px;
}

/* --- About Section --- */
.about-section {
    background-color: var(--white);
}
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 93, 43, 0.7);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* --- Menu Section --- */
.menu-section {
    background-color: var(--white);
}
.menu-list {
    max-width: 800px;
    margin: 0 auto;
}
.menu-item {
    border-bottom: 1px dashed var(--gold-brown);
    padding: 20px 0;
}
.menu-item:last-child {
    border-bottom: none;
}
.menu-item h3 {
    color: var(--red-soft);
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-right: 5px solid var(--green-herbal);
}
.testimonial-card p {
    font-style: italic;
}
.testimonial-author {
    text-align: left;
    margin-top: 15px;
    color: var(--gold-brown);
}

/* --- Events Section --- */
.events-section {
    background: var(--green-herbal) url('../img/texture.png');
    color: var(--white);
    text-align: center;
}
.events-section h2, .events-section p {
    color: var(--white);
}
.events-section h2::after {
    background-color: var(--white);
}
.events-section .btn-primary {
    background-color: var(--white);
    color: var(--green-herbal);
}
.events-section .btn-primary:hover {
    background-color: var(--bg-cream);
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--white);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: right;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}
.faq-question:hover {
    color: var(--red-soft);
}
.faq-icon {
    color: var(--gold-brown);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 15px;
}
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding-right: 15px;
}
.faq-answer p {
    padding-bottom: 20px;
    margin: 0;
    color: #555;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--white);
}
.contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -20px auto 40px;
}
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contact-info ul {
    list-style: none;
}
.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.contact-info svg {
    color: var(--red-soft);
}
.contact-social {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}
.contact-social a svg {
    width: 32px;
    height: 32px;
    color: var(--gold-brown);
    transition: color 0.3s;
}
.contact-social a:hover svg {
    color: var(--red-soft);
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-brown);
    box-shadow: 0 0 0 2px rgba(184, 138, 89, 0.2);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.form-group-checkbox input {
    width: auto;
}
.error-message {
    color: #d9534f;
    font-size: 0.9em;
    display: none;
    margin-top: 5px;
}
.form-group.error input,
.form-group.error textarea,
.form-group-checkbox.error input {
    border-color: #d9534f;
}
.form-group.error .error-message,
.form-group-checkbox.error .error-message {
    display: block;
}
#form-success-message {
    margin-top: 15px;
    color: var(--green-herbal);
    font-weight: bold;
    text-align: center;
}

/* --- Footer --- */
.main-footer {
    background-color: #333;
    color: #f2f2f2;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--gold-brown);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col p, .footer-col a {
    color: #ccc;
}
.footer-col a:hover {
    color: var(--white);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.footer-social svg {
    width: 24px;
    height: 24px;
    fill: #ccc;
    transition: fill 0.3s;
}
.footer-social a:hover svg {
    fill: var(--white);
}
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 0;
}
.credit {
    margin-top: 5px;
}

/* --- Media Queries --- */

/* Tablet */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    section { padding: 80px 0; }

    .mobile-menu-toggle { display: none; }
    .main-nav { display: block; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { flex-direction: row; }
    .about-text, .about-image { flex: 1; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { flex-direction: row; }
    .contact-info, .contact-form { flex: 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 1024px) {
    h1 { font-size: 4.5rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
