/*
Theme Name: Zellij Coffee House
Author: Mathis
Version: 1.0
*/


main.corps.bientot-page.flex.flex-col.items-center.justify-center.min-h-\[calc\(100vh-80px\)\].p-6.selection\:bg-emerald\/10 {
    margin-top: 80px !important;
}
input.tnp-submit {
    width: 100% !important;
    background-color: #c36431 !important;
    border-radius: 0.5rem;
    color: black !important;
}
input#tnp-1 {
    background-color: #ffffff26;
    border-color: #655b5b !important;
    border-radius: 0.5em;
    border: 1px solid;
    color: white;
}

section#about {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url(/wp-content/uploads/2026/03/background_section.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 4px 10px 10px rgba(0, 0, 0, 0.2);
}

p.leading-relaxed {
    font-weight: bold;
}
:root {
    --emerald: #285C49;
    --cream: #F6F1E7;
}
html {
    scroll-behavior: smooth;
}
.max-w-7xl.mx-auto.px-4.sm\:px-6.lg\:px-8 {
}
.logo {
    max-width: 113px;
    width: auto;
    height: 80px;
    object-fit: contain;
}
body {
    font-family: 'Montserrat', sans-serif ;
    background-color: white !important;
}

* {
    font-family: 'Montserrat', sans-serif;
}

