/*
Theme Name: Aud Dogs Theme
Theme URI: https://aud-dogs.fr/
Author: Aud Dogs
Author URI: https://aud-dogs.fr/
Description: A WordPress theme replicating the design and style of aud-dogs.fr - A professional theme for dog trainers and behaviorists.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aud-dogs-theme
Tags: custom, dog-training, professional, minimalist, clean
*/

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Tahoma', Arial, sans-serif;
    color: #333;
    background-color: #fff;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tahoma', 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: blue;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #555;
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 1500px;
    margin: 0 auto;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    max-width: 1500px;
    min-width: 0px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    flex-direction: row;
}

.site-title {
    font-size: 2.5rem;
    font-family: 'Tahoma', serif;
    color: #222;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
}

.site-title:hover {
    color: #333;
}

.site-description {
    font-size: 1.1rem;
    color: #666;
    font-family: 'Harlow Solid', serif;
    font-style: italic;
    font-weight: 800;
    margin: 0;
}

.header-custom-title {
    font-size: 1.6rem;
    font-family: 'Harlow Solid', serif;
    font-style: italic;
    font-weight: 800;
    margin: 0;
}

.header-custom-title-default {
    color: #000000;
}

.header-custom-title-purple {
    color: #993366;
}
  
.header-custom-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 20px;
    min-width: 1500px;
}

.main-navigation-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 20px;
}

.main-navigation {
    margin: 0;
}

.menu-items-wrapper {
    margin-top: 0px;
    min-width: max-content;
}

.menu-items-wrapper ul {
    list-style: none;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
}

.menu-items-wrapper li {
    margin: 0;
    position: relative;
}

/* Sub-menu styling */
.menu-items-wrapper .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}

.menu-items-wrapper .sub-menu li {
    margin: 0;
    display: block;
}

.menu-items-wrapper .sub-menu a {
    display: block;
    padding: 10px 20px;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #CC9999;
    text-align: left;
}

.menu-items-wrapper .sub-menu a:last-child {
    border-bottom: none;
}

.menu-items-wrapper .sub-menu a:hover {
    background-color: #CC9999;
    transform: none;
    box-shadow: none;
}

/* Show sub-menu when parent is clicked */
.menu-items-wrapper li.menu-item-has-children.submenu-open > .sub-menu {
    display: block;
}

/* Desktop: Show sub-menu on hover */
@media (min-width: 769px) {
    .menu-items-wrapper li.menu-item-has-children:hover > .sub-menu {
        display: block;
    }
}

.menu-items-wrapper a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 10px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    min-width: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 10px;
    font-weight: 600;
}

.menu-items-wrapper a:hover {
    background-color: #CC9999;
    border-color: #CC9999;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(245, 179, 209, 0.3);
    font-weight: 600;
}

.menu-items-wrapper .current-menu-item a,
.menu-items-wrapper .current_page_item a {
    background-color: #CC9999;
    color: #fff;
    border-color: #CC9999;
    text-decoration: none;
}

.menu-items-wrapper .current-menu-item a:hover,
.menu-items-wrapper .current_page_item a:hover {
    background-color: #CC9999;
    border-color: #CC9999;
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 100% 20px 100% 20px;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: #333;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #FFF;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle-text {
    display: none;
}

/* Burger menu animation when toggled */
.main-navigation.toggled .menu-toggle-icon span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.main-navigation.toggled .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.main-navigation.toggled .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.header-pattes-de-chien {
    display: block;
}

/* ============================================
   Main Content Area
   ============================================ */

.main-content {
    padding: 0px 0;
}

.content-area {
    margin: 0 auto;
    padding: 0 20px;
}

.entry-header {
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: none;
}

.entry-content-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.entry-content-wrapper-inner {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    width: 100%;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.4rem;
    flex: 1;
    padding-top: 10px;
}

.entry-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 30px;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Homepage Sections
   ============================================ */

