/*
Theme Name: L'univers de Sofy
Description: Thème personnalisé pour Sophie Barrère - Bijoux artisanaux & Créations artistiques
Author: Dev Web
Version: 1.0
Text Domain: univers-de-sofy
*/

/* Styles de base du thème */
body {
font-family: 'Montserrat', sans-serif;
background-color: #ffffff;
color: #333;
background-image: url('https://www.luniversdesofy.fr/wp-content/uploads/2025/10/Fond-site-sophie.jpg');
background-repeat: no-repeat;
background-position: top right;
background-size: contain;
background-attachment: fixed;
}

@media (max-width: 768px) {
body {
background-size: 100% auto;
background-position: top center;
}
}

/* Typographie */
h1, h2, h3, h4, h5 {
font-family: 'Cormorant Garamond', serif;
}

.logo {
font-family: 'Cormorant Garamond', serif;
font-weight: 600;
letter-spacing: 1px;
}

/* Navigation */
.nav-link {
position: relative;
transition: all 0.3s ease;
cursor: pointer;
}

.nav-link:after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -3px;
left: 0;
background-color: #a5d7f3;
transition: width 0.3s ease;
}

.nav-link:hover:after {
width: 100%;
}

/* Boutons et interactions */
.theme-button {
transition: all 0.3s ease;
}

.theme-button:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(165, 215, 243, 0.3);
}

.button-primary {
background-color: #a5d7f3;
transition: all 0.3s ease;
}

.button-primary:hover {
background-color: #7fc1e8;
}

/* Cartes produits */
.product-card {
transition: all 0.3s ease;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sections thématiques */
.theme-section {
    background-color: #ffffff;
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.overlay {
    background-color: #ffffff;
    opacity: 0.9;
}

/* Image de profil */
.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

@media (max-width: 768px) {
.profile-image {
width: 200px;
height: 200px;
}
}

/* Icônes sociales */
.social-icon {
transition: all 0.3s ease;
}

.social-icon:hover {
transform: translateY(-3px);
color: #a5d7f3;
}

/* Animations de sections */
.product-section {
display: none;
}

.active-section {
display: block;
animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fefefe;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
display: flex;
}

.mobile-menu-link {
font-size: 1.5rem;
margin-bottom: 1.5rem;
color: #333;
font-family: 'Cormorant Garamond', serif;
}

.close-menu {
position: absolute;
top: 1.5rem;
right: 1.5rem;
}

/* Protection contre l'édition accidentelle */

html {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Classes WordPress de base */
.wp-block-group {
margin: 2rem 0;
}

.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.wp-block-column {
    flex: 1;
    min-width: 0;
    margin: 1rem;
}

/* Styles WooCommerce */
.woocommerce .product {
margin-bottom: 2rem;
}

.woocommerce .price {
color: #a5d7f3;
font-weight: 600;
}

.woocommerce .button {
background-color: #a5d7f3;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 25px;
color: white;
transition: all 0.3s ease;
}

.woocommerce .button:hover {
background-color: #7fc1e8;
transform: translateY(-2px);
}

.woocommerce .products .product {
    margin-bottom: 2rem;
}

.woocommerce .star-rating {
color: #a5d7f3;
}

.woocommerce .woocommerce-message {
    background-color: #f0f8ff;
    border-left: 4px solid #a5d7f3;
}

/* Classes utilitaires (Tailwind-like) */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}

.mx-auto {
margin-left: auto;
margin-right: auto;
}

.text-center {
text-align: center;
}

.grid {
display: grid;
}

/* Grille de base - 1 colonne par défaut */
.grid-cols-1 {
    display: flex;
    flex-direction: column;
}

.grid-cols-1 > * {
    margin-bottom: 1rem;
}

/* Media query pour tablette - 768px et plus */
@media (min-width: 768px) {
    .md-grid-cols-2 {
        display: flex;
        flex-wrap: wrap;
        margin: -0.5rem;
    }
    
    .md-grid-cols-2 > * {
        flex: 1 1 calc(50% - 1rem);
        margin: 0.5rem;
    }
    
    .md-grid-cols-3 {
        display: flex;
        flex-wrap: wrap;
        margin: -0.5rem;
    }
    
    .md-grid-cols-3 > * {
        flex: 1 1 calc(33.333% - 1rem);
        margin: 0.5rem;
    }
}

/* Media query pour desktop - 1024px et plus */
@media (min-width: 1024px) {
    .lg-grid-cols-3 {
        display: flex;
        flex-wrap: wrap;
        margin: -0.75rem;
    }
    
    .lg-grid-cols-3 > * {
        flex: 1 1 calc(33.333% - 1.5rem);
        margin: 0.75rem;
    }
    
    .lg-grid-cols-4 {
        display: flex;
        flex-wrap: wrap;
        margin: -0.75rem;
    }
    
    .lg-grid-cols-4 > * {
        flex: 1 1 calc(25% - 1.5rem);
        margin: 0.75rem;
    }
}
.p-6 {
padding: 1.5rem;
}

.mb-6 {
margin-bottom: 1.5rem;
}

.rounded-lg {
border-radius: 0.5rem;
}

.shadow-lg {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.bg-white {
background-color: white;
}

/* Styles responsive */
@media (max-width: 768px) {
.container {
padding: 0 0.5rem;
}
.mobile-menu-link {
font-size: 1.25rem;
}
}

/* Corrections responsive mobile - FINAL */
body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

#home {
    overflow-x: hidden !important;
}

.hero-background {
    max-width: 100%;
    overflow: hidden;
}
