/* ==========================================================================
   THEME 2: PLAYFUL SCRAPBOOK & DOODLE STICKER (CUTE & ROMANTIC)
   Devia & Daris Wedding Invitation
   ========================================================================== */

:root {
    --sb-bg: #FAF6F0;
    --sb-paper: #FFFFFF;
    --sb-card-bg: #FFFDF9;
    --sb-primary: #E07A5F;     /* Warm Terracotta Coral */
    --sb-primary-soft: #F4A261;/* Soft Coral Peach */
    --sb-sage: #81B29A;        /* Cute Sage Green */
    --sb-honey: #F2CC8F;       /* Warm Honey Yellow */
    --sb-rose: #F3C6C0;        /* Soft Blush Rose */
    --sb-lavender: #D8B4E2;    /* Soft Pastel Lavender */
    --sb-dark: #3D405B;        /* Ink Charcoal Blue */
    --sb-muted: #6C757D;
    --sb-border: #E8DFD8;
    --sb-tape-pink: rgba(243, 198, 192, 0.75);
    --sb-tape-green: rgba(129, 178, 154, 0.75);
    --sb-tape-yellow: rgba(242, 204, 143, 0.75);
}

/* Base Body with Scrapbook Texture */
body.theme-scrapbook {
    background-color: var(--sb-bg) !important;
    background-image: 
        radial-gradient(rgba(224, 122, 95, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(129, 178, 154, 0.08) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    background-position: 0 0, 12px 12px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--sb-dark) !important;
}

body.theme-scrapbook .loading-page {
    background-color: var(--sb-bg) !important;
}

/* Handwritten & Accent Fonts */
.font-doodle {
    font-family: 'Patrick Hand', 'Caveat', cursive !important;
}

.font-romantic {
    font-family: 'Caveat', 'Great Vibes', cursive !important;
}

/* Scrapbook Card Box */
.scrapbook-card {
    background: var(--sb-card-bg);
    border: 2px dashed rgba(224, 122, 95, 0.35);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(61, 64, 91, 0.06);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.scrapbook-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(61, 64, 91, 0.1);
}

/* Washi Tape Ornaments */
.washi-tape {
    position: absolute;
    height: 22px;
    width: 90px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    background: var(--sb-tape-pink);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 5;
    opacity: 0.9;
    clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 0% 100%);
}

.washi-tape.tape-green {
    background: var(--sb-tape-green);
    transform: translateX(-50%) rotate(2.5deg);
}

.washi-tape.tape-yellow {
    background: var(--sb-tape-yellow);
    transform: translateX(-50%) rotate(-1deg);
}

.washi-tape.tape-corner-tl {
    top: -8px;
    left: 15px;
    transform: rotate(-25deg);
    width: 60px;
}

.washi-tape.tape-corner-tr {
    top: -8px;
    left: auto;
    right: 15px;
    transform: rotate(25deg);
    width: 60px;
}

/* Polaroid Photo Card */
.polaroid-frame {
    background: #FFFFFF;
    padding: 12px 12px 28px 12px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(61, 64, 91, 0.12);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: inline-block;
}

.polaroid-frame:hover {
    transform: scale(1.03) rotate(0deg) !important;
    z-index: 10;
}

.polaroid-frame.tilt-left {
    transform: rotate(-3deg);
}

.polaroid-frame.tilt-right {
    transform: rotate(3deg);
}

.polaroid-caption {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.25rem;
    color: var(--sb-dark);
    margin-top: 10px;
    margin-bottom: -15px;
    text-align: center;
}

/* Interactive Tap & Pop Doodle Stickers */
.doodle-sticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.doodle-sticker:hover {
    transform: scale(1.15) rotate(3deg);
}

.doodle-sticker:active {
    transform: scale(0.92);
}

.sticker-coral {
    background: #FFEDE8;
    color: var(--sb-primary);
    border: 1.5px solid var(--sb-primary);
}

.sticker-sage {
    background: #EAF4F0;
    color: var(--sb-sage);
    border: 1.5px solid var(--sb-sage);
}

.sticker-honey {
    background: #FEF6E8;
    color: #DDA15E;
    border: 1.5px solid #DDA15E;
}

