/*
Theme Name: Nanda's Stiche
Theme URI: https://nandastiche.ch
Description: Tema profesional para servicios de costura y sastrería
Version: 1.0.0
Author: Nanda de Matos
Author URI: https://nandastiche.ch
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nandastiche
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
Tags: responsive, custom-colors, custom-logo, elementor-compatible, seo-optimized
*/

:root {
    --color-primary: #2d5016;
    --color-primary-light: #3d6b1f;
    --color-primary-dark: #1a2f0e;
    --color-accent: #d4a574;
    --color-accent-light: #e8c4a0;
    --color-accent-dark: #a67c3f;
    --color-light: #f5f3f0;
    --color-white: #ffffff;
    --color-gray: #666666;
    --color-gray-light: #eeeeee;
    --color-text-light: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

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

a:hover {
    color: var(--color-accent-dark);
}

/* HEADER */
.site-header {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo img {
    max-width: 70px;
    height: auto;
    display: block;
}

.site-logo .custom-logo {
    max-width: 70px;
    height: auto;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    color: var(--color-primary);
}

.site-title a {
    color: var(--color-primary);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--color-accent);
}

.site-description {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin: 0.25rem 0 0 0;
    font-style: italic;
}

/* NAVIGATION */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    display: inline-block;
}

.main-navigation a:hover,
.main-navigation a.current,
.main-navigation li.current-menu-item > a {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* SITE CONTENT */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 300px);
}

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

/* SECTIONS */
.section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    border-radius: 2px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero .btn {
    margin: 0 0.5rem;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* CARDS */
.card,
.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--color-accent);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card:hover,
.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.service-card h3 {
    color: var(--color-primary);
    margin-top: 0;
}

.service-price {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.3rem;
    margin: 1rem 0;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent-dark);
}

/* ARTICLES */
article {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

article h2 {
    margin-top: 0;
}

.entry-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.entry-content {
    color: #666;
    line-height: 1.8;
}

/* FOOTER */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget {
    color: var(--color-text-light);
}

.footer-widget h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-widget p {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: var(--color-accent-light);
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* PRICE CARDS */
.price-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.price-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.price-card.featured {
    transform: scale(1.05);
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, transparent 100%);
}

.price-title {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .site-content {
        padding: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .grid,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
}
