/* ===================================
   VARIABLES Y COLORES
   =================================== */
:root {
    /* Paleta Flores del Encanto */
    --color-primary: #D3A89D;      /* Rosa nude / empolvado (logo) */
    --color-primary-deep: #B07F71; /* Nude oscuro: texto y bordes sobre crema */
    --color-secondary: #B98A7C;    /* Nude medio */
    --color-sage: #8C9180;         /* Verde salvia apagado (hojas del logo) */
    --color-sage-deep: #6E7365;
    --color-accent: #FEFAF8;       /* Blanco crema cálido (fondo del logo) */
    --color-cream: #FEFAF8;
    --color-cream-2: #F7EFEB;
    --color-cream-3: #F1E5E0;
    --color-dark: #404040;         /* Gris carbón elegante (texto FLORES DEL ENCANTO) */
    --color-gray-dark: #2E2E2E;
    --color-light: #ffffff;
    --color-gray: #F7EFEB;
    --color-text: #404040;
    --color-text-light: #7A6F6A;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #D3A89D 0%, #B98A7C 100%);
    --gradient-accent: linear-gradient(135deg, #FEFAF8 0%, #F0DDD7 100%);
    --gradient-sage: linear-gradient(135deg, #8C9180 0%, #6E7365 100%);
    --gradient-dark: linear-gradient(160deg, #FEFAF8 0%, #F7EFEB 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(64, 64, 64, 0.08);
    
    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   RESET Y BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

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

/* ===================================
   CONTAINER
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   BREADCRUMB
   =================================== */
.breadcrumb {
    font-size: 0.875rem;
    color: #8A807A;
    margin-bottom: 1rem;
    font-weight: 400;
}

.breadcrumb a {
    color: var(--color-primary);
    transition: var(--transition-fast);
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, #FEFAF8 0%, #F7EFEB 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(211, 168, 157, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 250, 248, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: #404040;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #5C5450;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--color-light);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: var(--color-dark);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ===================================
   VIDEO CONTAINER
   =================================== */
.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #F7EFEB 0%, #F1E5E0 100%);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211, 168, 157, 0.1) 0%, rgba(254, 250, 248, 0.1) 100%);
    pointer-events: none;
}

/* ===================================
   FEATURED PRODUCTS
   =================================== */
.featured-products {
    padding: 80px 0;
    background: var(--gradient-dark);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(211, 168, 157, 0.1);
    box-shadow: 0 4px 16px rgba(64, 64, 64, 0.10);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(211, 168, 157, 0.25);
    border-color: var(--color-primary);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-description {
    color: #7A6F6A;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #1EBE5D;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 168, 157, 0.3);
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 190, 93, 0.32);
    background: #169549;
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .featured-products {
        padding: 60px 0;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-image {
        height: 280px;
    }
}

/* ===================================
   CLIENTS CAROUSEL
   =================================== */
.testimonials-carousel {
    padding: 60px 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 280px;
    height: 280px;
    background: rgba(211, 168, 157, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(211, 168, 157, 0.35);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
}

.testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories-section {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #7A6F6A;
    font-weight: 300;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.category-card {
    background: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 2rem;
}

.category-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.category-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #404040;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-section .btn-primary {
    background: var(--color-light);
    color: var(--color-primary);
}

.cta-section .btn-primary:hover {
    background: var(--color-dark);
    color: var(--color-light);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-left h1 {
        font-size: 3rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .category-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-left h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .testimonial-card {
        flex: 0 0 240px;
        height: 240px;
    }
}

/* ===================================
   ANIMACIONES ADICIONALES
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left > * {
    animation: fadeIn 0.8s ease forwards;
}

.hero-left h1 {
    animation-delay: 0.1s;
}

.hero-description {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.3s;
}

/* ===================================
   UTILIDADES
   =================================== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}


/* ===================================
   AJUSTES DE MARCA — FLORES DEL ENCANTO
   Fondo crema, texto carbón, acento nude y salvia.
   =================================== */
body {
    background-color: var(--color-cream);
    color: var(--color-text);
}

/* Botones nude: texto carbón para que se lea sobre el rosa empolvado */
.btn-primary,
.btn-primary:visited,
.cta-button,
.hero-cta,
.btn.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-dark) !important;
    font-weight: 600;
}

.btn-primary:hover,
.cta-button:hover {
    color: var(--color-dark) !important;
    filter: brightness(0.97);
}

/* Enlaces y acentos sobre fondo claro: nude oscuro para contraste */
a { color: var(--color-primary-deep); }
a:hover { color: var(--color-dark); }

.section-title,
h1, h2, h3 { color: var(--color-dark); }

/* Sobre secciones oscuras (carbón) se mantiene el crema y el nude claro */
.footer a,
.navbar-menu a,
.contact-card-content a,
.footer-bottom a { color: inherit; }

/* Detalles en salvia */
.locality-icon,
.feature-icon,
.check-icon {
    background: var(--gradient-sage);
}
