/* ============================================================
   GIFTING SECTION - Urban Platter Style
   File: supgor-child/assets/css/gifting-section.css
   ============================================================ */

/* ---------- SECTION WRAPPER ---------- */
.up-gifting-section {
    width: 100%;
    padding: 50px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.up-gifting-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

/* ---------- BASE CARD ---------- */
.up-gift-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.up-gift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ---------- LEFT: BULK ORDERS CARD ---------- */
.up-bulk-card {
    background: linear-gradient(135deg, #fdf6ee 0%, #fdebd0 60%, #fad7a0 100%);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 36px 0;
}

.up-bulk-content {
    position: relative;
    z-index: 2;
}

.up-bulk-title {
    font-size: 42px;
    font-weight: 900;
    color: #4a1942;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}

.up-bulk-desc {
    font-size: 15px;
    color: #5d3a1a;
    line-height: 1.7;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.up-bulk-image {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: auto;
}

.up-bulk-img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 10px 30px rgba(74, 25, 66, 0.15));
    transition: transform 0.4s ease;
}

.up-bulk-card:hover .up-bulk-img {
    transform: scale(1.04) translateY(-6px);
}

/* Decorative background text */
.up-bg-text {
    position: absolute;
    bottom: -10px;
    right: -15px;
    font-size: 130px;
    font-weight: 900;
    color: rgba(74, 25, 66, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -5px;
    z-index: 1;
}

/* ---------- RIGHT COLUMN ---------- */
.up-gift-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------- SMALL CARDS (top + bottom right) ---------- */
.up-personal-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    flex: 1;
    min-height: 200px;
}

.up-corporate-card {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 60%, #ffca28 100%);
    flex: 1;
    min-height: 200px;
}

.up-small-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 28px 24px;
    height: 100%;
    gap: 15px;
}

.up-small-text {
    flex: 1;
    min-width: 0;
}

.up-small-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Subtitle badge */
.up-subtitle-badge {
    display: inline-block;
    background: #c62828;
    border-radius: 3px;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.up-subtitle-badge span {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.up-badge-orange {
    background: #e65100;
}

.up-small-desc {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 18px 0;
}

/* ---------- PRODUCT IMAGE (small cards) ---------- */
.up-small-image {
    flex-shrink: 0;
    width: 130px;
}

.up-small-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.35s ease;
}

.up-gift-card:hover .up-small-img {
    transform: scale(1.06) rotate(1deg);
}

/* ---------- BUTTONS ---------- */
.up-gift-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.up-btn-dark {
    background: #4a1942;
    color: #fff;
    border-color: #4a1942;
}

.up-btn-dark:hover {
    background: #6b2560;
    border-color: #6b2560;
    color: #fff;
    transform: translateX(3px);
}

.up-btn-outline {
    background: transparent;
    color: #c62828;
    border-color: #c62828;
}

.up-btn-outline:hover {
    background: #c62828;
    color: #fff;
}

.up-btn-outline-dark {
    background: transparent;
    color: #5d3a1a;
    border-color: #5d3a1a;
}

.up-btn-outline-dark:hover {
    background: #5d3a1a;
    color: #fff;
}

/* Arrow icon in button */
.up-gift-btn svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.up-gift-btn:hover svg {
    transform: translateX(4px);
}

/* ---------- FLOATING DECORATIVE ITEMS ---------- */
.up-floating-products {
    position: absolute;
    pointer-events: none;
}

.up-float-item {
    position: absolute;
    font-size: 28px;
    animation: up-float 3s ease-in-out infinite;
    opacity: 0.6;
}

.up-float-1 {
    top: 10px;
    right: 20px;
    animation-delay: 0s;
}

.up-float-2 {
    top: 50px;
    right: 60px;
    animation-delay: 1.5s;
    font-size: 20px;
}

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

/* ---------- ENTRANCE ANIMATIONS ---------- */
.up-gift-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease;
}

.up-gift-card.up-visible {
    opacity: 1;
    transform: translateY(0);
}

.up-bulk-card.up-visible   { transition-delay: 0s; }
.up-personal-card.up-visible  { transition-delay: 0.15s; }
.up-corporate-card.up-visible { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .up-bulk-title { font-size: 34px; }
}

@media (max-width: 768px) {
    .up-gifting-container {
        grid-template-columns: 1fr;
    }

    .up-bulk-card {
        min-height: 320px;
        padding: 30px 24px 0;
    }

    .up-bulk-title { font-size: 30px; }

    .up-small-content {
        padding: 20px;
    }

    .up-small-title { font-size: 17px; }

    .up-small-image { width: 100px; }
    .up-small-img   { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
    .up-bulk-title { font-size: 26px; }

    .up-small-content {
        flex-direction: column;
        text-align: center;
    }

    .up-small-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .up-small-img {
        width: 120px;
        height: 120px;
    }

    .up-subtitle-badge {
        display: block;
        text-align: center;
    }
}
