@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* @import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap'); */

:root {
    --bg-color: #000000;
    --white: #ffffff;
    --black: #333333;
    --neutral: #f8f4ed;
    /* --gold: #D4AF37; */
    --soft-gold: #f0d169;
    --green: #014421;
    --light-green: #058744;
    --hover-green: #012E19;
    --error: #8B0000;

}

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--neutral);
    color: var(--black);
    margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Caprasimo", serif;
    font-weight: 400;
    font-style: normal;
}

nav {
    background-color: var(--green);
}

/* Navbar */
.navbar .navbar-nav .nav-link {
    font-weight: 600;
}

.navbar .nav-link {
    color: var(--white);
}

.navbar .nav-link.active {
    color: var(--soft-gold);
}

h6 {
    font-weight: bold;
}

.cart-icon {
    cursor: pointer;
}

/* Hero Video section */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    overflow: hidden;
    background: black;
}

.hero-video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills entire screen */
    transform: translate(-50%, -50%);
    z-index: 0;
}


.hero-text {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    z-index: 2;
    /* text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); */
}

.btn-white {
    font-weight: bold;
}

.hero-video-section::after {
    /* optional: subtle dark overlay for better text contrast */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}


.btn-lg {
    width: 350px;
    color: var(--white);
    font-size: 1.2rem;
}

.btn-white-opacity {
    background-color: rgba(255, 255, 255, 0.15);
    /* 15% opaque white */
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease;
}

.btn-white-opacity:hover {
    background-color: var(--white);
    /* more visible on hover */
    color: var(--black);
}


/* Candle Card */
.candle-title {
    font-family: "Open Sans", sans-serif;
    color: var(--black);
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
}

.candle-price {
    font-weight: 500;
    font-size: 1rem;
    margin-top: 2px;
}

.candle-card {
    cursor: pointer;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.candle-info {
    text-align: left;
}

.image-link {
    display: block;
    position: relative;
}

.candle-card .original-img,
.candle-card .hover-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.candle-card .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.candle-card:hover .hover-img {
    opacity: 1;
}

.candle-info {
    margin-top: 10px;
}

/* Candle Subtext */
.candle-subtext {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

/* Right column container */
.col-lg-6 {
    display: flex;
    flex-direction: column;
    /* remove height */
}

/* Thumbnail images on single product pages */
.img-prod .thumb-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Main image on single product page */
#mainProductImg {
    width: 100%;
    /* Make it responsive within its container */
    max-width: 576px;
    /* Limit to 576px width */
    height: 576px;
    /* Fixed height for uniformity */
    object-fit: cover;
    /* Scale and crop image to fit box without distortion */
    border: 1px solid #ddd;
    /* Optional: nice border */
    border-radius: 5px;
    /* Optional: rounded corners */
}


/* Make accordion scroll inside column */
#productAccordion {
    flex-grow: 1;
    overflow-y: auto;
}

.warning-tag {
    margin-top: 30px;
}

/* Remove default arrows from quanity button slots */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* CART PAGE */
.cart-item {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

.cart-item input.item-qty {
    padding: 3px 6px;
    font-size: 1rem;
    text-align: center;
}

.cart-summary-card {
    position: sticky;
    top: 20px;
}

.cart-summary-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.cart-summary-card p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-summary-card button {
    font-size: 1rem;
    padding: 10px 0;
}


/* Single product page */
#addToCart {
    background-color: var(--green);
}

#addToCart:hover {
    background-color: var(--hover-green);
    color: var(--white);
}

.thumb-img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb-img.active {
    border: 2px solid #333;
}

hr {
    border-color: #d4d4d4;
}

/* Product Bagdes */
/* --- STOCK BADGES (homepage + single) --- */
.product-stock-badge .badge {
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 999px;
    padding: 0.5rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* out of stock (red) */
.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    /* Make badge align with title */
}

/* low stock (orange) */
.badge.bg-warning {
    background-color: #FFA500 !important;
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
}

.badge.bg-warning .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #000;
    vertical-align: middle;
    display: inline-block;
}

.productStockBadge {
    position: absolute;
    bottom: 45px;
    right: 30px;
}


/* Custom Notify Me trigger button (outside modal) */
#notifyTriggerBtn {
    margin-left: 0px;
    /* smaller gap */
}

.btn-notify {
    background-color: #000;
    /* black base */
    color: #fff;
    /* white text */
    border: 2px solid #fff;
    /* white outline */
    transition: all 0.3s ease;
}

.btn-notify:hover {
    background-color: #fff;
    /* invert on hover */
    color: #000;
    border-color: #000;
}

.btn-outofstock {
    background-color: #f8d7da !important;
    color: #842029 !important;
    border: 1px solid #f5c2c7 !important;
    cursor: not-allowed !important;
    opacity: 0.9;
}


/* --- Modern Accordion --- */
.product-accordion {
    border-top: 1px solid #ddd;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 0;
    color: #333;
    /* dark modern text */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--light-green);
}

