/* ---
   Daily Chef - Modern Catering Demo
   Colors:
   - Creamy White: #FCFBF9
   - Light Olive Green: #B5C99A
   - Subtle Orange: #E8A87C
   - Text Gray: #333333
   - Subtle Black: #111111
--- */

/* --- Global & Reset --- */
:root {
    --bg-color: #FCFBF9;
    --primary-color: #B5C99A;
    --accent-color: #E8A87C;
    --text-color: #333333;
    --heading-color: #111111;
    --white-color: #FFFFFF;
    --border-color: #e0e0e0;

    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Rubik', sans-serif;

    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
    direction: rtl;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #d99362;
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* --- Skip to Content --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-to-content:focus {
    top: 0;
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(252, 251, 249, 0.95);
    padding: 10px 0;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
}
.logo:hover { color: var(--heading-color); }

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

#main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

#main-nav a:hover::after,
#main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.whatsapp-btn:hover {
    background-color: #a0b882;
    color: var(--white-color);
}
.whatsapp-btn i { font-size: 1.2rem; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

/* --- Sections General --- */
section {
    padding: 80px 0;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../img/hero-bg.webp') no-repeat center center/cover;
    color: var(--heading-color);
    padding-top: 100px; /* Header offset */
}

.hero-content {
    max-width: 800px;
    background-color: rgba(252, 251, 249, 0.8);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- Demo Banner --- */
.demo-banner {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 0;
    text-align: center;
}
.demo-banner p {
    margin: 0;
    font-weight: 500;
}
.demo-banner a {
    color: var(--white-color);
    text-decoration: underline;
    font-weight: 700;
}
.demo-banner a:hover {
    color: var(--bg-color);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-text .section-title {
    text-align: right;
    margin-bottom: 20px;
}
.about-text .section-title::after {
    margin: 15px 0 0;
}

/* --- Menu Section --- */
.menu-section {
    background-color: var(--white-color);
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: box-shadow 0.3s ease;
}

.menu-item:hover {
    box-shadow: var(--shadow-hover);
}

.menu-item-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 25px;
}

.menu-item-content h3 {
    margin-bottom: 10px;
}

.menu-item-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.menu-item-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(252, 251, 249, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover .menu-item-hover {
    opacity: 1;
}

/* --- How It Works Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(181, 201, 154, 0.5);
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--white-color);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-weight: 500;
    color: var(--text-color);
}

/* --- Order Form Section --- */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group {
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(181, 201, 154, 0.3);
}
.contact-form button {
    margin-top: 20px;
    width: 100%;
}
.error-message {
    color: #d9534f;
    font-size: 0.85rem;
    display: none;
    position: absolute;
    bottom: -20px;
    right: 0;
}
.form-group.error input,
.form-group.error textarea {
    border-color: #d9534f;
}
.form-group.error .error-message {
    display: block;
}
.success-message {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    border-radius: var(--border-radius);
    margin-top: 30px;
}
.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}
.success-message i { font-size: 2rem; margin-bottom: 10px; }

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--white-color);
}
.accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    width: 100%;
    background-color: var(--white-color);
    border: none;
    padding: 20px 25px;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: var(--bg-color);
}
.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s ease-in-out;
}
.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    background-color: var(--bg-color);
}
.accordion-content p {
    padding: 0 25px 20px;
    margin: 0;
    line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--heading-color);
    color: #a9a9a9;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: var(--white-color);
    margin-bottom: 20px;
}
.footer-column.about p {
    margin-bottom: 20px;
}
.social-icons a {
    color: #a9a9a9;
    font-size: 1.2rem;
    margin-left: 15px;
}
.social-icons a:first-child { margin-left: 0; }
.social-icons a:hover { color: var(--primary-color); }
.footer-column.links ul { list-style: none; }
.footer-column.links li { margin-bottom: 10px; }
.footer-column.links a { color: #a9a9a9; }
.footer-column.links a:hover { color: var(--white-color); }
.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.contact-info i { color: var(--primary-color); }
.contact-info a { color: #a9a9a9; }
.contact-info a:hover { color: var(--white-color); }
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.weblite-credit a {
    color: #888;
    font-size: 0.85rem;
}
.weblite-credit a:hover { color: var(--white-color); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    #main-nav { display: none; }
    .mobile-menu-toggle { display: block; }

    #main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--bg-color);
        box-shadow: var(--shadow);
        animation: slideDown 0.3s ease-out;
    }
    #main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    #main-nav li {
        border-bottom: 1px solid var(--border-color);
    }
    #main-nav li:last-child { border-bottom: none; }
    #main-nav a {
        display: block;
        padding: 15px;
    }
    #main-nav a::after { display: none; }

    .about-content { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-text .section-title { text-align: center; }
    .about-text .section-title::after { margin: 15px auto 0; }

    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .whatsapp-btn span { display: none; }
    .whatsapp-btn { padding: 8px 10px; }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    .hero-content { padding: 30px 20px; }
    .hero-buttons { flex-direction: column; }
    .steps-grid { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}