/*
Theme Name: Agualuna
Theme URI: https://agualuna.cl
Author: Antigravity
Description: A premium, holistic, and esoteric theme for alternative therapies, ceremonies, and courses. Fully compatible with WooCommerce.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agualuna
*/

:root {
    --color-lavender: #d1c4e9;
    --color-lavender-dark: #9575cd;
    --color-beige: #f5f5dc;
    --color-beige-dark: #e1e1c0;
    --color-mint: #e0f2f1;
    --color-mint-dark: #80cbc4;
    --color-whatsapp: #25d366;
    --color-text: #4a4a4a;
    --color-heading: #2c3e50;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-beige);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    color: var(--color-heading);
    font-weight: 600;
}

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

/* Icons */
.icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    fill: currentColor;
    margin-right: 8px;
}
.btn .icon {
    margin-right: 12px;
    width: 1.4em;
    height: 1.4em;
}

/* Header */
.site-header {
    padding: 1rem 0;
    background: rgba(245, 245, 220, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-heading);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-lavender-dark);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero */
.hero-banner {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero_bg_new.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0;
    animation: fadeInHero 2s forwards ease-out;
}

@keyframes fadeInHero {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 0.6; transform: scale(1); }
}

.hero-banner h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-banner p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
}

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

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.price {
    display: block;
    font-weight: 700;
    color: var(--color-lavender-dark);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Sobre Mí Side by Side */
.sobre-mi-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.sobre-mi-img {
    flex: 1;
    max-width: 400px;
}

.sobre-mi-text {
    flex: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-lavender-dark);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 117, 205, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(149, 117, 205, 0.4);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-beige);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    border-radius: 25px;
    padding: 2.5rem 1rem;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-heading);
}

.booking-list {
    list-style: none;
    margin-top: 1.5rem;
}

.booking-item {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--color-text);
}

.booking-item:hover {
    background: rgba(149, 117, 205, 0.1);
    padding-left: 1.5rem;
}

.booking-item span {
    font-weight: 700;
    color: var(--color-lavender-dark);
}

/* WhatsApp Fixed */
.whatsapp-fixed {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: var(--color-whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
    z-index: 1500;
    transition: var(--transition-smooth);
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

.whatsapp-fixed svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Footer */
.site-footer {
    background: var(--color-heading);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
        background: rgba(245, 245, 220, 0.7);
    }
    
    .site-header nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 0;
    }
    
    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.4rem !important;
    }
    
    .hero-banner {
        padding-top: 80px;
    }

    .section {
        padding: 4rem 0;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-mi-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .sobre-mi-img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .booking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .booking-item span {
        align-self: flex-end;
    }

    [id], .section {
        scroll-margin-top: 80px;
    }
}

.vintage-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/pinstriped-suit.png');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}
