/* 
 * Sweets Website - Karadant Page Styles
 * =============================================================
 */

.page-karadant {
    upd color: #fff;
}

/* ── Hero Traditional / Heritage ── */
.hero-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
    /* Allow box to shrink to content */
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    /* Minimal padding */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/Karadant/banner-kardant.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 12, 12, 0.7);
    /* Darker overlay for better text contrast */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    /* Center text by default */
    /* Increased padding */
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--ff-heading, 'Playfair Display', serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    margin-top: 2.2rem;
    /* Explicitly white */
}

.text-gold {
    color: #d4af37;
}

.hero-text {
    font-size: 1.125rem;
    color: #e5e7eb;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons Custom ── */
.c-btn-maroon {
    background-color: #801a1a;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.c-btn-maroon:hover {
    background-color: #601414;
    transform: translateY(-2px);
    color: #fff;
}

.c-btn-outline-maroon {
    background-color: transparent;
    color: #333;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid #801a1a;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.c-btn-outline-maroon:hover {
    background-color: #fdfaf8;
    color: #801a1a;
    transform: translateY(-2px);
}

/* ── Badge Natural ── */
.c-badge-natural {
    position: absolute;
    bottom: -10px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #801a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

.c-badge-natural__text {
    display: block;
    font-size: 0.875rem;
    color: #666;
}

.c-badge-natural__value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
}

/* ── Gift Section ── */
.gift-section {
    /* Brighter background for gift packs */
    color: #333;
}

.gift-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.gift-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.gift-card-img-wrap {
    overflow: hidden;
    position: relative;
    background: #fdfaf8;
    /* Subtle warm back for images */
}

.gift-card-img-wrap img {
    transition: transform 0.5s ease;
}

.gift-card:hover .gift-card-img-wrap img {
    transform: scale(1.05);
}

/* ── Custom Maroon Buttons ── */
.btn-maroon.page-karadant {
    background-color: #ffffff;
    /* Reverted to white as per new hero design */
    color: #333;
    border: 1.5px solid #801a1a;
    transition: all 0.3s ease;
}

.btn-maroon-solid:hover {
    background-color: #601414;
    border-color: #601414;
    color: #ffffff;
}

.btn-outline-maroon {
    background-color: transparent;
    color: #801a1a;
    border: 1.5px solid #801a1a;
    transition: all 0.3s ease;
}

.btn-outline-maroon:hover {
    background-color: #f8eeee;
    color: #801a1a;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero-card {
        min-height: 600px;
        /* Taller on tablets/mobile to show image */
    }

    .hero-content {
        padding: 3.5rem 2rem;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(49, 12, 12, 0.9) 0%, rgba(49, 12, 12, 0.7) 100%);
    }

    .d-flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(49, 12, 12, 0.95) 0%, rgba(49, 12, 12, 0.7) 100%);
    }
}