/*
  BAKED TLV - Demo Website Stylesheet
  Designed by WebLite
*/

/* ===== 1. VARIABLES & RESET ===== */
:root {
    --color-white: #FFFFFF;
    --color-black: #0F172A;
    --color-orange: #FF7C37;
    --color-turquoise: #2DD4BF;
    --color-light-gray: #F5F5F5;
    --color-dark-gray: #334155;
    --color-whatsapp: #25D366;

    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Heebo', sans-serif;

    --header-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
}

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-turquoise);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== 2. UTILITIES & LAYOUT ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-orange);
}

.section-title p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    gap: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-turquoise);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-black);
}
.btn-light:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-header {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-right: 15px;
}

/* ===== 3. HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.site-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-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(--color-black);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-black);
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-black);
    cursor: pointer;
}

/* ===== 4. SECTIONS ===== */

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-white);
    padding-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-bg.webp') no-repeat center center/cover;
    filter: brightness(0.6);
    z-index: -1;
}

.hero-section h1 {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.hero-section h1 strong {
    color: var(--color-orange);
}

.hero-section .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- Demo Banners --- */
.demo-banner {
    padding: 20px 0;
}
.demo-banner-1 {
    background-color: var(--color-turquoise);
    color: var(--color-black);
}
.demo-banner-1 a {
    color: var(--color-black);
    font-weight: 700;
    text-decoration: underline;
}
.demo-banner-2 {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-orange), var(--color-turquoise));
    color: var(--color-white);
}
.demo-banner-2 h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* --- Services Section --- */
.services-section {
    background-color: var(--color-light-gray);
}
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
    background-color: var(--color-light-gray);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--color-orange);
}
.service-card i {
    font-size: 3rem;
    color: var(--color-orange);
    margin-bottom: 1rem;
}
.service-card h3 {
    margin-bottom: 0.5rem;
}

/* --- About Section --- */
.about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.about-image img {
    border-radius: var(--border-radius);
}
.about-content .section-title {
    text-align: right;
}
.about-content .section-title h2::after {
    right: 0;
    transform: none;
}

/* --- Menu Section --- */
/* .menu-section is now on white background */
.menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}
.menu-item img {
    transition: transform 0.4s ease;
}
.menu-item:hover img {
    transform: scale(1.1);
}
.menu-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}
.menu-item:hover .menu-item-overlay {
    opacity: 1;
    transform: translateY(0);
}
.menu-item-overlay h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

/* --- Vibe Section (Parallax) --- */
.vibe-section {
    position: relative;
    padding: 140px 0;
    background: url('https://picsum.photos/seed/bakedtlv_vibe/1920/1080.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* This creates the parallax effect */
}
.vibe-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Dark overlay */
}
.vibe-content {
    color: var(--color-white);
    position: relative; /* To appear above the overlay */
}
.vibe-content h2 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.vibe-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}


/* --- Reviews Section (Swiper) --- */
.reviews-section {
    position: relative;
    background-color: var(--color-white);
}
.review-card {
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}
.review-card .stars {
    color: var(--color-orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.review-card h4 {
    margin-top: 1rem;
    color: var(--color-dark-gray);
}
.swiper-pagination-bullet-active {
    background-color: var(--color-orange) !important;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--color-light-gray);
}
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}
.contact-form button {
    width: 100%;
}
.form-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}
.form-message.success { color: var(--color-turquoise); }
.form-message.error { color: red; }

/* ===== 5. FOOTER ===== */
.site-footer {
    background-color: var(--color-black);
    color: #ccc;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-col a {
    color: #ccc;
}
.footer-col a:hover {
    color: var(--color-orange);
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    border-radius: 50%;
}
.social-links a:hover {
    background-color: var(--color-orange);
}
.footer-bottom {
    border-top: 1px solid var(--color-dark-gray);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom .credit a {
    color: var(--color-turquoise);
}

/* ===== 6. FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Swaps with right in RTL */
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

/* ===== 7. RESPONSIVE (MOBILE-FIRST) ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        margin-bottom: 30px;
    }
    .about-content .section-title {
        text-align: center;
    }
    .about-content .section-title h2::after {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    h1 { font-size: 2.8rem; }
    .section-padding { padding: 60px 0; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 100px;
        transition: right 0.4s ease;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .main-nav a {
        font-size: 1.2rem;
    }
    .btn-header {
        display: none; /* Hide header button on mobile nav */
    }
    .mobile-nav-toggle {
        display: block;
        z-index: 1001; /* Above nav */
    }
    .hero-section h1 { font-size: 3rem; }
    .hero-section .subtitle { font-size: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr; }

    .vibe-content h2 {
        font-size: 2.2rem;
    }
    .vibe-section {
        padding: 80px 0;
    }
}