:root {
    --bg-primary: #FAF9F6;
    --bg-secondary: #EFEBE0;
    --text-main: #1C2621;
    --text-light: #4A564F;
    --accent-gold: #B68D40;
    --accent-gold-hover: #9C7835;
    --accent-dark: #121A16;
    --white: #FFFFFF;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'EB Garamond', serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .logo, .footer-logo {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--accent-dark);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(182, 141, 64, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(250, 249, 246, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo {
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Buttons */
.btn-outline {
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    color: var(--accent-gold) !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--white) !important;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content .subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--accent-gold);
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

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

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

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container.reverse {
    flex-direction: row-reverse;
}

.content {
    flex: 1;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-bottom: 2rem;
}

.divider.center {
    margin: 0 auto 3rem;
}

.content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.event-details {
    background: var(--white);
    padding: 2rem;
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.bg-secondary .event-details {
    background: var(--bg-primary);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    line-height: 1;
}

.detail-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent-dark);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.detail-item span {
    color: var(--text-light);
}

/* Image Grid */
.image-grid {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.img-main {
    width: 80%;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 2;
    transition: var(--transition);
}

.img-main:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
    z-index: 4;
}

.img-sub {
    width: 60%;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 3;
    border: 10px solid var(--bg-primary);
    transition: var(--transition);
}

.img-sub:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
    z-index: 5;
}

.bg-secondary .img-sub {
    border-color: var(--bg-secondary);
}

.grid-alt .img-main {
    left: 0;
    right: auto;
}

.grid-alt .img-sub {
    right: 0;
    left: auto;
}

/* Gallery */
.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 4px;
}

.gallery-img:hover {
    transform: translateY(-12px) scale(1.05) rotate(1.5deg);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 8rem 5%;
    background: linear-gradient(rgba(28, 38, 33, 0.95), rgba(28, 38, 33, 0.95)), url('assets/03-yoga.png') center/cover fixed;
    color: var(--white);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--accent-gold);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    background-color: #25D366;
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.wa-icon {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--accent-dark);
    color: var(--white);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.btn-email {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    background-color: var(--text-main);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
    background-color: var(--accent-gold);
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-primary);
    margin: auto;
    padding: 3rem;
    border: 1px solid var(--accent-gold);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-light);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-gold);
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(182, 141, 64, 0.4);
    background-color: var(--bg-secondary);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(182, 141, 64, 0.2);
}

.form-status {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-status.success { color: #2E7D32; }
.form-status.error { color: #C62828; }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .container { flex-direction: column !important; gap: 3rem; }
    .image-grid { width: 100%; min-height: 400px; margin-top: 2rem; }
    .img-main { width: 70%; }
    .img-sub { width: 50%; }
    .gallery-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { flex-direction: column; padding-top: 8rem; text-align: center; }
    .hero-image::before { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.5rem; }
    .divider { margin: 0 auto 2rem; }
    .content { text-align: center; }
    .event-details { text-align: left; }
    .cta-box h2 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .section { padding: 4rem 5%; }
    .gallery-track { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 2.2rem; }
    .btn-primary { width: 100%; text-align: center; }
    .image-grid { min-height: 300px; }
    .event-details { padding: 1.5rem; }
    .cta-box h2 { font-size: 2.2rem; }
    .cta-section { padding: 6rem 5%; }
}

@media (max-width: 380px) {
    .hero { padding-top: 6rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    .cta-box h2 { font-size: 1.8rem; }
    .image-grid { min-height: 250px; }
    .btn-whatsapp { font-size: 1rem; padding: 0.8rem 1.5rem; width: 100%; justify-content: center; }
    .btn-primary { font-size: 1rem; padding: 0.8rem 1.5rem; }
    .detail-item strong { font-size: 1.1rem; }
    .detail-item span { font-size: 0.95rem; }
    .logo { font-size: 1.6rem; }
}