.sticker-rose {
    background: #FDF0EE;
    color: #E07A5F;
    border: 1.5px solid #F3C6C0;
}

/* Cute Heart & Sparkle Particle Pop */
.particle-pop {
    position: absolute;
    pointer-events: none;
    animation: floatParticle 0.8s ease-out forwards;
    z-index: 9999;
}

@keyframes floatParticle {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.6);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx, 0px), var(--dy, -40px)) scale(1.3);
    }
}

/* Cute Buttons */
.btn-scrapbook {
    background: linear-gradient(135deg, var(--sb-primary) 0%, var(--sb-primary-soft) 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    padding: 10px 24px;
    box-shadow: 0 6px 16px rgba(224, 122, 95, 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-scrapbook:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(224, 122, 95, 0.45);
    color: #FFFFFF !important;
}

.btn-scrapbook:active {
    transform: scale(0.96);
}

.btn-scrapbook-sage {
    background: linear-gradient(135deg, var(--sb-sage) 0%, #A3B18A 100%);
    box-shadow: 0 6px 16px rgba(129, 178, 154, 0.35);
}

.btn-scrapbook-sage:hover {
    box-shadow: 0 10px 22px rgba(129, 178, 154, 0.45);
}

/* Scrapbook Countdown Box */
.countdown-box-sb {
    background: #FFFFFF;
    border: 2px solid var(--sb-rose);
    border-radius: 18px;
    padding: 10px 4px;
    box-shadow: 0 4px 12px rgba(243, 198, 192, 0.4);
    position: relative;
}

.countdown-box-sb::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sb-primary);
    opacity: 0.6;
}

/* Cute Envelope Welcome Modal */
.envelope-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    perspective: 1000px;
}

.envelope-card {
    background: #FFFFFF;
    border: 2px solid var(--sb-rose);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(61, 64, 91, 0.15);
    position: relative;
    overflow: hidden;
    padding: 24px 20px;
}

/* Cute Floating Sticky Notes (Wishes) */
.sticky-comment-card {
    background: #FFFDF7;
    border-left: 5px solid var(--sb-primary-soft);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(61, 64, 91, 0.05);
    position: relative;
    transition: transform 0.2s ease;
}

.sticky-comment-card:hover {
    transform: translateX(4px);
}

/* Animation Utilities */
.anim-bounce-soft {
    animation: bounceSoft 2.5s infinite ease-in-out;
}

