/*
 * Personnalisation Les Grands Aulnes
 * Palette naturelle douce
 */

/* === VARIABLES DE COULEURS === */
:root {
    --vert-sauge: #7A8F7A;
    --vert-profond: #4F6652;
    --beige-clair: #F5F2EC;
    --blanc-casse: #FBFAF7;
    --gris-pierre: #3E3E3E;
    --sable-chaud: #D8CFC1;
}

/* === LOGO AVEC IMAGE DE FOND === */
#logo {
    background: var(--blanc-casse) url('../img/jardin-lumiere-naturelle-meung-sur-loire.jpg') center center no-repeat;
    background-size: cover;
    padding: 4em 2em;
    margin: 0;
    border-radius: 0;
    position: relative;
    top: 0 !important;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#logo h1 {
    color: var(--vert-sauge) !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    font-weight: 900;
    background: rgba(251, 250, 247, 0.9);
    padding: 0.5em 1em;
    border-radius: 0;
}

#logo p {
    color: var(--gris-pierre) !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
    background: rgba(251, 250, 247, 0.85);
    padding: 0.5em 1em;
    border-radius: 0;
    margin-top: 1em;
}

#logo h1 a {
    color: var(--vert-sauge) !important;
}

/* === TITRES === */
h1, h2, h3, h4, h5, h6 {
    color: var(--vert-sauge) !important;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: var(--vert-sauge) !important;
}

/* === LIENS === */
a {
    color: var(--vert-sauge);
}

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

/* === TEXTE === */
body, input, textarea, select {
    color: var(--gris-pierre);
    background-color: var(--beige-clair);
}

strong, b {
    color: var(--vert-sauge);
}

/* === BOUTONS (angles droits) === */
.button {
    background-color: var(--vert-sauge);
    color: #fff !important;
    border: 0;
    border-radius: 0 !important;
}

.button:hover {
    background-color: var(--vert-profond);
}

.button.style1 {
    background-color: var(--vert-sauge);
}

.button.style1:hover {
    background-color: var(--vert-profond);
}

.button.style2 {
    background-color: var(--vert-sauge);
    color: #fff !important;
}

.button.style2:hover {
    background-color: var(--vert-profond);
    color: #fff !important;
}

.button.style3 {
    background-color: var(--vert-sauge);
}

.button.style3:hover {
    background-color: var(--vert-profond);
}

/* === SECTIONS === */
.wrapper.style1 {
    background-color: var(--blanc-casse);
    color: var(--gris-pierre);
}

.wrapper.style1 .style1,
.wrapper.style1 .style2,
.wrapper.style1 .style3 {
    color: var(--gris-pierre) !important;
}

.wrapper.style2 {
    background-color: var(--beige-clair);
}

.wrapper.style3 {
    background-color: var(--beige-clair);
}

/* === HEADER === */
#header {
    background-color: var(--blanc-casse);
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.homepage #header {
    height: auto !important;
}

/* === NAVIGATION === */
#nav {
    z-index: 100;
    position: absolute;
    top: 1.5em;
}

#nav > ul {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 0 2em !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 0 !important;
}

#nav > ul > li > a,
#nav > ul > li > span {
    color: var(--vert-sauge) !important;
    font-weight: 600;
}

#nav > ul > li:hover > a {
    color: var(--vert-profond) !important;
}

#nav > ul > li.current > a,
#nav > ul > li.active > a {
    color: var(--vert-profond) !important;
    font-weight: bold;
}

