/* ============================================================
   GLOBAL STYLES & THEME (styles.css)
   ============================================================ */

:root {
    /* The primary color is injected dynamically via JS, but this is the fallback */
    --primary-color: #adc6b4; 
    --text-main: #111;
    --text-muted: #666;
    --bg-light: #FAFAFA;
    --bg-white: #fff;
    --border-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html { 
    scroll-behavior: smooth; 
}

body {
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-main);
    padding: 15px 30px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--text-main);
    color: var(--bg-white);
    border-color: var(--text-main);
}

/* =========================================
   NAVBAR
   ========================================= */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 10px 0;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-img { max-height: 60px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-weight: 800; font-size: 1.2rem; color: var(--text-main); line-height: 1.2; }
.logo-title { font-weight: 400; font-size: 0.85rem; color: var(--text-muted); }

.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 0.9rem; align-items: center; }
.nav-links a { position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.header-cta { padding: 8px 18px; font-size: 0.8rem; white-space: nowrap; border-width: 2px;}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-text { max-width: 800px; }
.hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.2rem; font-weight: 400; margin-bottom: 40px; max-width: 600px; color: #444; }

/* =========================================
   SHARED GRIDS, CARDS & TITLES
   ========================================= */
.section-title { text-align: center; font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 40px;
}

.service-card {
    flex: 1 1 320px;
    max-width: 360px;
    background: var(--bg-white);
    padding: 40px;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); 
    border-top-color: var(--text-main); 
}

.service-card i { color: var(--primary-color); font-size: 2rem; margin-bottom: 20px;}
.service-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.service-card h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.service-card p { margin-bottom: 0; font-size: 0.95rem; flex-grow: 1; }

/* =========================================
   ABOUT SECTION
   ========================================= */
.about { padding: 100px 0; background-color: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; height: auto; border: 1px solid var(--border-color); box-shadow: 15px 15px 0px var(--primary-color); }
.about-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); margin-bottom: 30px; }
.about-content p { margin-bottom: 20px; font-size: 1.05rem; color: #444; }

/* =========================================
   TABS & FAQ SECTION
   ========================================= */
.faq { padding: 100px 0; background-color: var(--bg-light); }
.faq-container, .services-container { max-width: 1200px; margin: 0 auto; }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 50px; }

.tab-btn {
    background-color: transparent; 
    color: var(--text-main); 
    padding: 12px 25px; 
    font-size: 1rem; 
    font-weight: 800;
    cursor: pointer; 
    border: 2px solid #ccc; 
    transition: all 0.3s ease; 
    text-transform: uppercase;
}

.tab-btn:hover { border-color: var(--primary-color); }
.tab-btn.active { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
    box-shadow: 4px 4px 0px var(--text-main); 
    transform: translate(-2px, -2px); 
}

.tab-pane { display: none; opacity: 0; transition: opacity 0.3s ease; }
.tab-pane.active { display: block; opacity: 1; animation: fadeIn 0.4s ease-in forwards; }

details {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    margin-bottom: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

details:hover { border-color: var(--primary-color); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); }
details[open] { border-color: var(--text-main); box-shadow: 8px 8px 0px var(--primary-color); transform: translateX(-4px) translateY(-4px); }

summary { font-weight: 800; font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); }
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--text-main); background-color: var(--bg-light);
    width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease;
}
details[open] summary::after { content: '\f068'; background-color: var(--primary-color); transform: rotate(180deg); }
.faq-content { margin-top: 20px; padding-top: 20px; border-top: 2px solid var(--border-color); color: #444; font-size: 1.05rem; line-height: 1.6; }

/* =========================================
   REMOTE SESSIONS
   ========================================= */
.remote-intro { text-align: center; margin-bottom: 40px; color: #444; font-size: 1.1rem; line-height: 1.8; padding: 0 20px; }
.remote-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 50px; }
.step-card { background: var(--bg-white); padding: 30px 20px; border: 1px solid var(--border-color); text-align: center; box-shadow: 6px 6px 0px var(--primary-color); transition: transform 0.3s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: 6px 11px 0px var(--primary-color); }
.step-num { display: inline-flex; width: 40px; height: 40px; background-color: var(--text-main); color: var(--bg-white); font-size: 1.2rem; font-weight: 900; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 15px; }
.step-card h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 800; }
.step-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0; }

