/*
Theme Name: Tuberculture26
Theme URI: https://tuberculture.fr
Description: Thème enfant de Twenty Twenty-Five
Author: Tuberculture
Author URI: https://tuberculture.fr
Template: twentytwentyfive
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: tuberculture26
*/

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --color-primary: #AC2444;
    --color-secondary: #1F1F1F;
    --color-text: #FFFFFF;
    --color-accent: #24AC8C;
    --color-black: #000000;
    --color-red: #CF2E2E;
    --color-dark-green: #00886D;
}

/* ============================================
   TYPOGRAPHIE GLOBALE
   ============================================ */
body {
    font-family: "Nunito", sans-serif;
    color: var(--color-text);
    background-color: var(--color-accent);
}

h1, h2, h3, h4, h5 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

h1 {
    color: var(--color-red);
    font-size: 2.5rem;
}

h2 {
    color: var(--color-dark-green);
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.2rem;
}

h6 {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: var(--color-accent) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    background-color: var(--color-accent);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 25%;
    min-width: 250px;
}

.site-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.site-logo {
    max-width: 150px;
    height: auto;
}

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

.site-title {
    font-family: "Sofia Pro Condensed", "Poppins", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
}

.site-description {
    font-family: "Sofia Pro Condensed", "Poppins", sans-serif;
    font-size: 1.2rem;
    color: var(--color-text);
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 70%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Navigation */
.main-navigation {
    flex: 1;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.main-navigation a {
    font-family: "Sofia Pro Condensed", "Poppins", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    padding: 0 9px;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--color-dark-green);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--color-red);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.billetterie-button {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.9rem;
}

.billetterie-button:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.social-icons {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.social-icons li {
    margin: 0;
}

.social-icons a {
    color: var(--color-text);
    font-size: 25px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-text);
    text-align: center;
    padding: 20px 0;
}

.footer-image {
    text-align: center;
    margin-bottom: 20px;
}

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

.footer-text {
    padding: 0 20px;
}

.footer-text p {
    color: var(--color-text);
    margin: 0;
}

.footer-text a {
    color: var(--color-text);
    text-decoration: underline;
    transition: color 0.2s ease;
}

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

/* ============================================
   CONTENU
   ============================================ */
.site-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.entry-title {
    margin-bottom: 10px;
}

.entry-title a {
    text-decoration: none;
    color: inherit;
}

.entry-title a:hover {
    color: var(--color-primary);
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

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

.entry-content p {
    margin-bottom: 1.5em;
}

/* ============================================
   BOUTONS DE SOUS-CATÉGORIES
   ============================================ */
.subcategories-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.subcategory-button {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    background-color: var(--color-primary);
    color: var(--color-text);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.subcategory-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-branding {
        width: 100%;
        justify-content: center;
    }
    
    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-description {
        font-size: 1rem;
    }
    
    .main-navigation a {
        font-size: 0.8rem;
        padding: 5px;
    }
    
    .social-icons a {
        font-size: 19px;
    }
}
