/*
Theme Name: Vue du Château
Version: 2.0.0
Description: Thème identique au site Vue du Château d'Excideuil
*/

@font-face {
    font-family: "italiana";
    src: url('assets/fonts/boxftwy3mvsjsyqoymxn.ttf');
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { 
    font-family: 'Didact Gothic', sans-serif; 
    color: #305066; 
    line-height: 1.6;
    background: #fff;
}
a { color: #305066; text-decoration: none; transition: all 0.3s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Playfair Display', Georgia, serif; 
    color: #305066; 
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Header - Single Line Chic */
.site-header {
    background: linear-gradient(135deg, #1e3444 0%, #2a4a5e 100%) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}
body {
    padding-top: 60px !important;
}
/* Ajustement pour la barre admin WordPress */
.admin-bar .site-header {
    top: 32px !important;
}
.admin-bar {
    padding-top: 92px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
    .admin-bar {
        padding-top: 106px !important;
    }
}
.site-header .header-single-line {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 2% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    gap: 10px !important;
    width: 100% !important;
}
.site-header .site-logo {
    flex-shrink: 0 !important;
    min-width: 180px !important;
    flex: 0 0 auto !important;
}
.site-header .language-switcher {
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
}
.site-logo a {
    font-family: 'Dancing Script', cursive;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Parallax Section */
.parallax-section {
    position: relative;
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(48, 80, 102, 0.3);
}
.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.parallax-content .btn {
    background: rgba(48, 80, 102, 0.8);
    border-color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 25px 5%;
    display: none;
}
.cookie-banner.show { display: block; }
.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.cookie-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}
.cookie-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #305066;
}
.cookie-btn.reject, .cookie-btn.settings {
    background: transparent;
    color: #305066;
}
.cookie-btn.accept {
    background: #305066;
    color: #fff;
}

/* Navigation - Single Line */
.site-header .main-nav,
.site-header ul.main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    max-width: calc(100% - 400px);
}
.site-header .main-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 1;
}
.site-header .main-nav li a {
    color: rgba(255,255,255,0.95) !important;
    font-family: 'Nunito', sans-serif !important;
    text-transform: uppercase !important;
    font-size: clamp(10px, 1vw, 12px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 20px 8px !important;
    display: block !important;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.main-nav li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #c9a961;
    transition: width 0.3s ease;
}
.main-nav li a:hover::after {
    width: 60%;
}

/* Language Switcher - Compact */
.language-switcher {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.language-switcher a {
    color: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}
.language-switcher a:hover,
.language-switcher a.current {
    background: #fff;
    color: #305066;
    border-color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    background: #305066;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 8px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}
.btn:hover {
    background: #fff;
    color: #305066;
    text-decoration: none;
}
.btn-outline {
    background: transparent;
    border-color: #305066;
    color: #305066;
}
.btn-outline:hover {
    background: #305066;
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(60, 64, 89, 0.3);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 2rem;
}
.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0.9;
}
/* Best Rate in Hero */
.hero-content .best-rate {
    font-size: 16px;
    color: #fff;
    background: rgba(0, 100, 0, 0.7);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Booking Bar - Fixed (appears on scroll) */
.booking-fixed {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 998;
    background: linear-gradient(135deg, #1a3a4a 0%, #305066 100%);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.booking-fixed.show {
    transform: translateY(0);
}
.booking-fixed span {
    color: #fff;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 15px;
    font-weight: bold;
}
.booking-fixed .btn-sm {
    padding: 8px 20px;
    font-size: 14px;
    background: #fff;
    color: #305066;
    border: none;
    border-radius: 5px;
}
.booking-fixed .btn-sm:hover {
    background: #f0f0f0;
}
@media (max-width: 768px) {
    .booking-fixed {
        gap: 10px;
        padding: 10px 15px;
    }
    .booking-fixed span {
        font-size: 12px;
    }
    .booking-fixed .btn-sm {
        padding: 6px 15px;
        font-size: 12px;
    }
}

/* Sections */
.section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
}
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.separator hr {
    width: 80px;
    border: none;
    height: 1px;
    background: #000076;
}

/* Chambres Grid */
.chambres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.chambre-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    height: 300px;
}
.chambre-card-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.chambre-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.chambre-card:hover .chambre-card-image img {
    transform: scale(1.1);
}
.chambre-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(48, 80, 102, 0.85);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.chambre-card:hover .chambre-card-overlay {
    transform: translateY(0);
}
.chambre-card-overlay h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.chambre-card-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}
.service-item {
    padding: 20px;
}
.service-item .icon {
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-item .icon img {
    width: 80px;
    height: 80px;
}
.service-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    color: #305066;
    margin-bottom: 10px;
}
.service-item p {
    font-size: 14px;
    color: #305066;
    line-height: 1.5;
}

/* Services Grid V2 - Design avec descriptions détaillées */
.services-v2 {
    padding: 60px 5%;
}
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.service-item-v2 {
    text-align: center;
    padding: 20px 15px;
}
.service-item-v2 .icon-outline {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #305066;
}
.service-item-v2 .icon-outline svg {
    width: 100%;
    height: 100%;
}
.service-item-v2 h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    color: #305066;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.service-item-v2 p {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}
@media (max-width: 1200px) {
    .services-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .services-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .services-grid-v2 { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-item {
    text-align: center;
    padding: 30px;
}
.testimonial-item h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    margin-bottom: 10px;
}
.testimonial-item .quote {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-item .author {
    font-weight: bold;
    color: #305066;
}

/* Single Chambre */
.chambre-single {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 5%;
}
.chambre-single h1 {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}
.chambre-gallery {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}
.chambre-gallery img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}
.chambre-specs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.chambre-specs span {
    background: #305066;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
}
.chambre-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background: #305066;
    color: #fff;
    padding: 50px 5%;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-section h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
}
.footer-section a:hover {
    color: #fff;
}
.footer-section ul li {
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.footer-hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    width: 70%;
    margin: 0 auto 30px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}
.social-icons svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .chambres-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-top { flex-direction: column; gap: 15px; }
    .main-nav { flex-direction: column; align-items: center; gap: 10px; }
    .hero-content h1 { font-size: 32px; }
    .chambres-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .hero-section, .region-hero { background-attachment: scroll; }
}
