/* ===================================
   SAUCE BUTXU - STYLES
   Cuisine à domicile au Pays Basque
   =================================== */

/* ===================================
   VARIABLES & RESET
   =================================== */

:root {
    /* Brand Colors */
    --blanc-casse: #F7F5F0;
    --vert-sauge: #8FA99B;
    --jaune: #F2C94C;
    --terracotta: #D88C6A;
    --vert-olive: #3F4F45;
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--blanc-casse);
    color: var(--vert-olive);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.85;
}

a {
    color: var(--vert-olive);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--vert-sauge);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--vert-sauge);
    color: white;
}

.btn-primary:hover {
    background-color: var(--vert-olive);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(63, 79, 69, 0.2);
}

.btn-secondary {
    background-color: var(--jaune);
    color: var(--vert-olive);
}

.btn-secondary:hover {
    background-color: #e8be3f;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--vert-olive);
    color: var(--vert-olive);
}

.btn-outline:hover {
    background-color: var(--vert-olive);
    color: white;
}

.link-arrow {
    color: var(--vert-sauge);
    font-weight: 500;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--vert-olive);
    transform: translateX(5px);
    display: inline-block;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background-color: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vert-olive);
    letter-spacing: 0.5px;
}

.logo:hover {
    color: var(--vert-sauge);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--vert-sauge);
    transition: var(--transition);
}

.nav-menu a:not(.btn-contact):hover::after,
.nav-menu a.active:not(.btn-contact)::after {
    width: 100%;
}

.btn-contact {
    padding: 0.75rem 1.5rem;
    background-color: var(--jaune);
    border-radius: 50px;
    color: var(--vert-olive);
}

.btn-contact:hover {
    background-color: var(--vert-sauge);
    color: white;
}

.btn-contact.active {
    background-color: var(--vert-olive);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--vert-olive);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--blanc-casse) 0%, rgba(143, 169, 155, 0.1) 100%);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--vert-olive);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--vert-olive);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(143, 169, 155, 0.1) 0%, var(--blanc-casse) 100%);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   SERVICES PREVIEW
   =================================== */

.services-preview {
    padding: var(--spacing-xxl) 0;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--vert-olive);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* ===================================
   ABOUT PREVIEW
   =================================== */

.about-preview {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image .placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--vert-sauge) 0%, var(--terracotta) 100%);
    border-radius: 20px;
}

/* ===================================
   PRESTATION DETAIL
   =================================== */

.prestation-detail {
    padding: var(--spacing-xxl) 0;
}

.prestation-detail.alt {
    background-color: white;
}

.prestation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.prestation-content.reverse {
    direction: rtl;
}

.prestation-content.reverse > * {
    direction: ltr;
}

.prestation-label {
    display: inline-block;
    background-color: var(--jaune);
    color: var(--vert-olive);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.prestation-text h2 {
    margin-bottom: 1.5rem;
}

.prestation-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--vert-sauge);
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--vert-sauge);
    font-weight: bold;
    font-size: 1.2rem;
}

.prestation-image .placeholder-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--vert-sauge) 0%, var(--terracotta) 100%);
    border-radius: 20px;
}

/* Info Box - SAP */
.info-box {
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 15px;
    background-color: rgba(143, 169, 155, 0.1);
    border-left: 4px solid var(--vert-sauge);
}

.info-box h4 {
    color: var(--vert-sauge);
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 0.75rem;
}

.info-box strong {
    color: var(--vert-olive);
}

/* ===================================
   FAQ
   =================================== */

.faq-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.faq-category {
    margin-bottom: var(--spacing-lg);
}

.faq-category h2 {
    margin-bottom: var(--spacing-md);
    color: var(--vert-olive);
}

.highlight-category {
    background-color: rgba(242, 201, 76, 0.1);
    padding: var(--spacing-md);
    border-radius: 20px;
    border: 2px solid rgba(242, 201, 76, 0.3);
}

.faq-item {
    background-color: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item.featured {
    border: 2px solid var(--jaune);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vert-olive);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--vert-sauge);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--vert-sauge);
    transition: var(--transition);
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
}

/* ===================================
   ABOUT FULL PAGE
   =================================== */

.about-full {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.about-layout {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: var(--spacing-lg);
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-image-block {
    margin: var(--spacing-lg) 0;
}

.about-image-block .placeholder-image {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--vert-sauge) 100%);
    border-radius: 20px;
}

.about-story,
.about-personality,
.about-choice {
    margin: var(--spacing-lg) 0;
}

.values-list {
    background-color: rgba(143, 169, 155, 0.1);
    padding: var(--spacing-md);
    border-radius: 15px;
    margin: var(--spacing-md) 0;
}

.values-list h4 {
    color: var(--vert-sauge);
    margin-bottom: 1rem;
}

.values-list ul {
    list-style: none;
}

.values-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--vert-sauge);
    font-weight: bold;
}

.about-closing {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.closing-text {
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 300;
    color: var(--vert-olive);
}

.signature {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.2) 0%, rgba(143, 169, 155, 0.2) 100%);
    border-radius: 15px;
    text-align: center;
}

.signature p {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--vert-olive);
    margin: 0;
}

/* ===================================
   MA CUISINE PAGE
   =================================== */

.cuisine-philosophy,
.cuisine-approach,
.cuisine-values {
    padding: var(--spacing-xxl) 0;
}

.cuisine-approach {
    background-color: white;
}

.philosophy-content h2,
.approach-content h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.philosophy-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.philosophy-item h3 {
    margin-bottom: 1rem;
}

.approach-steps {
    margin-top: var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.step {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vert-sauge) 0%, var(--terracotta) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--noir-charbon);
}

.step p {
    color: var(--gris-ardoise);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--vert-sauge);
    margin-bottom: 0.75rem;
}

.cuisine-values h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
}

.contact-info {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--vert-sauge);
}

.contact-item a {
    color: var(--vert-olive);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--vert-sauge);
}

/* Form Styles */
.contact-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.form-intro {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: rgba(143, 169, 155, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
}

.form-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(143, 169, 155, 0.2);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--vert-sauge);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--vert-olive);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(143, 169, 155, 0.3);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--blanc-casse);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vert-sauge);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Checkbox and Radio Styles */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.checkbox-label:hover,
.radio-label:hover {
    background-color: rgba(143, 169, 155, 0.05);
}

.checkbox-label input,
.radio-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--vert-sauge);
}

.form-submit {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.form-submit .btn {
    min-width: 250px;
    margin-bottom: var(--spacing-md);
}

.form-end-text {
    font-style: italic;
    color: var(--vert-sauge);
    margin-top: var(--spacing-md);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(242, 201, 76, 0.15) 0%, rgba(143, 169, 155, 0.15) 100%);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--vert-olive);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--jaune);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: white;
}

.footer-section a:hover {
    color: var(--jaune);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--blanc-casse);
        padding: var(--spacing-md);
        gap: 1rem;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Hero */
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* About */
    .about-content,
    .prestation-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .prestation-content.reverse {
        direction: ltr;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
    }
    
    /* Steps */
    .approach-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .step {
        padding: var(--spacing-lg);
    }
    
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    /* Spacing */
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.philosophy-item,
.value-card {
    animation: fadeIn 0.6s ease forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }

/* ===================================
   UTILITIES
   =================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

