/* ==========================================================================
   CUSTOM STYLES - Eurielle Ivy's Baptism Website
   Extracted from index.html for cleaner code & easier maintenance
   ========================================================================== */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.baby-hero-text {
    margin-top: -80px;
}

.baby-hero-text h1 {
    font-family: 'Great Vibes', cursive !important;
    font-size: 7.5rem !important;
    color: #c5a059 !important;
    letter-spacing: 2px !important;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9), 3px 3px 8px rgba(0, 0, 0, 0.25) !important;
}

.baby-hero-text h2.hero-name {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.5rem !important;
    color: #c5a059 !important;
    font-weight: 600 !important;
    letter-spacing: 5px !important;
    margin-bottom: 30px !important;
    text-transform: uppercase !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9), 2px 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.baby-hero-text h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #a48645 !important;
    margin-bottom: 8px !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9), 2px 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Hero Subtitle Spacing */
.hero-subtitle-first {
    margin-bottom: 25px !important;
}

.hero-subtitle-daughter {
    margin-bottom: 30px !important;
}

/* Hero Cross Icon */
.hero-cross-icon {
    font-size: 3.5rem;
    color: #c5a059;
    margin-bottom: -10px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9);
}

/* Hero Location (bold church name lines) */
.hero-location-bold {
    margin-bottom: 5px !important;
    font-weight: 600 !important;
}

/* Background Video */
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   2. HERO DATE CONTAINER
   ========================================================================== */

.hero-date-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
    font-family: 'Montserrat', sans-serif;
    color: #a48645;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9), 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-date-side {
    text-transform: uppercase;
}

.hero-date-side.left {
    text-align: right;
}

.hero-date-side.right {
    text-align: left;
}

.hero-date-side div {
    font-size: 0.9rem;
    letter-spacing: 3px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-date-center {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 0.9;
    padding: 5px 20px 20px 20px;
    border-top: 2px solid #a48645;
    border-bottom: 2px solid #a48645;
    margin: 0 20px;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   3. GALLERY - Framed Polaroid Collage
   ========================================================================== */

.gallery-box {
    background: #ffffff;
    padding: 15px;
    padding-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* Cute Pastel Backgrounds and Collage Rotations */
.gallery-item:nth-child(1) .gallery-box {
    background-color: #fff0f5;
    transform: rotate(-3deg);
}

.gallery-item:nth-child(2) .gallery-box {
    background-color: #f0f8ff;
    transform: rotate(2deg);
}

.gallery-item:nth-child(3) .gallery-box {
    background-color: #ffffe0;
    transform: rotate(-1.5deg);
}

.gallery-item:nth-child(4) .gallery-box {
    background-color: #f5fffa;
    transform: rotate(3deg);
}

.gallery-item:nth-child(5) .gallery-box {
    background-color: #ffe4e1;
    transform: rotate(-2deg);
}

.gallery-item:nth-child(6) .gallery-box {
    background-color: #f0ffff;
    transform: rotate(1.5deg);
}

.gallery-item:nth-child(7) .gallery-box {
    background-color: #fdf5e6;
    transform: rotate(-3.5deg);
}

.gallery-item:nth-child(8) .gallery-box {
    background-color: #faf0e6;
    transform: rotate(2.5deg);
}

.gallery-item:nth-child(9) .gallery-box {
    background-color: #f5f5dc;
    transform: rotate(-1deg);
}

.gallery-box:hover {
    transform: translateY(-10px) scale(1.05) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-img img {
    border-radius: 4px;
}

.gallery-detail h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem !important;
    color: #666;
    margin-top: 15px;
    text-transform: capitalize;
    text-align: center;
}

/* ==========================================================================
   4. SHARED SECTION TITLES (Cursive)
   ========================================================================== */

.section-title-cursive {
    font-family: 'Great Vibes', cursive !important;
    font-size: 4rem !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    color: #c5a059 !important;
    margin-bottom: 20px !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 1) !important;
}

.oliven-title-meta {
    color: #a48645 !important;
    font-family: 'Great Vibes', cursive !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 1) !important;
}

/* ==========================================================================
   5. LOVE MESSAGE SECTION
   ========================================================================== */

.love-quote {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 30px;
    line-height: 1.5;
}

.love-hashtag {
    color: #a48645;
}

#landingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/home1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1.5s ease-in-out;
}

/* ==========================================================================
   6. RSVP SECTION
   ========================================================================== */

.rsvp-card {
    background: transparent !important;
    padding: 30px 15px;
    position: relative;
    border: none;
    max-width: 800px;
    margin: 0 auto;
}

