/* ==========================================
   Wedding Digital Invitation - Stylesheet
   Mobile-First Design
   ========================================== */

/* Ananda Black Font by Billy Argel */
@font-face {
    font-family: 'Ananda Black';
    src: url('../assets/fonts/Ananda%20Black%20Personal%20Use.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #6699CC;
    --primary-dark: #557799;
    --secondary-color: #5588BB;
    --accent-color: #e8f0f8;
    --text-dark: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --black: #000000;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(255, 255, 255, 0.95);
    
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ==========================================
   Falling Petals Effect
   ========================================== */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #6699CC 0%, #89b3e0 50%, #c4daf0 100%);
    border-radius: 50% 0 50% 50%;
    opacity: 0.8;
    animation: falling linear infinite;
}

@keyframes falling {
    0% {
        transform: translateY(-10vh) rotate(0deg) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg) translateX(100px);
        opacity: 0;
    }
}

/* ==========================================
   Music Toggle Button
   ========================================== */
.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.music-toggle:hover {
    transform: scale(1.1);
}

.music-toggle.playing .music-icon {
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.music-icon {
    font-size: 24px;
}

/* ==========================================
   Cover Section (Opening Envelope)
   ========================================== */
.cover-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

.cover-section.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0f8 0%, #d4e5f7 50%, #c0d8f0 100%);
    background-image: url('../assets/images/cover-canva.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.cover-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.cover-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.envelope {
    background: var(--overlay-light);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 350px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Islamic Text Styling */
.islamic-text {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.8;
    direction: rtl;
    text-align: center;
}

.islamic-text-hero {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.8;
    direction: rtl;
    text-align: center;
    opacity: 0.95;
}

.invitation-text {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.couple-names {
    font-family: 'Ananda Black', var(--font-display), cursive;
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.wedding-label {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.guest-name-box {
    background: var(--accent-color);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.guest-name-box p {
    font-size: 14px;
    color: var(--text-light);
}

.guest-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 5px;
}

.open-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    animation: bounce 2s ease infinite;
}

.open-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==========================================
   Main Content
   ========================================== */
.main-content {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
    min-height: 100vh;
}

.main-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/background-canva.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-names {
    font-family: 'Ananda Black', var(--font-display), cursive;
    font-size: 56px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-pada {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.date-full {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
}

.hero-venue {
    margin-top: 15px;
    text-align: center;
}

.venue-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.venue-address {
    font-family: var(--font-body);
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.date-number {
    font-size: 48px;
    font-weight: 500;
}

.date-month {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.date-year {
    font-size: 24px;
}

/* ==========================================
   Walimatul Urus Invitation Section
   ========================================== */
.invitation-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 50%, #f8f4f0 100%);
    text-align: center;
}

.invitation-content {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(102, 153, 204, 0.2);
}

.invitation-title {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.invitation-intro {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.parents-names {
    margin-bottom: 25px;
}

.parent-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 5px 0;
}

.parent-separator {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary-color);
    display: block;
    margin: 5px 0;
}

.invitation-text-body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.honorific {
    font-weight: 500;
    color: var(--text-dark);
}

.couple-full-names {
    margin-bottom: 35px;
    padding: 20px;
    background: var(--accent-color);
    border-radius: 15px;
}

.bride-full-name,
.groom-full-name {
    font-family: 'Ananda Black', var(--font-display), cursive;
    font-size: 26px;
    color: var(--primary-color);
    margin: 8px 0;
}

.couple-separator {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--primary-dark);
    display: block;
    margin: 5px 0;
}

.event-details-box {
    background: var(--accent-color);
    padding: 25px 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.details-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.detail-value.venue-detail {
    font-size: 20px;
    color: var(--primary-color);
}

.detail-value.highlight {
    color: var(--primary-color);
    font-size: 20px;
}

.detail-address {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
    line-height: 1.5;
}

.detail-hijri {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 3px;
}

/* ==========================================
   Countdown Section
   ========================================== */
.countdown-section {
    padding: 60px 20px;
    background: var(--white);
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px 15px;
    border-radius: 15px;
    min-width: 70px;
    box-shadow: var(--shadow-md);
}

.time-value {
    display: block;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    opacity: 0.9;
}

.time-separator {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

/* ==========================================
   Couple Section
   ========================================== */
.couple-section {
    padding: 60px 20px;
    background: var(--accent-color);
}

.couple-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.person {
    text-align: center;
}

.person-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-name {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.person-parent {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

.couple-divider {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--primary-color);
}

/* ==========================================
   Event Section
   ========================================== */
.event-section {
    padding: 60px 20px;
    background: var(--white);
}

.event-card {
    background: var(--accent-color);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.event-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.event-name {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.event-details p {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.event-address {
    color: var(--text-light) !important;
    font-size: 13px !important;
}

.map-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    transition: var(--transition);
}

.map-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-section {
    padding: 60px 20px;
    background: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Story Timeline Section
   ========================================== */
.story-section {
    padding: 60px 20px;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   RSVP Section
   ========================================== */
.rsvp-section {
    padding: 60px 20px;
    background: var(--accent-color);
}

.rsvp-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: -20px;
    margin-bottom: 30px;
}

.rsvp-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================
   Wishes Section
   ========================================== */
.wishes-section {
    padding: 60px 20px;
    background: var(--white);
}

.wishes-container {
    max-width: 500px;
    margin: 0 auto;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.wishes-container::-webkit-scrollbar {
    width: 5px;
}

.wishes-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

.wish-card {
    display: flex;
    gap: 15px;
    background: var(--accent-color);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.wish-avatar {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.wish-content {
    flex: 1;
}

.wish-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.wish-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 8px;
}

.wish-time {
    font-size: 12px;
    color: var(--secondary-color);
}

/* ==========================================
   Gift Section
   ========================================== */
.gift-section {
    padding: 60px 20px;
    background: var(--accent-color);
    text-align: center;
}

.gift-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-top: -20px;
    margin-bottom: 30px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.gift-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 30px;
}

.gift-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.bank-logo {
    font-size: 36px;
    margin-bottom: 10px;
}

.bank-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.account-name {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.account-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.gift-qr {
    max-width: 200px;
    margin: 0 auto;
}

.gift-qr img {
    border-radius: 15px;
    margin-bottom: 10px;
}

.gift-qr p {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================
   Thank You Section
   ========================================== */
.thankyou-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.thankyou-title {
    font-family: var(--font-display);
    font-size: 56px;
    margin-bottom: 20px;
}

.thankyou-message {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.couple-signature {
    font-family: var(--font-display);
    font-size: 36px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 30px 20px;
    background: var(--text-dark);
    text-align: center;
    color: var(--white);
}

.footer p {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.copyright {
    font-size: 12px !important;
    opacity: 0.7 !important;
}

/* ==========================================
   Gallery Popup
   ========================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    max-width: 90%;
    max-height: 80%;
}

.popup-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.popup-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.popup-prev {
    left: 20px;
}

.popup-next {
    right: 20px;
}

/* ==========================================
   Toast Notification
   ========================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 1001;
    opacity: 0;
    transition: var(--transition);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================
   Animations
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Design (Tablet & Desktop)
   ========================================== */
@media (min-width: 768px) {
    .couple-names {
        font-size: 64px;
    }
    
    .hero-names {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 52px;
    }
    
    .couple-container {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .gift-options {
        flex-direction: row;
    }
    
    .gift-card {
        flex: 1;
    }
    
    .time-box {
        min-width: 100px;
        padding: 25px 20px;
    }
    
    .time-value {
        font-size: 42px;
    }
}

@media (min-width: 1024px) {
    .hero-names {
        font-size: 84px;
    }
    
    .timeline {
        max-width: 600px;
    }
    
    .event-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .event-section > .section-title {
        width: 100%;
    }
    
    .event-cards-wrapper {
        display: flex;
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .music-toggle,
    .petals-container,
    .popup-overlay {
        display: none !important;
    }
    
    .cover-section {
        position: relative;
        height: auto;
    }
    
    .main-content {
        opacity: 1;
        transform: none;
    }
}
