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

:root {
    --dark: #202522;
    --dark-light: #303632;
    --gold: #b59a6a;
    --gold-dark: #92794e;
    --cream: #f7f4ee;
    --white: #ffffff;
    --text: #4d514d;
    --border: #e6e1d8;

    --font-title: "Playfair Display", serif;
    --font-body: "Montserrat", sans-serif;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

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

button,
input,
textarea,
select {
    font-family: inherit;
}

/* ================================
   UTILITAIRES
================================ */

.container {
    width: min(1120px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--cream);
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

h1,
h2,
h3 {
    color: var(--dark);
    line-height: 1.2;
}

h1,
h2 {
    font-family: var(--font-title);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

p {
    margin-bottom: 15px;
}

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

.header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(25, 28, 26, 0.2);
    backdrop-filter: blur(8px);
}

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

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

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

.hero {
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url("https://images.unsplash.com/photo-1564501049412-61c2a3083791?auto=format&fit=crop&w=2000&q=85");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 20, 17, 0.75),
        rgba(15, 20, 17, 0.25)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-top: 80px;
}

.hero .eyebrow {
    color: #d6bd8d;
}

.hero h1 {
    color: white;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 25px;
}

.hero-content > p:not(.eyebrow) {
    max-width: 600px;
    font-size: 1.1rem;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: white;
    color: white;
}

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

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

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

.intro-grid p {
    max-width: 550px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold-dark);
    font-weight: 700;
}

/* ================================
   SECTIONS
================================ */

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

.section-heading p:last-child {
    margin-top: 15px;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    padding: 35px 25px;
    background: white;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
}

/* ================================
   CHAMBRES
================================ */

.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.room-card {
    background: var(--cream);
}

.room-card img {
    height: 380px;
    object-fit: cover;
}

.room-content {
    padding: 30px;
}

.room-content h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.price {
    display: block;
    margin-top: 20px;
    color: var(--gold-dark);
    font-weight: 700;
}

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

.cta {
    padding: 100px 0;
    background: var(--dark);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .eyebrow {
    color: #d0b57f;
}

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

.page-hero {
    padding: 180px 0 100px;
    background: var(--dark);
    color: white;
}

.page-hero h1 {
    color: white;
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
}

.page-hero p:last-child {
    max-width: 600px;
    color: #d9d9d9;
}

/* ================================
   VISITE
================================ */

.visit-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 100px;
}

.visit-item.reverse .visit-image {
    order: 2;
}

.visit-image img {
    height: 500px;
    object-fit: cover;
}

.visit-content p:not(.eyebrow) {
    max-width: 500px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 45px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail > span {
    font-size: 1.5rem;
}

.contact-detail h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-detail p {
    margin: 0;
}

.contact-form-container {
    padding: 45px;
    background: var(--cream);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    background: white;
    outline: none;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 15px;
    color: var(--gold-dark);
    font-weight: 600;
}

/* ================================
   AVIS
================================ */

.rating-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 60px;
}

.rating-number {
    font-family: var(--font-title);
    color: var(--dark);
    font-size: 5rem;
    line-height: 1;
}

.stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.review-card {
    padding: 35px;
    border: 1px solid var(--border);
    background: white;
}

.review-top {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.avatar {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.review-top h3 {
    font-size: 1rem;
}

.review-date {
    display: block;
    margin-top: 25px;
    color: #999;
    font-size: 0.75rem;
}

.review-cta {
    margin-top: 80px;
    padding: 60px;
    text-align: center;
    background: var(--cream);
}

.review-cta h2 {
    margin-bottom: 10px;
}

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

.footer {
    background: var(--dark);
    color: #c6c9c6;
    padding-top: 70px;
}

.footer .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-grid a:not(.logo) {
    display: block;
    margin-bottom: 8px;
    transition: 0.2s;
}

.footer-grid a:not(.logo):hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.75rem;
}

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

@media (max-width: 900px) {

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid,
    .contact-grid,
    .visit-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit-item.reverse .visit-image {
        order: 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    .navbar {
        height: 75px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px;
        flex-direction: column;
        gap: 15px;
        background: var(--dark);
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        min-height: 700px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cards-grid,
    .room-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .room-card img {
        height: 300px;
    }

    .visit-image img {
        height: 350px;
    }

    .contact-form-container {
        padding: 25px;
    }

    .rating-summary {
        flex-direction: column;
        text-align: center;
    }

    .review-cta {
        padding: 40px 20px;
    }
}