/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #000;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#main-header {
    background-color: #000;
    padding: 15px 0;
    position: relative;
    border-bottom: none;
}

#et-top-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
#logo {
    flex-shrink: 0;
}

#logo a {
    text-decoration: none;
    color: #fff;
}

.logo-text {
    font-family: 'Dancing Script', cursive;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

.logo-sub {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-top: -5px;
}

/* Navigation */
#top-menu-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

#top-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

#top-menu .menu-item {
    position: relative;
    margin: 0 15px;
}

#top-menu .menu-item a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

#top-menu .menu-item a:hover {
    color: #dd9933;
}

/* Dropdown arrows */
.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown menu */
#top-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    min-width: 200px;
    list-style: none;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}

#top-menu .dropdown:hover .sub-menu {
    display: block;
}

#top-menu .sub-menu li {
    margin: 0;
}

#top-menu .sub-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #333;
    font-size: 13px;
}

#top-menu .sub-menu a:hover {
    background-color: #333;
    color: #dd9933;
}

/* Bouton Memdom.fr */
#memdom-button {
    flex-shrink: 0;
}

.btn-memdom {
    background-color: #ff7a00;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-memdom:hover {
    background-color: #e66b00;
}

/* Mobile menu button */
#et_mobile_nav_menu {
    display: none;
}

.mobile_nav {
    background-color: #dd9933;
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
}

.mobile_menu_bar {
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: #fff;
    position: relative;
    margin-left: 10px;
    transition: all 0.3s;
}

.mobile_menu_bar::before,
.mobile_menu_bar::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

.mobile_menu_bar::before {
    top: -5px;
}

.mobile_menu_bar::after {
    top: 5px;
}

/* Main content */
#et-main-area {
    background-color: #000;
    color: #fff;
}

/* Section Hero */
.hero-section {
    background-image: url('/wp-content/uploads/2024/12/bougie-de-deuil-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 80px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 28px;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Content box with overlay */
.content-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(221,153,51,0.3));
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.content-overlay p {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-cta {
    background-color: #b8860b;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background-color: #9d7209;
}

/* Services Section */
.services-section {
    background-color: #000;
    padding: 80px 0;
    text-align: center;
}

.services-title {
    color: #dd9933;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.services-subtitle {
    color: #888;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
}

.service-item h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-item p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* Deontologie Section */
.deontologie-section {
    background-color: #e8e8e8;
    padding: 80px 0;
    color: #333;
}

.deontologie-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.deontologie-text h2 {
    color: #dd9933;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.deontologie-text h3 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.deontologie-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.deontologie-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.btn-services {
    background-color: #b8860b;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-services:hover {
    background-color: #9d7209;
}

/* Temoignages Section */
.temoignages-section {
    background-color: #000;
    padding: 80px 0;
    text-align: center;
}

.temoignages-header {
    margin-bottom: 60px;
}

.temoignages-pretitle {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.temoignages-title {
    color: #dd9933;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.temoignage-item {
    background-color: #e8e8e8;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.temoignage-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.temoignage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.temoignage-title {
    color: #dd9933;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.temoignage-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .deontologie-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    /* Mobile Navigation */
    #et_mobile_nav_menu {
        display: block;
    }
    
    #top-menu-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        z-index: 999;
        margin: 0;
    }
    
    #top-menu-nav.show {
        display: block;
    }
    
    #top-menu {
        flex-direction: column;
        align-items: stretch;
    }
    
    #top-menu .menu-item {
        margin: 0;
        border-bottom: 1px solid #333;
    }
    
    #top-menu .menu-item a {
        padding: 15px 20px;
    }
    
    #top-menu .sub-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: #2a2a2a;
    }
    
    #top-menu .dropdown.active .sub-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .content-overlay {
        padding: 30px 20px;
    }
    
    .services-section,
    .deontologie-section,
    .temoignages-section {
        padding: 60px 0;
    }
}