.accordion-icon i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon i {
    transform: rotate(180deg);
    content: "\f068";
    /* fa-minus */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    font-size: 0.95rem;
    color: #555;
    /* modern gray text */
    padding-left: 0.5rem;
    padding-bottom: 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    /* enough for all content */
    opacity: 1;
    padding-bottom: 1rem;
}

.about-section {
    padding: 80px 0px 80px 0px;

}

.faq-section {
    padding: 60px 0;
}

/* Footer */
footer {
    background-color: var(--bg-color);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

footer p,
footer li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #fff;
}

footer ul {
    padding-left: 0;
}

footer hr {
    margin: 2rem 0 1rem 0;
}

/* Payments */
.payment-security p {
    color: #f5f0e6;
    /* soft off-white for your footer */
    font-size: 0.95rem;
    display: inline-block;
}

.payment-security img {
    vertical-align: middle;
}

.payment-icons {
    margin-top: 0.4rem;
}

.payment-icon {
    width: 45px;
    opacity: 1;
}

/* TOASTER */
.toast-message {
    position: fixed;
    top: 70px;
    /* just below navbar */
    right: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
}

.toast-message.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast-message.top-right.show {
    transform: translateY(-10px);
}


/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-overlay h2 {
        font-size: 2rem;
    }

    .candle-subtext {
        max-width: 80%;
    }
}

@media (max-width: 575px) {
    .hero-overlay h2 {
        font-size: 1.5rem;
    }

    .slider-controls {
        bottom: 15px;
        right: 15px;
        gap: 5px;
    }

    .candle-title {
        font-size: 1rem;
    }

    .candle-price {
        font-size: 0.95rem;
    }

    .candle-subtext {
        max-width: 95%;
    }
}

/* Single Product page */
#mainProductImg {
    border-radius: 20px;
}

.thumb-img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb-img:hover {
    opacity: 0.85;
}

.thumb-img.active {
    border: 2px solid var(--green);
    opacity: 1;
}

.limited {
    color: var(--black);
    font-size: 1rem;
}

.related-products {
    background-color: var(--neutral);
}

.related-products img {
    border-radius: 20px;
}

.accordion-header {
    font-family: "Special Gothic Expanded One", sans-serif;
    font-style: normal;
}

/* === OVERLAY === */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.surprise-heading {
    margin-bottom: 20px;
}

/* === CONTENT === */
.popup-content {
    position: relative;
    width: 600px;
    height: 620px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.gift-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* Inner content */
.popup-inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    text-align: center;
    padding: 25px;
    width: 65%;
    margin-top: 60px;
}

.popup-inner h2 {
    font-size: 1.5rem;
    color: #222;
}

.popup-inner p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#emailInput {
    width: 90%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

#revealGiftBtn {
    background: linear-gradient(135deg, #f6c667, #d89c50);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#revealGiftBtn:hover {
    background: linear-gradient(135deg, #ffd272, #c5863e);
}

/* Close btn */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 3;
}


/* MINI GIFT BOX POPUP */
.mini-giftbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    cursor: pointer;
}

.mini-giftbox h4 {
    font-size: 1.1rem;
    margin-top: 15px;
}

.mini-giftbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-gift-form {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.mini-gift-form input {
    width: 90%;
    padding: 6px 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    margin-top: 10px;
}

.mini-promo-text {
    font-size: 0.8rem;
    text-align: left;

}

#miniPromoConsent {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    /* aligns checkbox vertically with label text */
    margin-right: 6px;
    /* spacing between checkbox and label */
}

#miniPromoConsent+label {
    display: inline-block;
    /* ensures label stays next to checkbox */
    vertical-align: middle;
    /* align text with checkbox */
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
}

#miniRevealBtn {
    background: linear-gradient(135deg, #f6c667, #d89c50);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    margin-top: 10px;
    cursor: pointer;
}

#miniRevealBtn:hover {
    background: linear-gradient(135deg, #ffd272, #c5863e);
}

.mini-dismiss-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    width: 24px;
    height: 24px;
    padding: 0;
}



/* Toast */
#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
}

.toast {
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: slideIn 0.4s forwards;
}

.toast.error {
    background: #e63946;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-check-label {
    color: black;
}


/* Glitter sparkles */
.glitter {
    position: fixed;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #fff, #ffeb3b, #ff9800, #ffd700);
    border-radius: 50%;
    box-shadow: 0 0 20px 6px rgba(255, 223, 0, 1);
    pointer-events: none;
    animation: glitter 1.5s ease-out forwards;
}

@keyframes glitter {
    0% {
        opacity: 1;
        transform: scale(0.5) translateY(0);
    }

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

body.popup-open {
    overflow: hidden;
}

/* ABOUT SECTION */
.about-me {
    border-radius: 20px;
    width: 95%;
}

/* Reviews */
.product-rating a {
    font-size: 0.9rem;
    color: #333;
}

.product-rating span i {
    margin-right: 2px;
    font-size: 1rem;
}


.review-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-name {
    font-weight: 600;
    margin-right: 5px;
}

.review-text {
    font-style: italic;
}

a {
    color: var(--green);
}