/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Figtree:wght@400;500;600&family=Work+Sans:wght@600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #855eae;
    --primary-color-dark: #6a4a8c;
    --light-bg: #fbf7ff;
    --secondary-bg: #eeecf6;
    --white: #ffffff;
    --dark-text: #1c1a20;
    --body-text: #454148;
    --light-text: #837d85;
    --border-color: #e5e0f1;
    --font-heading: 'Work Sans', sans-serif;
    --font-body: 'Figtree', sans-serif;
    --font-logo: 'DM Serif Display', serif;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark-text);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-color-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* --- Buttons & Links --- */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; text-align: center; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; }
.btn-primary { background-color: var(--primary-color); color: var(--white); border: none; }
.btn-primary:hover { background-color: var(--primary-color-dark); color: var(--white); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-2px); }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }
.card-link { font-weight: 600; }

/* --- Header & Navigation --- */
.main-header {
    background: var(--white);
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-logo); font-size: 1.75rem; color: var(--dark-text); font-weight: 400; }
.logo img { height: 50px; width: auto; }
.logo:hover { color: var(--dark-text); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--light-text); font-weight: 500; position: relative; padding-bottom: 0.25rem; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--dark-text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.hamburger { display: block; width: 25px; height: 2px; background-color: var(--dark-text); position: relative; transition: background-color 0.2s ease-out; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 100%; height: 2px; background-color: var(--dark-text); transition: transform 0.3s ease; }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* --- JavaScript-Compatible Hero Scroll Animation --- */
.hero-scroll-animation { background-color: var(--secondary-bg); }
.hero-animation-track { height: 300vh; position: relative; }
.hero-scene-container { height: 100vh; width: 100%; position: sticky; top: 0; overflow: hidden; }
.scene-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 1.2s ease-in-out; }
.scene-layer.fade-in { opacity: 1; }
.hero-content-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; width: 90%; max-width: 650px; text-align: center; opacity: 0; transition: opacity 1.2s ease-in-out 0.3s; }
.hero-content-overlay.fade-in { opacity: 1; }
.hero-content-overlay h1, .hero-content-overlay p { color: var(--white); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.hero-content-overlay .subtitle { color: rgba(255, 255, 255, 0.85); }
.hero-content-overlay p { font-size: 1.1rem; margin-bottom: 2rem; }

/* --- Other Sections --- */
.features { padding: 5rem 0; }
.features .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; }
.feature-item img { height: 50px; margin: 0 auto 1.5rem; }
.feature-item h3 { margin-bottom: 0.5rem; }
.feature-item p { color: var(--light-text); }
.section-header { text-align: center; margin: 0 auto 4rem auto; max-width: 700px; }
.section-header .subtitle { color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.menu-preview { padding: 5rem 0; background-color: var(--light-bg); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.menu-card { background-color: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.menu-card img { width: 100%; height: 250px; object-fit: cover; }
.card-content { padding: 1.5rem; }
.card-content h4 { margin-bottom: 0.5rem; }
.how-it-works { padding: 5rem 0; background-color: var(--secondary-bg); }
.steps-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; }
.step .step-icon { width: 60px; height: 60px; border-radius: 50%; background-color: var(--primary-color); color: var(--white); display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); margin: 0 auto 1.5rem; }
.step h3 { margin-bottom: 0.5rem; }
.main-footer { background-color: var(--light-bg); padding: 4rem 0; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-logo { margin-bottom: 1rem; }
.copyright { color: var(--light-text); font-size: 0.9rem; }
.footer-col h4 { margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: var(--body-text); }
.footer-col ul a:hover { color: var(--primary-color); }

/* --- Inner Pages --- */
.page-hero { background-color: var(--secondary-bg); padding: 4rem 0; }
.page-hero .section-header { margin-bottom: 0; }
.full-menu { padding: 5rem 0; }
.menu-category { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.menu-item-large { background-color: var(--light-bg); border-radius: 1rem; padding: 2rem; border: 1px solid var(--border-color); text-align: center; }
.menu-item-large img { width: 100%; height: 300px; object-fit: cover; border-radius: 0.5rem; margin-bottom: 2rem; }
.menu-item-content .subtitle { color: var(--primary-color); font-weight: 600; }
.menu-item-content h3 { margin-bottom: 1rem; }
.menu-item-content p { margin-bottom: 1.5rem; color: var(--body-text); }
.about-content { padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about-image img { border-radius: 1rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text ul { list-style: disc; padding-left: 1.5rem; margin-top: 1rem; }
.about-text ul li { margin-bottom: 0.5rem; }
.team-section { padding: 5rem 0; background-color: var(--light-bg); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.team-member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 4px solid var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.team-member h4 { margin-bottom: 0.25rem; }
.team-member p { color: var(--light-text); }
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 8px; font-family: var(--font-body); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(133, 94, 174, 0.2); }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info p { line-height: 1.8; }
.social-title { margin-top: 2rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background-color: var(--secondary-bg); color: var(--primary-color); display: flex; justify-content: center; align-items: center; font-weight: bold; }
.social-links a:hover { background-color: var(--primary-color); color: var(--white); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .features .container, .menu-grid, .steps-container, .team-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .menu-category, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    .main-header { height: auto; padding: 0.75rem 0; }
    .logo img { height: 40px; }
    .nav-toggle { display: block; z-index: 1001; }
    .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: 100%; background-color: var(--white); flex-direction: column; justify-content: center; transform: translateX(100%); transition: transform 0.3s ease-in-out; }
    .main-nav.nav-open { transform: translateX(0); }
    .nav-links { flex-direction: column; font-size: 1.5rem; text-align: center; }
    body.nav-open { overflow: hidden; }
    .nav-open .hamburger { background-color: transparent; }
    .nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
    .nav-open .hamburger::after { transform: rotate(-45deg); bottom: 0; }
    .features .container, .menu-grid, .steps-container, .team-grid { grid-template-columns: 1fr; }
}
.logof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-logo);
    font-size: 1.75rem;
    color: var(--dark-text);
    font-weight: 400;
}

.logof img {
    height: 150px;
    width: 150px;
}
.logof:hover {
    color: var(--dark-text);
}
