/*
Theme Name: Nichim Premium
Theme URI: 
Author: Antigravity AI
Author URI: 
Description: Un tema premium, elegante y moderno diseñado exclusivamente para la florería NICHIM. Integrado con WooCommerce.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
Text Domain: nichim
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   CSS Variables (Design System)
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #F8E1E7; /* Soft Pastel Pink */
    --secondary-color: #8CA79A; /* Sage Green */
    --accent-color: #D68C9B; /* Deeper Muted Pink */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Utilities */
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.site-title a {
    color: var(--text-dark);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navigation a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Subtle overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 20px;
    background-color: var(--primary-color);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ==========================================================================
   Shop/Products Section
   ========================================================================== */
.shop-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* WooCommerce Overrides */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product img {
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .price {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .button {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    border-radius: 30px;
    padding: 10px 20px;
    font-family: var(--font-body);
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--text-dark) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 20px;
    text-align: center;
}

.site-footer p {
    color: #999;
}

.site-footer h3 {
    color: var(--white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