@keyframes bounceSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.anim-wiggle {
    animation: wiggle 3s infinite ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* ==========================================================================
   ANIMATED BOTANICAL PLANTS, FLOWERS & BUTTERFLIES (INTERACTIVE ASSETS)
   ========================================================================== */

/* Scrapbook Stickers & Ornaments (Physical Scrapbook Feel) */
.botanical-branch-left {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    pointer-events: auto;
    cursor: pointer;
    z-index: 6;
    transform-origin: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.botanical-branch-right {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    pointer-events: auto;
    cursor: pointer;
    z-index: 6;
    transform-origin: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.botanical-branch-left:hover {
    transform: scale(1.22) rotate(-8deg);
    filter: drop-shadow(0 6px 14px rgba(224, 122, 95, 0.35));
}

.botanical-branch-right:hover {
    transform: scale(1.22) rotate(8deg);
    filter: drop-shadow(0 6px 14px rgba(224, 122, 95, 0.35));
}

/* Interactive Floating Scrapbook Decor */
.butterfly-art {
    position: absolute;
    width: 44px;
    height: 44px;
    object-fit: contain;
    z-index: 8;
    cursor: pointer;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.butterfly-art:hover {
    transform: scale(1.28) rotate(-12deg);
    filter: drop-shadow(0 8px 16px rgba(224, 122, 95, 0.4));
}

.scrap-stamp {
    position: absolute;
    pointer-events: none;
    z-index: 6;
    filter: drop-shadow(0 3px 6px rgba(224, 122, 95, 0.22));
    transition: transform 0.3s ease;
}

.scrap-paperclip {
    position: absolute;
    pointer-events: none;
    z-index: 7;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25));
}

/* Floating Drifting Flower Petals Background */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1020;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -30px;
    width: 14px;
    height: 20px;
    border-radius: 50% 0 50% 50%;
    opacity: 0.72;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    animation: fallingPetal 12s linear infinite;
}

.petal-1 { left: 10%; background: linear-gradient(135deg, #F8C3B9, #E07A5F); animation-duration: 11s; animation-delay: 0s; }
.petal-2 { left: 28%; background: linear-gradient(135deg, #FDE2D8, #D89886); animation-duration: 14s; animation-delay: 2.5s; }
.petal-3 { left: 45%; background: linear-gradient(135deg, #D4AF37, #C5A059); animation-duration: 10s; animation-delay: 5s; width: 10px; height: 16px; }
.petal-4 { left: 68%; background: linear-gradient(135deg, #B5C99A, #87986A); animation-duration: 13s; animation-delay: 1.5s; width: 12px; height: 18px; }
.petal-5 { left: 85%; background: linear-gradient(135deg, #F7D1BA, #E5989B); animation-duration: 15s; animation-delay: 4s; }

@keyframes fallingPetal {
    0% {
        transform: translateY(-20px) rotate(0deg) translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(105vh) rotate(420deg) translateX(60px);
        opacity: 0;
    }
}

/* Spinning Flower Ornament */
.spin-flower-gear {
    animation: spinFlower 12s linear infinite;
    transform-origin: center;
}

@keyframes spinFlower {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Cute Vinyl Floral Audio Player Button */
#button-music {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #FFFFFF 20%, #F3C6C0 100%) !important;
    border: 2px solid var(--sb-primary) !important;
    box-shadow: 0 6px 18px rgba(224, 122, 95, 0.4) !important;
    color: var(--sb-primary) !important;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#button-music:hover {
    transform: scale(1.15) rotate(15deg);
}

/* Cute Scrapbook Bottom Navigation */
body.theme-scrapbook #navbar-menu {
    background: rgba(255, 253, 249, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 2px dashed rgba(224, 122, 95, 0.3) !important;
}

body.theme-scrapbook #navbar-menu .nav-link {
    color: var(--sb-muted) !important;
    transition: all 0.25s ease;
    border-radius: 12px;
    margin: 2px 4px;
}

body.theme-scrapbook #navbar-menu .nav-link:hover,
body.theme-scrapbook #navbar-menu .nav-link.active {
    color: var(--sb-primary) !important;
    background: rgba(243, 198, 192, 0.35);
    transform: translateY(-2px);
}

body.theme-scrapbook #navbar-menu .nav-link i {
    font-size: 1.15rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.theme-scrapbook #navbar-menu .nav-link.active i {
    transform: scale(1.25);
    color: var(--sb-primary) !important;
}

/* ==========================================================================
   DESKTOP PC HERO: FULL-BLEED PHOTO + SCRAPBOOK POLAROID OVERLAY
   ========================================================================== */
.hero-desktop-sb {
    background: #251B19;
    overflow: hidden;
}

.hero-desktop-photo {
    transition: transform 8s ease-out;
    filter: brightness(0.92) contrast(1.03);
}

.hero-desktop-sb:hover .hero-desktop-photo {
    transform: scale(1.04);
}

.hero-stitch-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    pointer-events: none;
    z-index: 2;
}

/* Floating Polaroid Collage on Desktop Screen */
.hero-polaroid {
    position: absolute;
    background: #FFFFFF;
    padding: 8px 8px 18px 8px;
    border-radius: 6px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-polaroid img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    display: block;
}

.hero-polaroid .polaroid-caption {
    font-size: 0.95rem;
    margin-top: 6px;
    margin-bottom: -10px;
}

.hero-polaroid:hover {
    transform: scale(1.15) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.hero-polaroid-1 {
    top: 8%;
    left: 8%;
    transform: rotate(-10deg);
}

.hero-polaroid-2 {
    bottom: 10%;
    left: 12%;
    transform: rotate(8deg);
}

.hero-polaroid-3 {
    top: 14%;
    right: 10%;
    transform: rotate(12deg);
}

@media (max-width: 991.98px) {
    .hero-polaroid {
        display: none;
    }
}
