/*
Theme Name: Donskoy Forever Club
Theme URI: https://www.donskoyforever.fr
Author: Donskoy Forever Club
Author URI: https://www.donskoyforever.fr
Description: Thème officiel du Donskoy Forever Club - Club de race du Donskoy
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: donskoy-forever
Tags: club, chat, donskoy, race, feline
*/

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

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #f5f0eb;
    color: #333;
    line-height: 1.7;
}

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

a:hover {
    color: #c0392b;
    text-decoration: underline;
}

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

/* ===========================
   HEADER
   =========================== */
#masthead {
    background-color: #f0e8d8;
    border-bottom: 3px solid #c8a96e;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    width: 90px;
    height: auto;
}

.site-title-group {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c1810;
    letter-spacing: 1px;
    line-height: 1.2;
}

.site-title a {
    color: #2c1810;
    text-decoration: none;
}

.site-subtitle {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #8b6914;
    text-transform: uppercase;
    font-weight: normal;
}

/* ===========================
   NAVIGATION
   =========================== */
#site-navigation {
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
    background-color: #f0e8d8;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 8px 14px;
    color: #2c1810;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 3px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    background-color: #e8d5b0;
    color: #8b4513;
    text-decoration: none;
}

/* Sous-menus */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f5ede0;
    border: 1px solid #c8a96e;
    border-top: 2px solid #8b4513;
    min-width: 220px;
    z-index: 999;
    list-style: none;
    padding: 5px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.nav-menu .sub-menu li a {
    display: block;
    padding: 8px 16px;
    color: #2c1810;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.nav-menu .sub-menu li a:hover {
    background-color: #e8d5b0;
    color: #8b4513;
    text-decoration: none;
}

/* Hamburger menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #8b4513;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: #8b4513;
    font-size: 1.2rem;
}

/* ===========================
   CONTENU PRINCIPAL
   =========================== */
#content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

.site-main {
    min-height: 60vh;
}

/* ===========================
   PAGE D'ACCUEIL
   =========================== */
.home-welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px 0;
}

.home-welcome-text h1 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #2c1810;
    margin-bottom: 20px;
    font-style: italic;
}

.home-welcome-text p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.home-welcome-image {
    text-align: center;
}

.home-welcome-image img {
    border-radius: 50%;
    border: 4px solid #c8a96e;
    max-width: 280px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.home-address {
    background-color: #f5ede0;
    border-left: 4px solid #c8a96e;
    padding: 20px 25px;
    margin-top: 30px;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
}

.home-address strong {
    display: block;
    font-size: 1rem;
    color: #2c1810;
    margin-bottom: 5px;
}

.loof-logo {
    margin-top: 20px;
}

.loof-logo img {
    max-width: 80px;
}

.bulletin-adhesion {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #8b4513;
    color: white !important;
    border-radius: 4px;
    font-weight: bold;
    font-style: italic;
    text-decoration: none !important;
    transition: background-color 0.3s;
}

.bulletin-adhesion:hover {
    background-color: #c0392b;
    color: white !important;
}

/* ===========================
   TITRES DE PAGES
   =========================== */
.page-header {
    border-bottom: 2px solid #c8a96e;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.page-title {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #2c1810;
    font-style: italic;
}

/* ===========================
   PAGE LE CLUB
   =========================== */
.club-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f5ede0;
    border-radius: 6px;
}

.club-links a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #8b4513;
    color: white !important;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.3s;
}

.club-links a:hover {
    background-color: #c0392b;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    background-color: #faf6f0;
    border: 1px solid #e0d0b8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c8a96e;
    margin-bottom: 12px;
}

.team-member .member-name {
    font-weight: bold;
    font-size: 1rem;
    color: #2c1810;
    margin-bottom: 4px;
}

.team-member .member-role {
    font-size: 0.8rem;
    color: #8b4513;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 8px;
}

.team-member .member-info {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.team-member .member-info a {
    color: #8b4513;
}

/* ===========================
   PAGE LE DONSKOY
   =========================== */
.donskoy-history {
    max-width: 900px;
}

.donskoy-history h1 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #2c1810;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.standard-link {
    text-align: center;
    margin-bottom: 30px;
}

.standard-link a {
    color: #8b4513;
    font-weight: bold;
    font-style: italic;
    font-size: 1.1rem;
    text-decoration: underline;
}

.donskoy-history p {
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 15px;
    text-align: justify;
}

.history-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.history-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #c8a96e;
}

.donskoy-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0d0b8;
}