/* =========================================
   RECIPES (Home & Dedicated Page)
   ========================================= */
.recipes-hero { padding: 80px 0; background-color: var(--bg-white); border-bottom: 1px solid var(--border-color); text-align: center; }
.recipes-hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; letter-spacing: -1px; }
.recipes-hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.recipe-filters { padding: 40px 0; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn { background: var(--bg-white); border: 1px solid #ddd; padding: 10px 25px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border-radius: 30px; font-size: 0.9rem; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--text-main); }

.recipes-grid, .recipes-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.recipes-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }

.recipe-card, .recipe-card-page {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.recipe-card:hover, .recipe-card-page:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); border-color: var(--primary-color); }
.recipe-card img, .recipe-card-image img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.6s ease; }
.recipe-card:hover img, .recipe-card-page:hover .recipe-card-image img { transform: scale(1.05); }

.recipe-card-content { padding: 25px; }
.recipe-card h4 { padding: 20px; font-size: 1.25rem; font-weight: 800; margin: 0; text-align: center; }
.recipe-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--primary-color); letter-spacing: 1px; margin-bottom: 10px; display: block; }
.recipe-card-content h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
.recipe-meta { display: flex; gap: 20px; font-size: 0.85rem; color: #888; }
.recipe-meta span i { margin-right: 5px; }

/* =========================================
   MODALS & DRAWERS
   ========================================= */
.modal-overlay, .drawer-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
    display: none; justify-content: center; align-items: center;
    z-index: 2000; opacity: 0; transition: opacity 0.3s ease; padding: 20px;
}
.modal-overlay { justify-content: flex-end; padding: 0; }
.modal-overlay.active, .drawer-overlay.active { display: flex; opacity: 1; }

.modal-content, .drawer-content {
    background: var(--bg-white); width: 100%; position: relative;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.modal-content { max-width: 550px; height: 100vh; overflow-y: auto; padding: 80px 60px; transform: translateX(100%); }
.drawer-content { max-width: 900px; max-height: 90vh; overflow-y: auto; transform: translateY(30px); border-radius: 12px; }

.modal-overlay.active .modal-content { transform: translateX(0); }
.drawer-overlay.active .drawer-content { transform: translateY(0); }

.modal-close, .drawer-close {
    position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text-muted);
    z-index: 10; background: var(--bg-white); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease;
}
.modal-close { left: 30px; right: auto; border: 1px solid var(--border-color); box-shadow: none; }
.modal-close:hover, .drawer-close:hover { color: var(--text-main); transform: scale(1.1); }
.modal-close:hover { transform: rotate(90deg); background: var(--bg-light); }

.modal-body h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 8px; line-height: 1.2; }
.modal-body h3 { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: var(--primary-color); margin-bottom: 40px; }
.modal-body p { font-size: 1.1rem; line-height: 1.8; color: #444; margin-bottom: 30px; }
.modal-body ul { list-style: none; margin-bottom: 50px; border-top: 1px solid var(--border-color); padding-top: 30px; }
.modal-body li { position: relative; padding-left: 30px; margin-bottom: 15px; color: #333; font-weight: 500; font-size: 1.05rem; }
.modal-body li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; color: var(--primary-color); }

/* Drawer Specifics */
.drawer-hero-img { width: 100%; height: 300px; object-fit: cover; border-bottom: 3px solid var(--primary-color); border-radius: 12px 12px 0 0; }
.drawer-body { padding: 40px; }
@media (min-width: 768px) {
    .drawer-body { padding: 50px; }
    .recipe-modal-columns { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
}
.drawer-body .recipe-category { font-size: 0.9rem; margin-bottom: 20px; }
.drawer-body h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 30px; line-height: 1.1; }
.recipe-stats { display: flex; gap: 40px; padding: 25px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: #999; letter-spacing: 1px; }
.stat-value { font-size: 1.1rem; font-weight: 800; color: var(--text-main); }
.recipe-section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 25px; text-transform: uppercase; }

.ingredients-list { list-style: none; margin-bottom: 50px; }
.ingredients-list li { padding: 12px 0; border-bottom: 1px solid #f5f5f5; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; color: #444; }
.ingredients-list li input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-color); }

