:root {
    --primary-dark: #0b443d;
    --primary-light: #1c5c4e;
    --accent-gold: #d4af37;
    /* Adding a gold accent for elegance */
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #f8f9fa;
    --bg-off-white: #e9ecef;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    /* Prevent font scaling in landscape on iOS */
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on mobile */
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

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

/* --- Mixing Utils --- */
.section-light {
    background-color: var(--white);
    color: var(--primary-dark);
}

.section-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}

.section-alt {
    background-color: var(--bg-off-white);
    color: var(--primary-dark);
}

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

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

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Header Parallax --- */
header.parallax {
    height: 100vh;
    background-image: url('images/header.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken for readability */
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 4rem;
    font-style: italic;
    color: var(--white);
    /* Gold implies luxury */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content p {
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* --- Gratitude Section --- */
.emotional-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
}

#agradecimiento h2 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.5rem;
}

/* --- Video Section --- */
#video-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    background: #f0f0f0;
}

.video-placeholder i {
    font-size: 4rem;
    color: #cc181e;
    margin-bottom: 10px;
}

/* --- Galleries --- */
.gallery-section {
    padding: 3rem 0;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    /* Portrait orientation preferred for mobile */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background: var(--primary-dark) !important;
}

/* Style Lightbox Download Button if custom needs */


/* --- CTA Section --- */
/* --- CTA Section --- */
.section-sky {
    background: linear-gradient(135deg, #87CEEB 0%, #4FA3F7 100%);
    /* Sky Blue Gradient */
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

#cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.persuasive-text {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.cta-highlight {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #fff;
    /* Ensure it stands out, maybe yellow accent? */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-whatsapp-large {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 18px 40px;
    font-size: 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid white;
    /* Make it pop against the blue */
}

.btn-whatsapp-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background-color: white;
    color: #25D366;
}

/* --- Footer --- */
/* --- Footer --- */
footer {
    background: linear-gradient(135deg, #0077be 0%, #005c99 100%);
    /* Intense Blue */
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    letter-spacing: 1px;
    font-weight: normal;
}

/* --- Floating Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.contact {
    background-color: var(--primary-dark);
}

.float-btn.share {
    background-color: var(--accent-gold);
    /* Or a nice blue */
}

.float-btn.up {
    background-color: #333;
    opacity: 0;
    /* Hidden by default */
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.float-btn.up.show {
    opacity: 1;
    visibility: visible;
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 68, 61, 0.95);
    /* Primary dark with slight transparency */
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-size: 1rem;
    transition: color 0.3s;
}

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

.nav-toggle {
    display: none;
    /* Hidden on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* --- UX Enhancements --- */

/* Scroll Progress Bar */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 2000;
}

#scroll-progress-bar {
    height: 100%;
    background: var(--accent-gold);
    width: 0%;
    transition: width 0.1s;
}

/* Toast Notification */
#toast-container {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(11, 68, 61, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    animation: fadeInUp 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast i {
    color: var(--accent-gold);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active Nav Highlight */
.nav-links li a.active {
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

/* Skeleton Loading */
.loading-placeholder i {
    color: #ccc;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

/* Swipe Hint Animation */
.swipe-hint {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 10;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
    pointer-events: none;
    animation: swipeAnim 2s infinite;
    opacity: 0;
}

.show-hint {
    opacity: 1;
    transition: opacity 0.5s;
}

@keyframes swipeAnim {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        transform: translateX(-20px);
        opacity: 1;
    }

    100% {
        transform: translateX(-30px);
        opacity: 0;
    }
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    header.parallax {
        background-attachment: scroll;
    }

    .header-content h1 {
        font-size: 3rem;
    }

    .swiper-slide {
        width: 250px;
        height: 350px;
    }

    /* Mobile Nav Styles */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 68, 61, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Hidden */
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        /* Visible */
    }
}