/*
Theme Name: Canchis Premium
Theme URI: https://turismocanchis.gob.pe
Author: Antigravity AI
Author URI: https://google.com
Description: Tema premium de WordPress dedicado exclusivamente a promocionar el turismo de la provincia de Canchis (Cusco, Perú). Incluye optimización SEO, diseño responsive moderno y soporte integrado para reservas de servicios turísticos.
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: canchis-premium
Tags: translation-ready, custom-menu, featured-images, full-width-template, theme-options, grid-layout, travel, cultural, nature
*/

/* ==========================================================================
   Variables y Sistema de Diseño (Paleta de Colores y Tipografías)
   ========================================================================== */
:root {
    --color-primary: #1565C0;      /* Azul profundo - Cielo y lagunas */
    --color-secondary: #2E7D32;    /* Verde bosque - Naturaleza y valles */
    --color-accent: #C9A227;       /* Dorado - Sol y legado Inca */
    --color-earth: #795548;        /* Marrón tierra - Montañas y cerámica */
    --color-white: #FFFFFF;        /* Blanco puro */
    --color-light: #F8F9FA;        /* Gris claro para fondos alternados */
    --color-dark: #1E293B;         /* Gris oscuro/azul para textos y fondos oscuros */
    --color-dark-muted: #64748B;   /* Texto secundario */
    --color-border: #E2E8F0;       /* Bordes sutiles */
    --color-overlay: rgba(15, 23, 42, 0.6); /* Capa oscura para Hero e imágenes */
    --color-glass: rgba(255, 255, 255, 0.15); /* Efecto Glassmorphism */
    
    --font-titles: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   Reset & Estilos Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

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

p {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--color-dark-muted);
}

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

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

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

ul, ol {
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   Estilos Comunes de Botones Premium
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    transition: var(--transition-bounce);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.btn:active {
    transform: scale(0.96);
}

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

.btn-primary:hover {
    background-color: #B28F20; /* Dorado más oscuro */
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: #0E4B94; /* Azul más oscuro */
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-success:hover {
    background-color: #215A24; /* Verde más oscuro */
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Responsive Grid & Utilitarios
   ========================================================================== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Espacio en Blanco Premium */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-bg {
    background-color: var(--color-light);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title h2 {
    position: relative;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: var(--radius-full);
}

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