.donskoy-section h2 {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: #2c1810;
    font-style: italic;
    margin-bottom: 15px;
}

/* ===========================
   PAGE ELEVEURS
   =========================== */
.eleveurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.eleveur-card {
    background-color: #faf6f0;
    border: 1px solid #e0d0b8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.eleveur-card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    color: #2c1810;
    margin-bottom: 10px;
    border-bottom: 1px solid #c8a96e;
    padding-bottom: 8px;
}

.eleveur-card .eleveur-info {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #444;
}

.eleveur-card .eleveur-races {
    display: inline-block;
    background-color: #8b4513;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ===========================
   PAGE GALERIE
   =========================== */
.galerie-intro {
    font-style: italic;
    color: #8b4513;
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f5ede0;
    border-radius: 6px;
    text-align: center;
}

.galerie-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #faf6f0;
    border-radius: 8px;
    border: 1px solid #e0d0b8;
}

.galerie-featured-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.galerie-featured-image {
    text-align: center;
}

.galerie-featured-image img {
    max-width: 280px;
    border-radius: 8px;
    border: 3px solid #c8a96e;
}

.galerie-featured-image .caption {
    font-style: italic;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-gallery .gallery-item {
    overflow: hidden;
    border-radius: 50%;
    aspect-ratio: 1;
    border: 3px solid #c8a96e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo-gallery .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   PAGE EXPOSITIONS
   =========================== */
.expositions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.exposition-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #faf6f0;
    border: 1px solid #e0d0b8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.exposition-card img {
    width: 120px;
    height: auto;
    border-radius: 4px;
    flex-shrink: 0;
}

.exposition-card .expo-info h3 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: #2c1810;
    margin-bottom: 8px;
}

.exposition-card .expo-info .expo-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background-color: #8b4513;
    color: white !important;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: bold;
    text-decoration: none !important;
    font-style: italic;
}

.exposition-card .expo-info .expo-link:hover {
    background-color: #c0392b;
}

/* ===========================
   PAGE SANTE ET CONSEILS
   =========================== */
.sante-section-title {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: #2c1810;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.article-card {
    background-color: #faf6f0;
    border: 1px solid #e0d0b8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card .article-body {
    padding: 15px;
}

.article-card h3 {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: #2c1810;
    margin-bottom: 8px;
    font-style: italic;
}

.article-card .article-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.sterilisation-doc {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f5ede0;
    border-radius: 8px;
}

.sterilisation-doc img {
    max-width: 300px;
    border: 2px solid #c8a96e;
    border-radius: 4px;
}

/* ===========================
   PAGE CONTACT
   =========================== */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #faf6f0;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e0d0b8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.contact-form-wrapper h2 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #2c1810;
    margin-bottom: 25px;
    text-align: center;
    font-style: italic;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #c8a96e;
    border-radius: 4px;
    background-color: #fff8f0;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 2px rgba(139,69,19,0.15);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #8b4513;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .submit-btn:hover {
    background-color: #c0392b;
}

/* ===========================
   FOOTER
   =========================== */
#colophon {
    background-color: #2c1810;
    color: #d4b896;
    padding: 25px 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-social {
    margin-bottom: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d4b896;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #fff;
}

.footer-social .fb-icon {
    width: 24px;
    height: 24px;
    background-color: #3b5998;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
}

.footer-info {
    font-size: 0.8rem;
    color: #a08060;
    line-height: 1.8;
}

.footer-info a {
    color: #c8a96e;
}

.footer-info a:hover {
    color: #fff;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        align-self: flex-end;
    }

    #site-navigation {
        display: none;
    }

    #site-navigation.toggled {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }

    .nav-menu li.open > .sub-menu {
        display: block;
    }

    .home-welcome {
        grid-template-columns: 1fr;
    }

    .galerie-featured {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .eleveurs-grid {
        grid-template-columns: 1fr;
    }

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

/* ===========================
   UTILITAIRES
   =========================== */
.text-center { text-align: center; }
.text-italic { font-style: italic; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.wp-block-separator {
    border: none;
    border-top: 1px solid #c8a96e;
    margin: 25px 0;
}

/* Styles pour les pages WordPress */
.entry-content p {
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 15px;
}

.entry-content h2 {
    font-family: 'Georgia', serif;
    color: #2c1810;
    font-style: italic;
    margin: 25px 0 15px;
}

.entry-content h3 {
    font-family: 'Georgia', serif;
    color: #8b4513;
    margin: 20px 0 10px;
}