#rsvp {
    background-size: cover !important;
    background-position: center !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background-attachment: scroll !important;
    /* Forces scroll on mobile to fix zoom */
}

@media (max-width: 768px) {
    #rsvp {
        background-size: 100% 100% !important;
        /* Stretch to fit container exactly if needed, or use 'contain' */
        background-size: cover !important;
        min-height: 700px;
        /* Specific height for mobile to keep proportions */
        padding: 50px 0;
    }

    .rsvp-title {
        font-size: 3.5rem !important;
    }

    .rsvp-subtitle {
        font-size: 1.4rem !important;
    }

    .rsvp-body {
        font-size: 1.2rem !important;
    }
}

.rsvp-title {
    font-family: 'Playfair Display', serif;
    color: #c5a059;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
}

.rsvp-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #7a633a;
    margin-bottom: 25px;
    font-style: normal;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.rsvp-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #7a633a;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto 20px auto;
    letter-spacing: 0.3px;
}

.rsvp-body .rsvp-deadline {
    font-weight: 600;
}

.rsvp-signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #7a633a;
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: right;
    padding-right: 20px;
    letter-spacing: 0.5px;
}

/* RSVP Register Button */
.rsvp-register-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 50px;
    padding: 0;
    text-decoration: none !important;
    color: #000 !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 20px auto 0 auto;
    overflow: hidden;
    height: 42px;
}

.rsvp-register-btn span {
    padding: 0 15px 0 20px;
    display: inline-block;
}

.rsvp-register-btn .arrow-icon {
    background: transparent;
    border-left: 1.5px solid #000;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.rsvp-register-btn:hover {
    background: #f8f8f8;
    color: #000 !important;
}

.rsvp-register-btn:active,
.rsvp-register-btn:focus {
    background: #fff;
    color: #000 !important;
    outline: none;
}

.rsvp-register-btn:hover .arrow-icon {
    border-left-color: #fff;
}

/* ==========================================================================
   7. UNIFIED BACKGROUND SYSTEM
   ========================================================================== */

/* Main Page Background Container */
#oliven-main {
    position: relative;
    background: #fff;
    overflow-x: hidden;
}

/* Base Body Background to handle smooth transitions */
body {
    background: #fff;
}

/* Base fixed background that ties everything together - REMOVED for clean white look */
#oliven-main::before {
    display: none;
}

/* Section Shared Styles */
.section-padding {
    position: relative;
    z-index: 1;
}

/* 
   Improved Readability for Sections with Background Images
   Ensuring text is readable directly on the image without a card container
*/
#countdown .container,
#seeyou .container {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 40px 0;
    border: none !important;
    box-shadow: none !important;
}

/* Clearer separation for sections */
#countdown,
#seeyou,
#rsvp {
    background-attachment: fixed !important;
}

/* --------------------------------------------------------------------------
   COUNTDOWN SECTION STYLES (Matching Hero)
   -------------------------------------------------------------------------- */
#countdown {
    background-image: url('images/home2.webp') !important;
    background-size: cover !important;
    background-position: center !important;
}

#countdown .section-head h4 {
    font-family: 'Great Vibes', cursive !important;
    color: #c5a059 !important;
    font-size: 5rem !important;
    margin-bottom: 25px !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9) !important;
    text-transform: none !important;
}

#countdown li {
    font-family: 'Montserrat', sans-serif !important;
    color: #a48645 !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
}

#countdown li span {
    font-family: 'Playfair Display', serif !important;
    color: #c5a059 !important;
    font-size: 4.5rem !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 5px !important;
}

/* --------------------------------------------------------------------------
   SEE YOU SECTION STYLES (Matching Hero)
   -------------------------------------------------------------------------- */
#seeyou {
    background-image: url('images/home3.webp') !important;
    background-size: cover !important;
    background-position: center !important;
}

#love-message {
    background-image: url('images/home3.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

#seeyou .section-head span i {
    color: #c5a059 !important;
    font-size: 2.5rem;
}

#seeyou .section-head h4 {
    font-family: 'Great Vibes', cursive !important;
    color: #c5a059 !important;
    font-size: 5rem !important;
    margin-bottom: 15px !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9) !important;
    text-transform: none !important;
}

#seeyou .section-head h3 {
    font-family: 'Playfair Display', serif !important;
    color: #a48645 !important;
    font-size: 3.5rem !important;
    font-weight: 500 !important;
    letter-spacing: 8px !important;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9) !important;
}

/* --------------------------------------------------------------------------
   RSVP SECTION STYLES (Matching Hero)
   -------------------------------------------------------------------------- */
#rsvp {
    background-image: url('images/home1.webp') !important;
    background-size: cover !important;
    background-position: center top !important;
}

