/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4a574;
    --secondary-color: #2c3e50;
    --accent-color: #e8b96a;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Nanum Gothic', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Judson', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background: var(--secondary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    background: white;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:not(.btn-rdv)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    flex-direction: column;
    list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu li {
    margin-left: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f8f4ee;
    color: var(--primary-color);
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.btn-rdv {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-rdv:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-carousel {
    margin-top: 115px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* About Section */
.section-about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature p {
    font-size: 14px;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 165, 116, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: var(--transition);
}

.member-social a:hover {
    transform: scale(1.2);
}

.member-info h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.member-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* Services Section */
.section-services {
    background: var(--bg-light);
}

.services-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card li:last-child {
    border-bottom: none;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
}

/* Styles pour les services chargés dynamiquement */
.service-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(212, 165, 116, 0.05);
    padding-left: 10px;
    padding-right: 10px;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    color: var(--secondary-color);
    font-weight: 500;
    flex: 0 0 auto;
    max-width: 70%;
}

.service-dots {
    flex: 1 1 auto;
    border-bottom: 2px dotted #e0e0e0;
    margin: 0 15px;
    min-width: 20px;
}

.service-price {
    color: var(--primary-color);
    font-weight: 600;
    flex: 0 0 auto;
    white-space: nowrap;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-item p,
.hours-list {
    color: var(--text-light);
}

.hours-list {
    list-style: none;
}

.hours-list li {
    padding: 5px 0;
}

.contact-map iframe {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column p {
    color: #bbb;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding: 5px 0;
}

.footer-column ul a {
    color: #bbb;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    display: inline-block;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 25px 0 0 25px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Service Pages */
.service-page,
.legal-page {
    padding: 140px 0 60px;
    background: #fff;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #b8892a;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.service-page h1 {
    font-family: 'Judson', serif;
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 24px;
}

.service-page h2 {
    font-family: 'Judson', serif;
    font-size: 1.4rem;
    color: #2d2d2d;
    margin: 32px 0 16px;
}

.service-page-text {
    max-width: 800px;
    line-height: 1.7;
    color: #444;
}

.service-page-text ul {
    margin: 12px 0 12px 20px;
}

.service-page-text li {
    margin-bottom: 8px;
}

.price-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 16px 0;
}

.price-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

.price-table .price {
    text-align: right;
    color: #b8892a;
    font-weight: 600;
}

.service-cta {
    background: #fffdf6;
    border: 1px solid #eee4c8;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.service-cta h2 {
    margin-top: 0;
}

.service-cta-phone {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #666;
}

.service-cta-phone a {
    color: #b8892a;
    font-weight: 600;
    text-decoration: none;
}

/* Avis Clients Section */
.section-avis {
    padding: 60px 0;
    background: #f9f7f2;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.avis-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0ece4;
}

.avis-stars {
    color: #e8b96a;
    font-size: 1.3rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.avis-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.avis-author {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.avis-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avis-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.05rem;
}

.avis-summary-stars {
    color: #f5a623;
    letter-spacing: 2px;
}

.avis-cta {
    text-align: center;
    margin-top: 20px;
}

.avis-cta .btn i {
    margin-right: 8px;
}

/* Blog Section Homepage */
.section-blog {
    padding: 60px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.blog-card {
    display: block;
    background: #fffdf6;
    border: 1px solid #f0ece4;
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d4a574, #e8b96a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.blog-card-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.blog-card h3 {
    font-family: 'Judson', serif;
    font-size: 1.15rem;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.blog-card-link {
    color: #b8892a;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Blog article */
.blog-article .blog-meta {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.blog-article p,
.blog-article li {
    line-height: 1.7;
    color: #444;
}

.blog-article ul,
.blog-article ol {
    margin: 12px 0 12px 20px;
}

.blog-article li {
    margin-bottom: 8px;
}

.blog-article .price-table {
    max-width: 700px;
}

.blog-article .price-table th {
    background: #fffdf6;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #eee4c8;
}

.blog-article .price-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

/* FAQ Section */
.section-faq {
    padding: 60px 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #eee4c8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1rem;
    color: #2d2d2d;
    cursor: pointer;
    background: #fffdf6;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: #b8892a;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 20px 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

#bookingFrame {
    margin-top: 20px;
    min-height: 600px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
}

#bookingFrame iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Floating Booking Button */
.floating-booking-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-booking-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.6);
}

.floating-booking-btn i {
    font-size: 20px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(212, 165, 116, 0.6);
    }
    100% {
        box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
    }
}

/* Hide floating button on mobile when scrolling up */
@media (max-width: 768px) {
    .floating-booking-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .floating-booking-btn span {
        display: none;
    }
    
    .floating-booking-btn i {
        font-size: 24px;
    }
}