/* ==========================================================================
   Design System - Premium Model (Beach Chic / Modern Romance)
   ========================================================================== */
:root {
    --color-bg: #FDF9F1; /* Sand off-white */
    --color-bg-alt: #FFFFFF; /* Pure white for alternate sections */
    --color-primary: #2A4365; /* Navy Blue */
    --color-accent: #C28C9F; /* Rose Gold / Blush */
    --color-text: #4A5568; 
    --color-text-light: #718096;
    
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-text: 'Outfit', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 15px 35px rgba(42, 67, 101, 0.1);
    
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-text);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); font-weight: 400; }
a { text-decoration: none; color: inherit; }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 6rem 0; }
.bg-alt { background-color: var(--color-bg-alt); }

/* Dividers */
.divider { width: 60px; height: 2px; background-color: var(--color-accent); margin: 1.5rem auto; }

/* Buttons */
.btn-elegant {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-text);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-elegant:hover { background-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(194, 140, 159, 0.3); }
.btn-elegant.outline { background-color: transparent; border: 1px solid var(--color-primary); color: var(--color-primary); }
.btn-elegant.outline:hover { background-color: var(--color-primary); color: white; }

/* Floating Music Button */
.floating-music {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}
.floating-music:hover { transform: scale(1.1); background: var(--color-primary); color: white; }
.floating-music.playing { animation: pulse 2s infinite; color: var(--color-accent); }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(194, 140, 159, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(194, 140, 159, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 140, 159, 0); }
}

/* ==========================================================================
   Hero Parallax
   ========================================================================== */
.hero-parallax {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}
.hero-parallax::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    z-index: 0;
}
.glass-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 600px;
    box-shadow: var(--glass-shadow);
    width: 90%;
}
.pre-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; color: var(--color-text-light); margin-bottom: 1rem; }
.couple-names { font-family: var(--font-heading); font-size: 4rem; color: var(--color-primary); margin-bottom: 1rem; line-height: 1.1; }
.couple-names span { font-family: var(--font-script); font-size: 3.5rem; color: var(--color-accent); font-weight: normal; margin: 0 10px; }
.date-location { margin-bottom: 2rem; }
.date-location .date { font-size: 1.2rem; color: var(--color-primary); font-weight: 500; }
.date-location .location { font-size: 1rem; color: var(--color-text-light); }

/* ==========================================================================
   Countdown
   ========================================================================== */
.section-title { font-size: 2.5rem; }
.section-subtitle { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 3rem; }
.countdown-wrapper { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.time-box {
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    width: 100px; height: 100px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: var(--transition);
}
.time-box:hover { background-color: var(--color-accent); color: white; transform: translateY(-5px); }
.time-box span { font-family: var(--font-heading); font-size: 2rem; color: inherit; line-height: 1; }
.time-box p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: inherit; margin-top: 5px; }

/* ==========================================================================
   Timeline ZigZag
   ========================================================================== */
.timeline-zigzag { display: flex; flex-direction: column; gap: 4rem; }
.zig-item { display: flex; align-items: center; gap: 3rem; }
.zig-item.left-image { flex-direction: row; }
.zig-item.right-image { flex-direction: row-reverse; }

.zig-image { flex: 1; }
.zig-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.zig-text { flex: 1; padding: 3rem; }

.glass-box {
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.8));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    border-radius: 16px;
}
.zig-date { color: var(--color-accent); font-family: var(--font-heading); font-size: 1.5rem; font-style: italic; margin-bottom: 0.5rem; }
.zig-text h3 { font-size: 2rem; margin-bottom: 1rem; }

@media (max-width: 768px) {
    .zig-item.left-image, .zig-item.right-image { flex-direction: column; gap: 1rem; }
    .zig-text { padding: 2rem 1.5rem; margin-top: -30px; position: relative; z-index: 2; margin-left: 1rem; margin-right: 1rem; }
}

/* ==========================================================================
   Álbum Masonry
   ========================================================================== */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
}
.masonry-item { border-radius: 8px; overflow: hidden; }
.masonry-item.tall { grid-row: span 2; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.masonry-item:hover img { transform: scale(1.05); }

/* ==========================================================================
   Onde e Quando & Dress Code
   ========================================================================== */
.location-flex { display: flex; gap: 2rem; }
.location-details { flex: 1; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.glass-box-light { background: #FFFFFF; border: 1px solid rgba(42,67,101,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.03); border-radius: 8px; }
.map-wrapper { flex: 1; border-radius: 8px; overflow: hidden; min-height: 350px; }
.schedule-timeline { margin-top: 2rem; border-left: 2px solid var(--color-accent); padding-left: 1.5rem; }
.s-item { margin-bottom: 1rem; position: relative; }
.s-item::before { content:''; position: absolute; left: -29px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); }
.s-item span { font-weight: 600; color: var(--color-primary); margin-right: 10px; }

@media (max-width: 768px) {
    .location-flex { flex-direction: column; }
}

.dresscode-box { max-width: 600px; margin: 0 auto; padding: 3rem; text-align: center; }
.dresscode-box p { margin-bottom: 1rem; font-size: 1.1rem; }

/* ==========================================================================
   Lista de Presentes
   ========================================================================== */
.gifts-glass-box { 
    max-width: 800px; 
    margin: 0 auto; 
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 5rem 4rem; 
    border-radius: 20px; 
    border: var(--glass-border); 
    box-shadow: var(--glass-shadow); 
}

/* ==========================================================================
   Citação Bíblica
   ========================================================================== */
.quote-container {
    max-width: 800px;
    margin: 0 auto;
}
.bible-verse {
    font-family: var(--font-script);
    font-size: 3.5rem;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.bible-ref {
    font-family: var(--font-text);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--color-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-premium { background-color: var(--color-primary); color: white; padding: 4rem 0; }
.footer-premium h2 { color: var(--color-accent); font-size: 3rem; margin-bottom: 0.5rem; }
.footer-premium span { font-family: var(--font-script); color: white; font-size: 2.5rem; font-weight: normal; }
.date-footer { font-family: var(--font-heading); margin-top: 1rem; font-style: italic; opacity: 0.7; }

/* ==========================================================================
   Animações Avançadas (AOS Customizado)
   ========================================================================== */
.reveal { opacity: 0; visibility: hidden; transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; visibility: visible; }

/* Types of animations */
.fade-up { transform: translateY(50px); }
.fade-up.active { transform: translateY(0); }

.slide-in-left { transform: translateX(-50px); }
.slide-in-left.active { transform: translateX(0); }

.slide-in-right { transform: translateX(50px); }
.slide-in-right.active { transform: translateX(0); }

.zoom-in { transform: scale(0.9); }
.zoom-in.active { transform: scale(1); }

/* Inicial animation for Hero */
.animate-on-load { opacity: 0; animation: fadeUpLoad 1s cubic-bezier(0.5, 0, 0, 1) 0.5s forwards; }
@keyframes fadeUpLoad {
    to { opacity: 1; transform: translateY(0); }
}