/* 
   Mobile Optimization for Backgrounds
   Fixes "Zoom-in" issue and Adjusts Styles for Readability
*/
@media (max-width: 768px) {
    #oliven-main::before {
        display: none;
    }

    #countdown .container,
    #seeyou .container {
        padding: 40px 0;
        margin: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent !important;
    }

    #countdown,
    #seeyou,
    #love-message,
    #rsvp {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        min-height: auto;
        padding: 80px 0 !important;
    }

    #countdown .section-head h4,
    #seeyou .section-head h4 {
        font-size: 2.8rem !important;
    }

    #countdown li span {
        font-size: 2rem !important;
    }

    #countdown li {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }

    #seeyou .section-head h3 {
        font-size: 2rem !important;
        letter-spacing: 4px !important;
    }
}

/* ==========================================================================
   8. UTILITY
   ========================================================================== */

.hidden {
    display: none;
}

/* ==========================================================================
   8. RESPONSIVE - Tablets & Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .baby-hero-text h1 {
        font-size: 5.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }

    .baby-hero-text h2.hero-name {
        font-size: 6.5vw !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        margin: 0 auto 30px auto !important;
        padding: 0 !important;
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .baby-hero-text h5 {
        font-size: 0.85rem !important;
        letter-spacing: 3px !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }

    .hero-date-center {
        font-size: 2.5rem;
        padding: 5px 15px 15px 15px;
        margin: 0 15px;
        line-height: 0.9;
    }

    .hero-date-side div {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   9. RESPONSIVE - Extra Small Phones (max-width: 400px)
   ========================================================================== */

@media (max-width: 400px) {
    .baby-hero-text h1 {
        font-size: 4rem !important;
    }

    .baby-hero-text h2.hero-name {
        font-size: 6.8vw !important;
        white-space: nowrap !important;
        letter-spacing: 0px !important;
        margin: 0 auto 20px auto !important;
    }

    .hero-date-center {
        font-size: 2rem;
        padding: 5px 10px 15px 10px;
    }
}

/* ==========================================================================
   10. ENHANCED READABILITY (Shadow System)
   ========================================================================== */

#countdown .section-head h4,
#seeyou .section-head h4,
#seeyou .section-head h3,
#rsvp h2,
#rsvp p,
.rsvp-subtitle,
.rsvp-body,
.rsvp-title,
.rsvp-signature {
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 1),
        0 0 8px rgba(255, 255, 255, 0.8),
        2px 2px 12px rgba(255, 255, 255, 0.6) !important;
}

#countdown li span {
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.9),
        2px 2px 15px rgba(255, 255, 255, 0.7) !important;
}

/* Additional Shadows for Love Message Section & Others */
#love-message .oliven-story-subtitle,
#love-message .oliven-story-title,
#love-message .blockquote,
#love-message .love-quote,
#love-message p,
#love-message h4,
#gallery .oliven-title,
#gallery .oliven-title-meta,
#whenwhere .oliven-title,
#whenwhere .oliven-title-meta {
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8),
        2px 2px 15px rgba(255, 255, 255, 0.5) !important;
}

/* Clean backgrounds for gallery and whenwhere */
#gallery,
#whenwhere {
    background: #fff !important;
}

/* Global Color Override to ensure all Pink is gone */
.oliven-story-subtitle,
.oliven-title-meta,
.baby-location-address i,
.baby-location-content p i,
.rsvp-subtitle {
    color: #a48645 !important;
}

.oliven-story-title,
.oliven-title,
.baby-location-title,
.rsvp-title,
.rsvp-body h2 {
    color: #c5a059 !important;
}

.baby-btn {
    background-color: #c5a059 !important;
    border-color: #c5a059 !important;
}

.baby-btn:hover {
    color: #c5a059 !important;
    background-color: transparent !important;
}

/* ==========================================================================
   ENHANCED LOCATION CARDS (Parchment/Vintage Style)
   ========================================================================== */

.baby-location-content {
    background: rgba(255, 255, 255, 0.95) !important;
    background-image: radial-gradient(circle at 2px 2px, rgba(197, 160, 89, 0.05) 1px, transparent 0) !important;
    background-size: 20px 20px !important;
    /* Subtle texture */
    border: 1px solid rgba(164, 134, 69, 0.2) !important;
    border-radius: 0 0 20px 20px !important;
    padding: 35px 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.baby-location-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
    opacity: 0.6;
}

.whenwhere-img img {
    border-radius: 20px 20px 0 0 !important;
    border: 1px solid rgba(164, 134, 69, 0.15);
    border-bottom: none;
}

/* Hover effect for the cards */
.item:hover .baby-location-content {
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.2) !important;
    transform: translateY(-5px);
    transition: all 0.4s ease;
}