/* Menu déroulant */
.dropotron {
    background: var(--blanc-casse) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.dropotron a {
    color: var(--vert-sauge) !important;
}

.dropotron a:hover {
    color: var(--vert-profond) !important;
}

/* === INTRO / SECTIONS TITRES === */
.title {
    background-color: var(--beige-clair);
    color: var(--gris-pierre) !important;
}

/* Titre sur section style1 (blanc-cassé) */
.wrapper.style1 .title {
    background-color: var(--blanc-casse);
    color: var(--gris-pierre) !important;
}

/* Titre sur section style2 (beige-clair) */
.wrapper.style2 .title {
    background-color: var(--beige-clair);
    color: var(--gris-pierre) !important;
}

/* Titre sur section style3 (beige-clair) */
.wrapper.style3 .title {
    background-color: var(--beige-clair);
    color: var(--gris-pierre) !important;
}

/* Titre sur footer vert - couleur unie */
#footer .title {
    background: var(--vert-profond);
    color: #fff !important;
}

/* Textes intro en gris foncé */
#intro .style1,
#intro .style2,
#intro .style3 {
    color: var(--gris-pierre) !important;
}

/* === HIGHLIGHTS === */
.highlight h3 {
    color: var(--vert-sauge) !important;
}

/* === FEATURES (Nos événements) === */
#features {
    padding: 2em 0 !important;
}

#features header.style1 {
    margin-bottom: 1.5em !important;
}

#features .feature-list {
    margin: 0 !important;
}

#features h3 {
    color: var(--vert-sauge) !important;
}

/* Alignement des boutons "En savoir plus" en mode bureau */
#features .row > div > section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#features .row > div > section .actions {
    margin-top: auto;
}

#features .button {
    white-space: normal;
    line-height: 1.2;
    padding: 0.8em 1.5em;
}

/* === FORMULAIRE === */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
    border-color: var(--sable-chaud);
    background-color: var(--blanc-casse);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--vert-sauge);
}

/* === FOOTER (vert profond) === */
#footer {
    background: var(--vert-profond);
    color: rgba(255, 255, 255, 0.85);
    padding: 3em 0 2em 0 !important;
}

/* Contact révélé dans le footer : fond clair → texte foncé */
#footer .contact-reveal__details {
    color: var(--gris-pierre) !important;
}
#footer .contact-reveal__details span {
    color: var(--gris-pierre) !important;
}

#footer .container {
    padding: 0 2em !important;
}

#footer header.style1 {
    margin-bottom: 1.5em !important;
    border: none !important;
}

#footer .title {
    border: none !important;
}

#footer h2, #footer h3 {
    color: #fff !important;
}

#footer header.style1 h2 {
    color: #fff !important;
}

#footer header.style1 p {
    color: rgba(255, 255, 255, 0.85);
}

#copyright {
    color: rgba(255, 255, 255, 0.7);
    border: none !important;
}

#copyright ul {
    border: none !important;
}

#copyright a {
    color: var(--sable-chaud);
}

/* === FEATURES / ICONES === */
.icon {
    color: var(--vert-sauge);
}

/* === BLOCKQUOTE === */
blockquote {
    border-left-color: var(--sable-chaud);
}

/* === HR === */
hr {
    border-top-color: var(--sable-chaud);
}

/* === HEADER STYLE1 === */
header.style1 h2 {
    color: var(--vert-sauge) !important;
}

header.style1 p {
    color: var(--gris-pierre);
}

header.style1 {
    border: none !important;
}

/* === RETRAIT DE TOUS LES TRAITS BLANCS === */
.title {
    border: none !important;
}

.box {
    border: none !important;
}

section {
    border: none !important;
}

/* Retrait de toutes les bordures blanches/claires */
ul.actions {
    border: none !important;
}

.wrapper {
    border: none !important;
}

#footer * {
    border-color: transparent !important;
}

.container {
    border: none !important;
}

/* === RESPONSIVE === */
@media screen and (max-width: 980px) {
    #logo {
        padding: 2em 1.5em;
        min-height: 300px;
        background-size: cover;
    }
}

@media screen and (max-width: 736px) {
    #logo {
        padding: 1.5em 1em;
        min-height: 250px;
        background-size: cover;
    }

    #logo h1 {
        font-size: 1.5em;
    }

    #logo p {
        font-size: 0.85em;
    }
}
