/*-- Header Container --*/

#c1 {
    position: relative;
    background: url(imgs/pexels-pixabay-66896.jpg) center/cover no-repeat;
    color: white;
    overflow: hidden;
}

/*-- Header Gradient --*/

#c1::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom right,
            rgba(255, 80, 109, 0.3),
            rgba(255, 173, 173, 0.3));
    pointer-events: none;
}

/*-- Header Text --*/

#c1>* {
    position: relative;
    z-index: 2;
}

#header2 {
    font-family: "Dosis";
    font-size: 75px;
    padding-bottom: 1in;
    padding-top: 1in;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
}

/*-- Header Hearts --*/

#clipartheart1 {
    position: absolute;
    top: 30px;
    /* adjust as needed */
    left: 520px;
    /* adjust as needed */
    width: 100px;
    /* or whatever size works */
    z-index: 3;
    /* above gradient and content if needed */
    pointer-events: none;
    /* optional: lets clicks pass through */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
    --rotation: rotate(-30deg);
    animation: heartbeat 1.2s infinite ease-in-out;
}

#clipartheart2 {
    position: absolute;
    top: 30px;
    /* adjust as needed */
    right: 520px;
    /* adjust as needed */
    width: 100px;
    /* or whatever size works */
    z-index: 3;
    /* above gradient and content if needed */
    pointer-events: none;
    /* optional: lets clicks pass through */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
    --rotation: rotate(30deg);
    animation: heartbeat 1.2s infinite ease-in-out;
    animation-delay: 0.6s;
}

/*-- Header Animations --*/

@keyframes heartbeat {

    0%,
    100% {
        transform: var(--rotation) scale(1);
    }

    50% {
        transform: var(--rotation) scale(1.15);
    }
}

/*-- Navbar --*/

.nav-item {
    font-size: 18px;
}

/*-- Navbar Animations --*/

@keyframes romanticFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

#custom-navbar .nav-link {
    display: inline-block;
    animation: romanticFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

#custom-navbar .nav-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 182, 193, 0.8);
    /* soft pink glow */
}

/*-- Body Container --*/

#c2 {
    background-color: rgb(252, 148, 148);
}

/*-- Product Cards --*/

.card-body {
    color: white !important;
}

.product-img {
    height: 200px;
    object-fit: cover;

}

.product-card {
    background-color: rgb(165, 69, 69) !important;
}


/*-- Add To Cart Buttons --*/

.btn-danger {
    background-color: rgb(211, 84, 84) !important;
    /* romantic pink tone */
    border: none;
}



/*-- Add to Cart Romantic Hover Animation --*/

.btn-danger:hover {
    animation: pulse 0.5s ease;
    background-color: #d75c84 !important;
    /* medium romantic pink */
    box-shadow: 0 0 12px rgba(215, 92, 132, 0.7);
    /* matching glow */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

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

/*-- ABOUT US PAGE CCS (NOT INCLUDING STRUCTURE CSS) --*/

#ab-us {
    color: red;
    font-size: 40px;
}

.memory-img {
    max-width: 100% !important;
    height: auto;
}

.memory-img-row {
    margin-bottom: 6rem;
}

/*-- LOVE COUPONS PAGE CSS (NOT INCLUDING STRUCTURE CSS) --*/

.lovecoupons {
    height: 50rem;
}

/*-- 255, 105, 180, 0.6 --*/

.lovecoupons:hover {
    box-shadow: 0 0 20px rgba(255, 41, 148, 0.863);
    transform: scale(1.02);
    transition: 0.3s ease;
}


/*-- Coupon Container and Note Styling --*/

.coupon-container {
    position: relative;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.coupon-note {
    display: none;
    margin-top: 10px;
    color: #fff;
    font-size: 1.2rem;
    background-color: rgba(255, 105, 180, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

/*-- Add to Cart System --*/

.custom-toast {
    background-color: #9b111e !important;
    color: white;

}

#view-cart:hover {
    color: black;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 182, 193, 0.8);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/*-- CART PAGE --*/

.cartcnt {
    color: white !important;
}

.cartcnt h2 {
    font-size: 5rem;
}

.itmcnt {
    width: 75rem;
}

.prc2check {
    background-color: #9b111e !important;
    color: white;
}

/*-- CART ANIMATIONS --*/

.favi-pop {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    animation: heartPop 1s ease-out forwards;
}

@keyframes heartPop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -100%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -160%) scale(1);
        opacity: 0;
    }
}

/*-- TOAST ANIMATION --*/

.fade-out {
    opacity: 1;
    transition: opacity 1s ease-out;
}

.fade-out.hide {
    opacity: 0;
}

/*-- Heart Confetti --*/

.heart-confetti {
    position: absolute;
    top: -50px;
    animation: fall 7s linear forwards;
    pointer-events: none;
    opacity: 0.8;
    z-index: 10000;
    filter: drop-shadow(0 0 8px rgba(255, 105, 180, 0.7)) drop-shadow(0 0 4px white);
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(180vh) rotate(360deg); /* from 100vh → 120vh */
        opacity: 0;
    }
}

/*-- OVERLAY START BUTTON CSS --*/

#start-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/*-- HEART CANVAS --*/

#heart-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10010;
    background-color: rgba(255, 240, 245, 0.95); /* soft romantic background */
    cursor: crosshair;
}

#heart-canvas.fade-out {
    transition: opacity 0.8s ease;
    opacity: 0;
}

#scoreboard {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #d63384; /* sweet pink 💗 */
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#heart-canvas.fade-in {
    animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*-- YOU WIN Overlay --*/

#win-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 192, 203, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Dosis', sans-serif;
    color: #8b0000;
    animation: fadeIn 0.5s ease;
}

.win-message {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/*-- FASTER!!! Warning --*/

#speed-warning {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10020;
    font-size: 3rem;
    color: rgb(255, 121, 190);
    font-family: 'Dosis', sans-serif;
    background: rgba(0,0,0,0.8);
    padding: 1rem 2rem;
    border: 2px solid rgb(255, 0, 0);
    border-radius: 12px;
    animation: speedPulse 0.5s infinite alternate;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.446);
    text-shadow: 1px 1px 10px rgba(255, 0, 0, 0.8);
    letter-spacing: 1px;
}

@keyframes speedPulse {
    from {
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        transform: translate(-50%, -50%) scale(1.1);
    }
}