/* theme.css — "Pierre & Vigne" look for duras.fr (2026-10-24), loaded after styles.css on every public page. */
:root {
    --stone: #f6f1e7;
    --stone-dark: #e9dfcc;
    --paper: #ffffff;
    --ink: #2b2420;
    --muted: #6d625a;
    --wine: #7a1f3d;
    --wine-dark: #5c142c;
    --vine: #4f6b3a;
    --gold: #c8a15a;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(43, 36, 32, 0.08);
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: var(--stone);
}

/* Header: light, calm, the brand in wine red */
header {
    background: rgba(246, 241, 231, 0.96);
    color: var(--ink);
    border-bottom: 1px solid var(--stone-dark);
    padding: 14px 28px;
    position: sticky;
    top: 0;
    z-index: 50;
}
.logo {
    background: none;
    padding: 0;
}
.logo a {
    color: var(--wine);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
nav a {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}
nav a:hover {
    transform: none;
    color: var(--wine);
    border-bottom-color: var(--wine);
}
.hamburger, .hamburger i, .language-btn, .login, .register, .account-btn {
    color: var(--ink) !important;
}

/* Hero: the video stays, with a warm gradient so the text reads on any frame */
.hero {
    padding: 150px 20px 130px;
    color: #fff;
    background: var(--ink);
}
/* Neutral shade (no color tint) so the title stays readable on any frame of the video */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.30) 55%, rgba(0, 0, 0, 0.40) 100%);
}
.hero-content {
    z-index: 11;
}
.hero-text {
    background: none;
    backdrop-filter: none;
    width: auto;
    max-width: 760px;
}
.hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero p {
    font-size: 21px;
    color: #f6f1e7;
}
.hero-search form {
    max-width: 620px;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-search input[type="text"] {
    flex: 1;
    width: auto;
    min-width: 0;   /* lets the field shrink so the button always fits inside the bar */
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 16px;
}
.hero-search button {
    background: var(--wine);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Sections: serif titles, wine accent, more air */
.content-section {
    padding: 64px 24px;
}
.content-section:nth-of-type(even) {
    background: var(--paper);
}
.content-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--ink);
}
.h2Link {
    color: var(--wine);
}
.content-section p {
    color: var(--muted);
    font-size: 17px;
}

/* Cards: three per row, rounded, photo on top, name in serif */
.card-container {
    max-width: 1180px;
    margin: 0 auto;
    gap: 28px;
}
.card-wrapper {
    width: 360px;
}
.card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--stone-dark);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(43, 36, 32, 0.14);
}
.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
}
.card-image img {
    aspect-ratio: 4 / 3;
}
.card-info {
    padding: 4px 18px 10px;
}
.card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 21px;
    color: var(--ink);
    text-align: left;
}
.card-button {
    background: var(--stone);
    color: var(--wine);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
}

/* Footer: dark ink, stone text */
footer {
    background: var(--ink);
    color: var(--stone);
    border-top: 4px solid var(--wine);
}
footer a, footer h3, footer i {
    color: var(--stone) !important;
}

@media (max-width: 700px) {
    header {
        padding: 12px 16px;
    }
    .logo a {
        font-size: 22px;
    }
    .hero {
        padding: 110px 16px 90px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero-search form {
        width: 100%;
        box-sizing: border-box;
    }
    .hero-search button {
        padding: 12px 18px;
    }
    .content-section h2 {
        font-size: 30px;
    }
    .card-wrapper, .card-image {
        width: 100%;
    }
}

/* Account buttons: outlined in wine instead of grey blocks */
.login, .register, .account-btn {
    background: transparent !important;
    border: 1.5px solid var(--wine) !important;
    color: var(--wine) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-weight: 600;
}
.register {
    background: var(--wine) !important;
    color: #fff !important;
}
/* Keep the menu on one line on desktop */
nav {
    gap: 2px;
    flex-wrap: nowrap;
}
nav a {
    font-size: 14px;
    padding: 6px 8px;
    white-space: nowrap;
}

/* Medium screens: let the menu wrap instead of overflowing */
@media (max-width: 1300px) {
    nav {
        flex-wrap: wrap;
    }
}

/* Phone/tablet menu: light panel under the header, dark links */
@media (max-width: 1024px) {
    nav {
        background: var(--stone);
        border-bottom: 1px solid var(--stone-dark);
        box-shadow: 0 10px 24px rgba(43, 36, 32, 0.12);
    }
    nav a {
        color: var(--ink);
        border-bottom: none;
        font-size: 18px;
        padding: 10px 0;
    }
    nav a:hover {
        color: var(--wine);
        transform: none;
        font-size: 18px;
    }
    nav a:not(.mobile-account a)::after {
        background: rgba(43, 36, 32, 0.12);
    }
}

/* Text pages (guide, terms): same titles and link colors as the rest of the site */
body main.guide h1,
body main.guide h2,
body main.content-section h1,
body main.content-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
}
body main.guide h3,
body main.content-section h3 {
    color: var(--wine);
}
body main.guide a,
body main.content-section a {
    color: var(--wine);
}

/* Listing pages (business.css loads after this file, hence the "body" prefix) */
body .business-title {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
}
body .small-btn,
body .small-btn-noW,
body .visible-phone,
body .weblink,
body .modal-buttons .btn,
body .close-btn {
    background: var(--wine);
}
body .small-btn:hover,
body .small-btn-noW:hover,
body .visible-phone:hover,
body .weblink:hover,
body .modal-buttons .btn:hover,
body .close-btn:hover {
    background: var(--wine-dark);
}
body .address-elem:hover,
body .back-link,
body .social-icon-btn {
    color: var(--wine);
}
body .social-icon-btn:hover {
    color: var(--wine-dark);
}

/* Banner without video (search pages): light stone instead of a dark block */
.hero:not(:has(.hero-video)) {
    background: var(--stone-dark);
    color: var(--ink);
    padding: 90px 20px 80px;
}
.hero:not(:has(.hero-video))::after {
    display: none;
}
.hero:not(:has(.hero-video)) h1 {
    color: var(--ink);
    text-shadow: none;
}
.hero:not(:has(.hero-video)) p {
    color: var(--muted);
}

/* Guide FAQ questions (the page's own rule is more specific than the ones above) */
body main.guide .faq h3 {
    color: var(--ink);
}
