:root {
    --primary-black: #0c0c0c;
    --secondary-black: #1a1a1a;
    --gold: #d4af37;
    --gold-hover: #b5952f;
    --gold-light: #f3e5ab;
    --ivory: #fffff0;
    --warm-white: #fdfbf7;
    --text-muted: #a0a0a0;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--warm-white);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

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

.section {
    padding: 6rem 0;
}

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

.text-center {
    text-center;
}

/* Typography Utils */
.section-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-black);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--ivory);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('santuario-san-juan-pablo-ii.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ivory);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(12,12,12,0.8), rgba(12,12,12,0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero .subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
}

.hero .divider {
    color: var(--ivory);
    margin: 0 0.5rem;
}

.hero .title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero .quote {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 2rem;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.hero .actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Artist Section */
.artist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.artist-image {
    position: relative;
}

.artist-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: block;
}

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

.artist-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
}

/* Event Section */
.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.event-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.detail-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 0.2rem;
}

.detail-item h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    color: var(--primary-black);
    margin-bottom: 0.2rem;
}

.detail-item p {
    color: #555;
}

.detail-item .small-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.event-map {
    min-height: 400px;
}

/* Highlight Section */
.highlight {
    position: relative;
    background: url('templo/701496262_1006985511688305_3942195883479536181_n.jpg') center/cover no-repeat fixed;
    color: var(--primary-black);
}

.highlight-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(212, 175, 55, 0.85); /* Gold overlay */
    z-index: 1;
}

.highlight-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.highlight-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-black);
}

.highlight-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Goal Section */
.goal-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat-box h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.stat-box .currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.stat-divider {
    height: 80px;
    width: 1px;
    background-color: #ddd;
}

.progress-container {
    width: 100%;
    max-width: 800px;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f3e5ab);
    width: 0%; /* Animated via JS */
    border-radius: 4px;
    transition: width 2s ease-in-out;
}

.progress-text {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    aspect-ratio: 1;
}

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

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 12, 12, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-overlay i {
    color: var(--ivory);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

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

.testimonial-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #444;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-black);
    font-family: var(--font-heading);
}

/* CTA Final Section */
.cta-final {
    background-color: var(--primary-black);
    color: var(--ivory);
    padding: 8rem 0;
}

.cta-final .title {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.subtitle-cta {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #ccc;
}

.reservation-form-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--secondary-black);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.form-group input {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid #444;
    color: var(--ivory);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
}

.form-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #050505;
    color: #ccc;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3, .footer-social h3 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-info i {
    color: var(--gold);
    margin-top: 0.3rem;
}

.footer-link {
    color: #ccc;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--ivory);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--primary-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    font-size: 0.9rem;
}

.privacy-link {
    color: var(--gold);
    margin-left: 1rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 0 1.5rem;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp i {
    font-size: 1.6rem;
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
    background-color: #20ba56;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

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

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

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

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible, .slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .artist-grid {
        grid-template-columns: 1fr;
    }
    .event-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }
    .hero .quote {
        font-size: 1.2rem;
    }
    .hero .actions {
        flex-direction: column;
    }
    .goal-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .stat-divider {
        display: none;
    }
    .highlight-title {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Bio Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--warm-white);
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    animation: zoomIn 0.3s ease;
    color: var(--primary-black);
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-title {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Stacked Images */
.stacked-images {
    perspective: 1000px;
}

.stacked-images img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stacked-bottom {
    position: absolute !important;
    top: 30px;
    left: 20px;
    z-index: 1;
    transform: rotate(5deg) scale(0.95);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.stacked-top {
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
}

.stacked-images:hover .stacked-bottom {
    transform: rotate(8deg) scale(0.95) translate(15px, 15px);
}

.stacked-images:hover .stacked-top {
    transform: rotate(0deg) scale(1.02);
}