.home-section {
    margin-bottom: 60px;
    padding: 40px 0;
}

.home-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.home-section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.header-three-bars {
    display: flex;
}

/* Three Vertical Bars */
.three-bars {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-shrink: 0;
    align-self: stretch;
}

.three-bars .bar {
    width: 20px;
    background-color: #996666;
    display: block;
}

/* ============================================
   Posts & Archives
   ============================================ */

.post {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #e5e5e5;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.post-title a {
    color: #222;
}

.post-title a:hover {
    color: #555;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    margin-top: 10px;
}

.footer-credits {
    color: #999;
    font-size: 0.85rem;
}

.footer-facebook-youtube-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-facebook-youtube img {
    border:0;
    width:60px;
    height:60px;
}

/* ============================================
   Forms
   ============================================ */

.wpcf7-form,
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7-form p,
.contact-form p {
    margin-bottom: 20px;
}

.wpcf7-form label,
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

.wpcf7-form textarea,
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"],
.contact-form input[type="submit"] {
    background: #333;
    color: #fff;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
    background: #555;
}

/* ============================================
   Images
   ============================================ */

img {
    height: auto;
    display: block;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .content-area {
        padding: 0;
    }
    

    .site-header {
        display: flex;
        flex-direction: row-reverse;
        min-width: 400px;
        margin:0;
    }

    .site-title {
        font-size: 2rem;
    }

    .site-description {
        font-size: 1rem;
    }

    .site-branding {
        flex-direction: row-reverse;
    }

    div.site-wrapper > header > div > div > a > img {
        height: 60px;
        width: auto;
    }

    .container {
        width:100%
    }

    .header-custom-title {
        font-size: 1.2rem;
        width:100%;
    }

    .main-navigation {
        margin: 0;
        height: 100%;
    }

    .header-custom-title-wrapper {
        min-width: 0;
        padding: 0;
    }

    .main-navigation-wrapper {
        width: auto;
        margin-left: 0px;
        padding: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-items-wrapper {
        display: none;
    }

    .menu-items-wrapper a {
        width: 100%;
        text-align: left;
        border-radius: 0;
    }

    .menu-items-wrapper ul {
        flex-direction: column;
        width: 100%;
    }

    .menu-items-wrapper.toggled {
        display: block;
        position: fixed;
        z-index: 1;
    }

    /* Mobile sub-menu styles */
    .menu-items-wrapper .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #f5f5f5;
        padding: 0;
    }

    .menu-items-wrapper li.menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }

    .menu-items-wrapper .sub-menu a {
        padding: 10px 30px;
    }

    .header-pattes-de-chien {
        display: none;
    }

    body > div.site-wrapper > header > div > div > div > p {
       margin-bottom: 0.2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .home-section {
        padding: 30px 0;
    }

    .three-bars {
        gap: 4px;
    }

    .header-three-bars {
        display: none;
    }
    
    .three-bars .bar {
        width: 5px;
    }

    .site-title {
        font-size: 1.75rem;
    }
}


/* ============================================
   Search Form
   ============================================ */

.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.search-form .search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

.search-form .search-submit {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-form .search-submit:hover {
    background: #555;
}

/* ============================================
   Buttons
   ============================================ */

.button,
.read-more {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.button:hover,
.read-more:hover {
    background: #555;
    color: #fff;
}

/* ============================================
   Pagination
   ============================================ */

.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-numbers {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* ============================================
   Post Navigation
   ============================================ */

.post-navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation a {
    color: #333;
    text-decoration: none;
}

.post-navigation a:hover {
    color: #555;
    text-decoration: underline;
}

/* ============================================
   Comments
   ============================================ */

.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 10px;
}

.comment-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.comment-content {
    margin-bottom: 10px;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.no-padding-text {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.fa-facebook {
    color: #3b5998;
}

.fa-youtube {
    color: #FF0000;
}

.fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

