/*
Theme Name: Deborah
Theme URI: https://example.com/Deborah
Author: Votre Nom
Author URI: https://example.com
Description: Un thème WordPress moderne et responsive avec menu burger
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Deborah
*/

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #fffefc;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    gap: 30px;
}

.content-wrapper.has-sidebar {
    grid-template-columns: 1fr 300px;
}

.content-wrapper.full-width {
    grid-template-columns: 1fr;
}

@media (max-width: 992px) {
    .content-wrapper.has-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   HEADER
   =========================== */
.site-header {
    background-color: #324A41;
    padding: 0;
}

.header-inner {
    /*align-items: center;*/
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1000px;
    padding: 35px 20px 10px;
}

.header-inner-nav {
    max-width: 1000px;
    margin: 0 auto;
}

.site-branding {
}

.site-branding a img {
	background: #666;
    border-bottom-left-radius: 35% 50%;
    border-top-left-radius: 35% 50%;
	max-height: 410px;
	width: auto;
}

.site-branding-text {
	margin: auto 0;
	max-width: 450px;
	padding-right: 20px;
}

.site-title {
    font-size: 4rem;
    font-weight: 700;
	line-height: normal;
    margin: 0;
	margin-top: 20px;
}

.site-title a {
	text-transform: uppercase;
}

.site-description {
    margin: 5px 0 0;
    font-size: 2rem;
    opacity: 0.8;
}

/* ===========================
   NAVIGATION & BURGER MENU
   =========================== */
.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.burger-icon {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.3s ease;
}

.burger-icon span:nth-child(1) {
    top: 0;
}

.burger-icon span:nth-child(2) {
    top: 8px;
}

.burger-icon span:nth-child(3) {
    top: 16px;
}

/* Burger animation when active */
.menu-toggle.active .burger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active .burger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active .burger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    padding: 8px 0;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Submenu */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #34495e;
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.primary-menu li:hover > .sub-menu {
    display: block;
}

.primary-menu .sub-menu a {
    padding: 10px 20px;
    white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
    background-color: #324A41;
}

/* ===========================
   MAIN CONTENT
   =========================== */
.content-area {
    margin-bottom: 40px;
}

/*.post,
.page {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}*/

.entry-header {
    margin-bottom: 25px;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.entry-meta {
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 25px 0 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content img {
    border-radius: 8px;
    margin: 20px 0;
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget {
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    padding: 40px 0 20px;
    margin-top: auto;
}

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

.footer-widget {
    padding: 0;
}

.footer-widget h3 {
    font-size: 1.125rem;
    margin-bottom: 15px;
}

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

.footer-widget ul li {
    margin-bottom: 8px;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #3498db;
    border-color: #3498db;
}

.pagination .current {
    background: #3498db;
    border-color: #3498db;
}

/* ===========================
   POST NAVIGATION
   =========================== */
.post-navigation {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav-previous a,
.nav-next a {
    display: block;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-weight: 600;
}

.nav-next {
    text-align: right;
}

@media (max-width: 768px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
    }
}

/* ===========================
   BUTTONS
   =========================== */
.btn,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-contact-wrapper {
    margin-top: 20px;
}

.btn-contact {
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* ===========================
   FORMS
   =========================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Search Form */
.search-form {
    position: relative;
    display: flex;
    max-width: 500px;
    margin: 20px 0;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-form .search-field {
    width: 100%;
    padding-right: 50px;
}

.search-form .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background: #3498db;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #fff;
}

.search-form .search-submit:hover {
    background: #2980b9;
}

.search-form .search-submit svg {
    display: block;
}

/* ===========================
   COMMENTS
   =========================== */
.comments-area {
    background: #fff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.comment {
    padding: 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

/* ===========================
   RESPONSIVE - TABLET
   =========================== */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .entry-title {
        font-size: 1.75rem;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   RESPONSIVE - MOBILE
   =========================== */
@media (max-width: 768px) {
	.header-inner {
		display: block;
		padding: 0 20px 10px;
		text-align: center;
	}
	.site-branding-text {
		margin-bottom: 20px;
		max-width: 100%;
		padding: 0;
	}
	
	.site-branding {
		text-align: -webkit-right;
	}
	
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: #324A41;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .main-navigation.active {
        right: 0;
    }

    .primary-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .primary-menu a {
        padding: 15px 0;
        width: 100%;
    }

    .primary-menu .sub-menu {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        border-radius: 0;
    }

    .primary-menu li.menu-item-has-children.active > .sub-menu {
        display: block;
    }

    .primary-menu .sub-menu a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .entry-title {
        font-size: 1.5rem;
    }

    /*.post,
    .page,
    .sidebar {
        padding: 20px;
    }*/

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 30px 0 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .entry-title {
        font-size: 1.35rem;
    }

    .main-navigation {
        width: 100%;
        right: -100%;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


/* ===========================
   COLONNES SERVICES
   =========================== */
.services .wp-block-column {
	background-color: #eee;
	border-radius: 10px;
	border-top-left-radius: 40px;
	padding: 0 20px;
}

.services .wp-block-column img:first-child {
	border-radius: 50%;
	max-height: 60px;
	max-width: 60px;
}

.services .wp-block-column h3 {
	text-transform: uppercase;
}


/* ===========================
   COLONNES POURQUOI
   =========================== */
.pourquoi > .wp-block-column {
	background-color: #eee;
	border-radius: 10px;
	border-bottom-left-radius: 50px;
	border-top-left-radius: 50px;
	padding: 0 20px;
}

.pourquoi > .wp-block-column img:first-child {
	border-radius: 50%;
	max-height: 80px;
	max-width: 80px;
}



/* ===========================
   FONTAWESOME
   =========================== */
.fa-regular strong,
.fa-solid strong {
	font-family: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif";
	font-weight: normal;
	margin-left: 6px;
}