.item:hover .whenwhere-img img {
    transform: scale(1.02);
    transition: all 0.4s ease;
}

.baby-location-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 1.5rem !important;
}

/* ==========================================================================
   11. LANDING SCREEN (Envelope Backdrop)
   ========================================================================== */

#landingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft Pastel Sage Green for contrast with the pink envelope */
    background: linear-gradient(135deg, #eaf0ea 0%, #d2dcd2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 1s ease-in-out, visibility 1s;
}

#landingScreen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/home1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

#landingScreen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ==========================================================================
   12. SPARKLING MAP BUTTON
   ========================================================================== */

.sparkling-btn-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

/* Wrapper for static items like RSVP */
.sparkling-btn-wrapper {
    position: relative;
    display: inline-block;
    z-index: 10;
}

/* Adjust map button positions based on location.svg */
.map-btn-ceremony {
    top: 45%;
}

.map-btn-reception {
    top: 80%;
}

.sparkling-map-btn {
    position: relative;
    background: linear-gradient(135deg, #c5a059, #a48645);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 2;
    /* To sit above external sparkles */
}

.sparkling-map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.7);
    color: #fff !important;
}

.sparkling-map-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

.sparkle-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 2L14.4 9.6L22 12L14.4 14.4L12 22L9.6 14.4L2 12L9.6 9.6L12 2Z"/></svg>') no-repeat center center;
    background-size: contain;
    animation: pulse-sparkle 1.5s infinite;
}

/* External Sparkles */
.external-sparkle {
    position: absolute;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23c5a059"><path d="M12 2L14.4 9.6L22 12L14.4 14.4L12 22L9.6 14.4L2 12L9.6 9.6L12 2Z"/></svg>') no-repeat center center;
    background-size: contain;
    width: 25px;
    height: 25px;
    z-index: 1;
    /* Behind the button */
    opacity: 0;
    pointer-events: none;
    /* Make unclickable */
}

/* Position and animate external sparkles */
.sparkle-1 {
    top: -15px;
    left: -15px;
    animation: external-sparkle-anim-1 2.5s infinite ease-in-out;
}

.sparkle-2 {
    bottom: -15px;
    right: -10px;
    width: 18px;
    height: 18px;
    animation: external-sparkle-anim-2 3s infinite ease-in-out;
    animation-delay: 0.5s;
}

.sparkle-3 {
    top: -5px;
    right: -25px;
    width: 15px;
    height: 15px;
    animation: external-sparkle-anim-3 2.8s infinite ease-in-out;
    animation-delay: 1.2s;
}

@keyframes external-sparkle-anim-1 {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(45deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0) rotate(90deg);
        opacity: 0;
    }
}

@keyframes external-sparkle-anim-2 {
    0% {
        transform: scale(0) translateY(10px);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) translateY(-5px);
        opacity: 1;
    }

    100% {
        transform: scale(0) translateY(-20px);
        opacity: 0;
    }
}

@keyframes external-sparkle-anim-3 {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }

    100% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes pulse-sparkle {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* ==========================================================================
   16. CUSTOM FONTS FOR GALLERY
   ========================================================================== */

.passions-conflict-regular {
    font-family: "Passions Conflict", cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 7rem !important;
}

.gallery-regular-text {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    color: #8c733b !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .passions-conflict-regular {
        font-size: 4.5rem !important;
    }
}

/* ==========================================================================
   17. FOOTER OVERRIDES
   ========================================================================== */

.footer2 {
    background: #fff !important;
    border-top: 1px solid #f2e8d8 !important;
    padding: 50px 30px 40px 30px !important;
}

.footer2 img {
    width: 140px !important;
    margin-bottom: 5px !important;
}

.footer2 h2,
.footer2 h2 a {
    font-family: 'Playfair Display', serif !important;
    color: #c5a059 !important;
    letter-spacing: 2px !important;
}

.footer2 h2 a span,
.footer2 h2 span {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #c5a059 !important;
    margin-top: 10px !important;
}

.footer2 p.copyright {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.3rem !important;
    color: #7a633a !important;
    letter-spacing: 0.5px !important;
    font-style: normal !important;
    margin-top: 15px !important;
}

@media (max-width: 768px) {

    .footer2 h2 a span,
    .footer2 h2 span {
        font-size: 1.8rem !important;
    }

    .footer2 p.copyright {
        font-size: 1.1rem !important;
        margin-top: 10px !important;
    }

    .footer2 {
        padding: 40px 20px 30px 20px !important;
    }

    .footer2 img {
        width: 110px !important;
        margin-bottom: 0px !important;
    }
}