/*
Theme Name: Carla Nails - Lena.SV
Theme URI: https://lenasv.fr
Author: Lucas Anton Gomez
Author URI: https://3dtexel.com
Description: Theme WordPress custom pour le site de nail art Lena.SV - Design moderne avec effet glassmorphism et gradients rose/violet
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: carla-nails
Tags: e-commerce, woocommerce, custom-colors, custom-logo, featured-images, full-width-template
WooCommerce: 8.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
*/

/* ============================================
   IMPORTS & VARIABLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Couleurs principales */
    --color-bg-dark: #0a1f1a;
    --color-bg-medium: #1a2f2a;
    --color-bg-light: #0f1419;
    
    /* Gradients */
    --gradient-bg: linear-gradient(135deg, #0a1f1a 0%, #1a2f2a 50%, #0f1419 100%);
    --gradient-pink: linear-gradient(to right, #f9a8d4, #fecdd3, #d8b4fe);
    --gradient-button: linear-gradient(to right, #db2777, #9333ea);
    
    /* Couleurs texte */
    --color-text-light: #f3f4f6;
    --color-text-gray: #d1d5db;
    --color-text-muted: #9ca3af;
    
    /* Couleurs accent */
    --color-pink-300: #f9a8d4;
    --color-pink-600: #db2777;
    --color-purple-300: #d8b4fe;
    --color-purple-600: #9333ea;
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--color-text-light);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-pink-300);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--color-text-light);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--color-pink-300);
    color: var(--color-pink-300);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-gray);
}

.btn-ghost:hover {
    color: var(--color-pink-300);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img,
.site-logo-img {
    height: 5.5rem;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover img,
.site-logo:hover .site-logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .site-logo img,
    .site-logo-img {
        height: 4rem;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-pink-300);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-gray);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu Toggle - Hidden on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Mobile Navigation - Hidden by default */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
}

.mobile-nav .nav-link {
    padding: 0.5rem 0;
    color: var(--color-text-gray);
    font-weight: 500;
}

.mobile-nav .btn {
    width: 100%;
    justify-content: flex-start;
}

/* Mobile styles */
@media (max-width: 768px) {
    .main-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
}

/* Desktop - ensure mobile nav never shows */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-pink-300);
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-gray);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-gray);
    margin-bottom: 2rem;
    max-width: 32rem;
}

@media (max-width: 768px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-image-container {
    position: relative;
    margin-left: 4rem;
}

@media (max-width: 768px) {
    .hero-image-container {
        margin-left: 0;
        max-width: 300px;
        margin: 0 auto;
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 9/16;
    max-height: 80vh;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-button);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   ABOUT / FEATURES SECTION
   ============================================ */
.about-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-gray);
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: var(--gradient-button);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-description {
    color: var(--color-text-gray);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: white;
    font-weight: 600;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--gradient-button);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.step-description {
    color: var(--color-text-gray);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-gray);
    margin-bottom: 1rem;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-pink-300);
    font-size: 0.875rem;
}

.footer-made-with svg {
    width: 1rem;
    height: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-gray);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-gray);
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact-item a:hover {
    color: var(--color-pink-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-gray);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--gradient-button) !important;
    color: white !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.3) !important;
}

.woocommerce-message,
.woocommerce-info {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 0.5rem !important;
    color: var(--color-text-light) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--color-pink-300) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 0.5rem !important;
    color: var(--color-text-light) !important;
    padding: 0.75rem 1rem !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--color-pink-300) !important;
    outline: none !important;
}

/* Product cards */
.woocommerce ul.products li.product {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: white !important;
    font-family: 'Playfair Display', serif;
}

.woocommerce ul.products li.product .price {
    color: var(--color-pink-300) !important;
}

/* Cart */
.woocommerce-cart table.cart {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    border-color: var(--glass-border) !important;
    color: var(--color-text-light);
}

/* Checkout */
.woocommerce-checkout #payment {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 1rem !important;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    color: var(--color-text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-pink-300);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-pink-600), var(--color-purple-600));
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ec4899, #a855f7);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }
