/*
Theme Name: Matheradar
Theme URI: https://matheradar.com
Author: Cedrick Kounougo
Description: Institutionelles und mehrsprachiges WordPress-Theme für Mathematik-, Französisch- und Deutsch-Nachhilfe. Fokus auf den deutschen Markt.
Version: 1.1
Text Domain: matheradar
*/

/* Reset & Global Styles */
:root {
    --primary-color: #003366; /* Bleu Marine Institutionnel */
    --secondary-color: #f8f9fa; /* Gris très clair */
    --accent-color: #e63946; /* Accentuation discrète */
    --text-color: #333333;
    --light-text: #666666;
    --background-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: var(--background-white);
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* Call to Action Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #002244;
}

/* Footer & Site Info */
footer, .site-footer {
    background: var(--primary-color);
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: white;
    padding: 5rem 0 3rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-widget h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
 * FOOTER PREMIUM (V1.5)
 * ------------------------------------------------------------------------- */
.site-footer-premium {
    background: #001a33;
    color: #ffffff;
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-centered-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-heading);
    color: #ffffff !important;
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-nav-premium {
    margin-bottom: 40px;
}

.footer-links-horizontal {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-links-horizontal a {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links-horizontal a:hover {
    opacity: 1;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    margin: 0 auto 40px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.legal-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .footer-links-horizontal {
        flex-direction: column;
        gap: 20px;
    }
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}
