/* ==========================================================
   Aama Digital Flex Print - Custom Styles
   ========================================================== */

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.top-bar {
    background-color: #1a1a1a;
    color: #ccc;
}

/* ---- Hero Slider ---- */
.hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-fallback {
    height: 480px;
    background: linear-gradient(135deg, #0d6efd, #0a4fbe);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    bottom: 15%;
}

@media (max-width: 768px) {
    .hero-img, .hero-fallback {
        height: 320px;
    }
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* ---- Service cards ---- */
.service-img {
    height: 180px;
    object-fit: cover;
}

.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

/* ---- Template cards ---- */
.template-img {
    height: 160px;
    object-fit: cover;
}

/* ---- Variant selection cards (Size / Frame Option picker) ---- */
.variant-card, .calc-variant-card {
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.variant-card:hover, .calc-variant-card:hover {
    border-color: #0d6efd !important;
}

/* ---- Floating WhatsApp button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}
