/* ==================================================
   VARIABLES
================================================== */

:root {
    --background: #f7f4ef;
    --background-light: #fbfaf7;
    --text: #292622;
    --text-light: #6f6a63;
    --accent: #9b624e;
    --border: #ddd7cf;
    --white: #ffffff;

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;

    --max-width: 1200px;
}


/* ==================================================
   RESET
================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}


/* ==================================================
   ELEMENTS GÉNÉRAUX
================================================== */

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.05;
}

h2 {
    font-size: clamp(42px, 5vw, 68px);
}

p {
    color: var(--text-light);
}


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

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(247, 244, 239, 0.92);
}

.header-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
}

.logo span {
    display: block;
    margin-top: 6px;

    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.navigation {
    display: flex;
    gap: 32px;
}

.navigation a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--accent);
}


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

.hero {
    min-height: 1000px;
    padding-top: 100px;

    display: grid;
    grid-template-columns: 55% 45%;

    background: var(--background);
}

.hero-image {
    background-image:
        linear-gradient(
            rgba(30, 25, 20, 0.05),
            rgba(30, 25, 20, 0.05)
        ),
        url("imagesPeintures/Designer.jpeg");

	background-position: top;
    background-size: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px;
}

.small-title {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(58px, 7vw, 100px);
}

.hero h1 em {
    color: var(--accent);
    font-weight: 400;
}

.hero-text {
    max-width: 630px;
    margin: 35px 0;
    font-size: 16px;
}


/* ==================================================
   BOUTONS
================================================== */

.button {
    display: inline-block;
    align-self: flex-start;

    padding: 16px 28px;

    background: var(--text);
    color: var(--white);

    border: 1px solid var(--text);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.button:hover {
    background: transparent;
    color: var(--text);
}

.text-link {
    display: inline-block;
    margin-top: 20px;

    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.text-link:hover {
    color: var(--accent);
}


/* ==================================================
   INTRO
================================================== */

.intro {
    background: var(--background-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro h2 {
    max-width: 500px;
}

.intro-text {
    max-width: 620px;
}

.intro-text p {
    margin-bottom: 25px;
}


/* ==================================================
   GALERIE
================================================== */

.gallery {
    background: var(--background);
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 70px;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 75px 35px;
}

.art-card {
    overflow: hidden;
}

.art-image {
    overflow: hidden;
    background: #e8e3dc;
}

.art-image img {
    object-fit: cover;
    transition: transform 0.6s ease;
}

.art-card:hover .art-image img {
    transform: scale(1.60);
}

.art-info {
    padding-top: 18px;
}

.art-info h3 {
    font-size: 27px;
    margin-bottom: 4px;
}

.art-info p {
    font-size: 11px;
    letter-spacing: 0.5px;
}


/* ==================================================
   À PROPOS
================================================== */

.about {
    background: var(--background-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 100px;
    align-items: center;
}

.about-photo img {
    aspect-ratio: 4 / 6;
    object-fit: cover;
}

.about-content {
    max-width: 560px;
}

.about-content h2 {
    margin-bottom: 35px;
}

.about-content p {
    margin-bottom: 20px;
}

.signature {
    margin-top: 35px;

    font-family: var(--serif);
    font-size: 42px;
    font-style: italic;
}


/* ==================================================
   EXPOSITIONS
================================================== */

.events {
    background: var(--background);
}

.events-list {
    max-width: 850px;
    margin: 0 auto;
}

.event {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;

    padding: 35px 0;

    border-top: 1px solid var(--border);
}

.event:last-child {
    border-bottom: 1px solid var(--border);
}

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

.event-date strong {
    display: block;

    font-family: var(--serif);
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.event-date span {
    color: var(--accent);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.event-content h3 {
    font-size: 30px;
    margin-bottom: 5px;
}

.event-content p {
    margin-bottom: 3px;
}

.event-content > span {
    color: var(--accent);
    font-size: 11px;
}


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

.contact {
    background: #e9e2d8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact h2 {
    margin-bottom: 30px;
}

.contact-grid > div > p {
    max-width: 480px;
    margin-bottom: 30px;
}

.email {
    display: inline-block;

    font-family: var(--serif);
    font-size: 26px;

    border-bottom: 1px solid var(--text);
}

.socials {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.socials a {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.socials a:hover {
    color: var(--accent);
}


/* ==================================================
   FORMULAIRE
================================================== */

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 7px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    margin-bottom: 25px;
    padding: 15px;

    background: transparent;
    border: none;
    border-bottom: 1px solid #bdb5aa;

    color: var(--text);

    outline: none;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--text);
}

.contact-form textarea {
    min-height: 140px;
}

.contact-form .button {
    margin-top: 5px;
}


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

.footer {
    padding: 40px 0;
    background: var(--text);
    color: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer strong {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
}

.footer p {
    color: #aaa49d;
    font-size: 11px;
}

.footer strong + p {
    margin-top: 3px;
}


/* ==================================================
   RESPONSIVE — TABLETTES
================================================== */

@media (max-width: 900px) {

    .header-inner {
        min-height: 80px;
    }

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 9px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content {
        padding: 40px;
    }

    .intro-grid,
    .about-grid,
    .contact-grid {
        gap: 50px;
    }

    .section {
        padding: 90px 0;
    }

}


/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 700px) {

    .header {
        position: relative;
    }

    .header-inner {
        padding: 20px 0;

        flex-direction: column;
        gap: 20px;
    }

    .navigation {
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }


    .hero {
        display: flex;
        flex-direction: column;

        min-height: auto;
        padding-top: 0;
    }

    .hero-image {
        min-height: 500px;
    }

    .hero-content {
        padding: 70px 5%;
    }

    .hero h1 {
        font-size: 60px;
    }


    .section {
        padding: 75px 0;
    }


    .intro-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .about-photo {
        order: 1;
    }

    .about-content {
        order: 2;
    }


    .event {
        grid-template-columns: 70px 1fr;
        gap: 20px;
    }

    .event-date strong {
        font-size: 38px;
    }

    .event-content h3 {
        font-size: 25px;
    }


    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

}