/*
Theme Name: Magic The Gathering Shop Theme
Theme URI: https://protegetonweb.fr
Description: Un template WordPress sécurisé et optimisé pour WooCommerce, plongé dans l'univers de MTG.
Version: 1.0.0
Author: Teddy
Author URI: https://protegetonweb.fr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magic-shop
*/

/* Couleurs thématiques de l'univers (Inspiration Mana/Cartes) */
:root {
    --mana-white: #f8f6f2;
    --mana-blue: #0e68ab;
    --mana-black: #150b00;
    --mana-red: #d32f2f;
    --mana-green: #00733e;
    --bg-dark: #121212;
    --text-light: #e0e0e0;
    --gold-border: #c5a059;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.woocommerce-product-gallery {
    border: 3px solid var(--gold-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
/* ==========================================================================
   Mise en page de la Page d'Accueil Child-Theme
   ========================================================================== */

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

/* Style de la section Hero */
.hero-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay, .cta-overlay {
    background: rgba(40, 48, 61, 0.75); /* Voile sombre pour rendre le texte lisible */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-content, .cta-content {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Section Produits */
.featured-products-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #28303d;
}

/* Section Appel à l'action (CTA) */
.cta-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    text-align: center;
}

/* Boutons personnalisés */
.button-primary {
    background-color: #0073aa;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.button-primary:hover {
    background-color: #005177;
    color: white;
}