/*
Theme Name: MAGO Signature
Theme URI: https://magosignature.com
Author: MAGO Team
Author URI: https://magosignature.com
Description: Thème WordPress personnalisé pour MAGO Signature - Box DIY créatives par abonnement
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mago-signature
Tags: e-commerce, custom-colors, custom-menu, featured-images, flexible-header, custom-logo
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
    background: #fff;
    padding: 1.5rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    font-style: italic;
}
.site-logo span {
    background: #FFD93D;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: #000;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #FFD93D;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: #FFD93D;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #FFD93D 0%, #FFA500 100%);
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
}

.hero-section p {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cta-button,
.btn-primary {
    display: inline-block;
    background: #000;
    color: #FFD93D;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #FFD93D;
}

.btn-secondary {
    background: #FFD93D;
    color: #000;
}

.btn-secondary:hover {
    background: #000;
    color: #FFD93D;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
}

.max-width-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #FFD93D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Products / WooCommerce
   ========================================================================== */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #000;
    color: #FFD93D;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}



/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFD93D;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        width: 100%;
        display: none;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.sticky {
    /* Sticky post styles */
}

.bypostauthor {
    /* Author post styles */
}
:root {
    --primary: #FFD93D;
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-muted: rgba(255, 217, 61, 0.7);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Header Minimaliste & Flottant */
.top-header {
    background: #fff;
    backdrop-filter: blur(12px); /* Effet verre dépoli */
    color: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.top-header-inner {
    max-width: 1300px;
    margin: auto;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Footer Style "Bento Box" */
.site-footer {
    background: var(--bg-dark);
    color: var(--primary);
    padding: 100px 20px 40px;
    font-family: 'Inter', system-ui, sans-serif;
    overflow: hidden;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    /* Grid asymétrique moderne */
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; 
    gap: 50px;
}

.footer-logo-img {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 217, 61, 0.2));
    transition: var(--transition);
}

.footer-logo-img:hover {
    transform: translateY(-3px) scale(1.05);
}

.footer-tagline {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Liens avec animation de soulignement moderne */
.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    opacity: 0.6;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--primary);
    position: relative;
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Boutons Sociaux "Glassmorphism" */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 217, 61, 0.2);
    border-radius: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    transform: rotate(-5deg);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 217, 61, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Responsive 2026 */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
  
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* ==========================================================================
   Section Sociale Innovante (Verticale)
   ========================================================================== */

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-social h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    opacity: 0.6;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    flex-direction: column; /* Empilement vertical */
    gap: 15px;
    align-items: flex-start; /* Aligné à gauche */
    border-left: 1px solid rgba(255, 217, 61, 0.2); /* Ligne verticale discrète */
    padding-left: 20px;
}

.social-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
    display: block;
    width: fit-content;
}

/* Interaction 2026 : Décalage et brillance */
.social-links a:hover {
    opacity: 1;
    transform: translateX(10px); /* Glissement vers la droite */
    color: #ffffff; /* Flash blanc au survol */
    padding-left: 5px;
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .social-links {
        align-items: center; /* Centré sur mobile */
        border-left: none;
        padding-left: 0;
    }
    
    .social-links a:hover {
        transform: translateY(-3px); /* Petit saut vers le haut sur mobile */
    }
}

/* ==========================================================================
   Newsletter Form Styling - CORRECTION FOOTER
   ========================================================================== */

.site-footer form,
.site-footer .sureforms-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 20px !important;
    align-items: center !important;
}

.site-footer input[type="email"],
.site-footer input[type="text"] {
    flex: 1 !important;
    padding: 12px 20px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 217, 61, 0.3) !important;
    border-radius: 50px !important;
    color: var(--primary) !important;
    font-size: 0.9rem !important;
    min-width: 250px !important;
}

.site-footer input[type="email"]::placeholder,
.site-footer input[type="text"]::placeholder {
    color: rgba(255, 217, 61, 0.5) !important;
}

.site-footer input[type="submit"],
.site-footer button[type="submit"] {
    padding: 12px 30px !important;
    background: var(--primary) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.site-footer input[type="submit"]:hover,
.site-footer button[type="submit"]:hover {
    background: #fff !important;
    transform: translateY(-2px) !important;
}

/* Mobile - formulaire en colonne */
@media (max-width: 768px) {
    .site-footer form,
    .site-footer .sureforms-form {
        flex-direction: column !important;
    }
    
    .site-footer input[type="email"],
    .site-footer input[type="text"] {
        width: 100% !important;
        min-width: auto !important;
    }
    
    .site-footer input[type="submit"],
    .site-footer button[type="submit"] {
        width: 100% !important;
    }
}