.instructions-list { list-style: none; counter-reset: steps; }
.instructions-list li { position: relative; padding-left: 50px; margin-bottom: 30px; font-size: 1.1rem; line-height: 1.7; color: #444; }
.instructions-list li::before {
    counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0;
    width: 35px; height: 35px; background: var(--primary-color); color: var(--text-main);
    display: flex; align-items: center; justify-content: center; font-weight: 800; border-radius: 50%;
}

/* =========================================
   FOOTER & FORMS
   ========================================= */
footer { background-color: var(--bg-white); padding: 100px 0 40px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.footer-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.footer-contact-form { background-color: #f7f7f7; padding: 40px; border: 1px solid var(--border-color); }
.footer-col h5 { font-size: 0.9rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }
.footer-col p, .footer-col a { font-size: 0.95rem; color: #444; margin-bottom: 15px; display: block; }
.footer-bottom { text-align: center; border-top: 1px solid #ccc; padding-top: 20px; color: var(--text-muted); margin-top: 40px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control { width: 100%; padding: 15px; border: 2px solid var(--border-color); background-color: var(--bg-white); font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease; outline: none; }
.form-control:focus { border-color: var(--text-main); box-shadow: 6px 6px 0px var(--primary-color); transform: translate(-3px, -3px); }
textarea.form-control { resize: vertical; min-height: 150px; }
.btn-submit { width: 100%; margin-top: 10px; }

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, visibility; }
.fade-in-section.is-visible { opacity: 1; transform: none; }
.fade-in { animation: fadeIn 0.8s ease forwards; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.skeleton, .skeleton-card {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
}
.skeleton-card { height: 400px; border: 1px solid var(--border-color); }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =========================================
   RESPONSIVE
   ========================================= */
/* =========================================
   RESPONSIVE & MOBILE MENU
   ========================================= */

/* Κρύβουμε το hamburger και το κουμπί του mobile μενού στις οθόνες υπολογιστή */
@media (min-width: 901px) {
    .mobile-menu-btn, .mobile-menu-cta { display: none !important; }
}

@media (max-width: 900px) {
    .about-grid, .footer-grid, .footer-info-grid, .recipes-header { grid-template-columns: 1fr; }
    .footer-grid-3 { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .footer-grid-3 div { display: flex; flex-direction: column; align-items: center; }
    .recipes-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero h1 { font-size: 2.5rem; }
    
    /* Κρύβουμε το μεγάλο κουμπί "Κλείστε ραντεβού" του header */
    .desktop-only-btn { display: none !important; }

    /* --- MOBILE MENU (Hamburger & Slide-out) --- */
    .mobile-menu-btn { 
        display: block !important; 
        z-index: 1001; 
        position: relative; 
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Ξεκινάει κρυμμένο εκτός οθόνης στα δεξιά */
        width: 250px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        padding-top: 80px;
        gap: 25px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        transition: right 0.3s ease;
        display: flex;
        z-index: 1000;
    }

    /* Όταν πατάμε το hamburger, το JS βάζει την κλάση active και το μενού έρχεται μέσα */
    .nav-links.active { 
        right: 0 !important; 
    }

    /* Το κουμπί "Κλείστε Ραντεβού" μέσα στο mobile μενού */
    .nav-links .mobile-menu-cta {
        display: block !important;
        margin-top: 10px;
        width: 80%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .logo-img { max-height: 45px; }
    .logo-name { font-size: 1rem; }
    .logo-title { font-size: 0.75rem; }
}