/* Déclaration de la police Quinia (placer Quinia.otf dans assets/fonts/) */
@font-face {
    font-family: 'Quinia';
    src: local('Quinia'), url('assets/fonts/Quinia.otf') format('opentype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* Polices pour les titres */
h1, h2, h3, h4, h5, h6, .zellij-logo, a.text-primary {
    font-family: 'Quinia', serif !important ;
}

.material-symbols-outlined {
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.hero-pattern {
    background-color: #285c49;
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuCq6j-AeVFUC4XSLzu058KbAvhH7YEYG1eRN9wJPHmcj3nKwgBZQSuhpNsmboxNE4wtDMlcL2MVlDfedgCp9Rc5xdL0Hb3f3C9DUUDQai1MsxtDJlqxLsbMmLm6lOtKto8gv3WxJ9wjJrV5gyvME90QBuz6t72BnQpp9GAgCV-0MafST69ZFwwNM9_FvBmrYopuaEBBKz1S2oI39vVloz--NYigja5aEVCW1FgsMYDlH-KlaOxnvjLrnTJwac9z5zDnV5xE9qW08eo);
}

/* Hero full-screen section */
.hero-section {
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Ensure the hero background image covers the section */
.hero-section .absolute.inset-0 img,
.hero-section .absolute.inset-0 > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zellij-logo {
    font-family: "DM Serif Display", serif;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-weight: 900;
}

.map-pattern {
    background-color: #e5e7eb;
    background-image: radial-gradient(#9ca3af 1px, transparent 1px);
    background-size: 20px 20px;
}
.max-w-7xl {
    max-width: 100% !important;
}

.bg-accent {
    --tw-bg-opacity: 1;
    background-color: rgb(40 92 73 / var(--tw-text-opacity, 1)) !important;
}

a.zellij-logo.text-4xl.text-primary.dark\:text-sage {
    display: flex;
}

.topbar {
  background-color: var(--emerald);
  color: var(--cream);
  text-align: center !important;
  font-size: 20px !important;
  padding: 0px 0;
  font-family: 'Montserrat', sans-serif;
  height: 30px;
  align-content: center;
}
.concept {
    padding-top: 3rem;
    padding-bottom: 4rem;
}
.hidden.md\:flex.space-x-10.items-center {
    font-size: 30px;
}

img.block.w-fit {
    max-height: 100px;
}

a.bg-accent.hover\:bg-accent\/90.text-white.px-8.py-4.rounded-full.font-bold.text-center.transition-all.shadow-lg.hover\:shadow-xl.hover\:-translate-y-1.flex.items-center.justify-center.gap-2.uppercase.tracking-wide.text-sm {
    font-size: 20px;
}

.ContactForm {
    display: none;
}
.ContactForm.is-visible {
    display: block;
}
/* Comportement identique pour le formulaire Carrière */
.CarriereForm {
    display: none;
}
.CarriereForm.is-visible {
    display: block;
}

.hidden.md\:flex.items-center.space-x-6 {
    width: 110px;
} 

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: block;
    margin: 1rem auto; /* centre horizontalement et ajoute de l'espace vertical */
    background-color: #c36431; /* secondary color */
    color: black;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #a05528; /* darker shade for hover */
}

/* Pour écrans large (>=1024px) : positionner avec margin-left fixe */
@media (min-width: 1024px) {
    input.wpcf7-form-control.wpcf7-submit.has-spinner {
        align-items: center;
        max-width: 200px;
        width: 200px;
    }
}
.corps {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}
section#about {
    border-radius: 25px;
}
.topbar.bg-primary.text-white.text-center.py-2.text-sm {
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-bottom: 25px;
}
h2.font-display.text-5xl.text-primary.dark\:text-white.mb-8 {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer {
        padding-bottom: 4rem; /* Increase bottom padding on mobile to ensure newsletter form is fully visible */
    }
}

/* layout for bientot page body */
.bientot-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.bientot-page-body .bientot-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


a.hover\:text-secondary.transition-colors {
    color: rgb(190 197 209);
}

p.text-gray-400.mb-4.text-sm {
    color: rgb(190 197 209);
}
p.text-gray-400.italic.border-l-2.border-secondary.pl-4 {
    color: rgb(190 197 209);
}

p.text-gray-500.text-xs {
    color: rgb(190 197 209);
}

button.bg-secondary.hover\:bg-secondary\/90.text-white.font-bold.py-3.rounded.w-full.transition-colors.uppercase.text-xs.tracking-widest{
    color: black;
}



/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

/* =========================
   LEFT SIDE (FORM)
========================= */

.contact-form-wrapper {
    flex: 1;
    padding: 60px;
}

.contact-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-header p {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

/* CF7 FORM STRUCTURE */

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Remove default <p> margins */
.contact-form .wpcf7-form p {
    margin: 0;
}

/* LABELS */

.contact-form label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
    color: #285C49;
}

/* INPUTS + TEXTAREA */

.contact-form .wpcf7-form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form textarea.wpcf7-form-control {
    min-height: 140px;
    resize: vertical;
}

/* FOCUS STATE */

.contact-form .wpcf7-form-control:focus {
    border-color: #2e7d32;
    outline: none;
    background: #ffffff;
}

/* =========================
   BUTTON
========================= */

.contact-form .wpcf7-submit {
    align-self: flex-start;
    padding: 14px 40px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .wpcf7-submit:hover {
    background: #256628;
}

/* Spinner align */

.contact-form .wpcf7-spinner {
    margin-left: 10px;
}

/* =========================
   VALIDATION STATES
========================= */

/* Error input */
.contact-form .wpcf7-not-valid {
    border-color: #d32f2f !important;
    background: #fff5f5;
}

/* Error message text */
.contact-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 6px;
}

/* Response box */

.contact-form .wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

/* Success message */
.contact-form .wpcf7-mail-sent-ok {
    background: #e8f5e9;
    border: 1px solid #2e7d32;
    color: #2e7d32;
}

/* Error message */
.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-mail-sent-ng {
    background: #fdecea;
    border: 1px solid #d32f2f;
    color: #d32f2f;
}

/* =========================
   RIGHT SIDE
========================= */

.contact-info {
    width: 380px;
    background: #f5f5f5;
    padding: 60px;
}

.contact-info h2 {
    margin-bottom: 40px;
    color: #285C49;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(46,125,50,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-label {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #285C49;
    margin-bottom: 4px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        width: 100%;
    }
}
.contact-title {
    color : #285C49 ;
}

/* =========================
   STOREFRONT IMAGE
========================= */

.storefront-container {
    margin-top: 20px;
    width: 100%;
    max-height: 600px;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.storefront-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.info-item.loc {
    margin-bottom: 60%;
}



