/* Styles globaux */
:root {
    --primary-color: #1a4a73;
    --secondary-color: #7deaff;
    --accent-color: #0e6eb8;
    --text-color: #333;
    --text-light: #546e7a;
    --background: #f8fbfd;
    --white: #ffffff;
    --shadow: 0 6px 25px rgba(10, 78, 146, 0.08);
    --shadow-hover: 0 12px 30px rgba(10, 78, 146, 0.15);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover:after,
nav a.active:after {
    width: 100%;
}

nav a.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 74, 115, 0.9), rgba(14, 110, 184, 0.8)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Bouton standard */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(10, 78, 146, 0.15);
}

.btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 78, 146, 0.2);
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 3rem 0;
    padding: 0 5%;
}

.feature-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-image {
    flex: 0 0 40%;
    overflow: hidden;
    min-height: 250px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
    padding: 2rem;
}

.feature-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: #f0f8ff;
    padding: 5rem 5%;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.about-content > div {
    flex: 1;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, #f8fbfd, #e6f7ff);
}

.testimonial-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(125, 234, 255, 0.2);
    line-height: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Catalogue et Réservation */
.catalogue-page,
.reservation-page {
    padding: 4rem 5%;
}

.catalogue-intro,
.reservation-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.catalogue-intro p,
.reservation-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Filtres */
.filter-bar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #b3e0ff;
    background-color: #f0f6fb;
    color: var(--primary-color);
    outline: none;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(125, 234, 255, 0.2);
}

/* Cards Produits */
.catalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0f7fa;
    padding-top: 1rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.product-price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.reserve-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reserve-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .testimonial-cards {
        flex-direction: column;
    }
    
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .filter-group {
        width: 100%;
        margin-right: 0;
    }
    
    .filter-bar {
        gap: 1rem;
    }
    
    .feature-card {
        flex-direction: column;
    }
    
    .feature-image {
        height: 200px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .catalog-container {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .about-content,
    .testimonial-cards {
        flex-direction: column;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .about-image {
        margin-top: 2rem;
        width: 100%;
    }
}