/* Custom Global Variables */
:root {
    --bs-danger: #b81d24; /* Deeper crimson for food branding */
    --bs-body-font-family: 'Poppins', sans-serif;
}

.serif {
    font-family: 'Playfair Display', serif;
}

/* Navbar Tuning */
.navbar {
    transition: all 0.3s;
}

.nav-link {
    color: #444 !important;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--bs-danger) !important;
}

/* Hero Section Decoration */
.hero-section {
    min-height: 90vh;
    padding: 100px 0;
    background: radial-gradient(circle at top right, #fff5f5, #ffffff);
}

.main-hero-img {
    border-bottom: 8px solid var(--bs-danger);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--bs-danger);
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
}

/* Service Card Hover */
.service-card {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent !important;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--bs-danger) !important;
    background-color: #fff8f8;
}

/* Icon Box Helpers */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 10px;
}

/* Decorative Line */
.h-line {
    width: 60px;
    height: 4px;
    background: var(--bs-danger);
    border-radius: 2px;
}

/* Service Card Specific Styles */
.custom-service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.custom-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

.service-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

/* The Blue WhatsApp Enquiry Button from the URL */
.btn-whatsapp-enquiry {
    background-color: #007bff; /* The specific blue color used in the JaCard buttons */
    color: #ffffff;
    border: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.btn-whatsapp-enquiry:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.btn-whatsapp-enquiry i {
    font-size: 1.1rem;
}

/* Spacing and divider */
.h-line {
    width: 50px;
    height: 3px;
    background-color: var(--bs-danger);
    margin-top: 10px;
    border-radius: 2px;
}

/* Premium Gallery Grid Rules */
.gallery-card {
    position: relative;
    height: 260px; /* Uniform grid aspect box layout */
    cursor: pointer;
    background-color: #f8f9fa;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

/* Hover Overlay Styles */
.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(184, 29, 36, 0.7); */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-icon {
    color: #ffffff;
    font-size: 1.5rem;
    border: 2px solid #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Animations Trigger */
.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-card:hover .zoom-icon {
    transform: scale(1);
}

/* Maintain crisp aspect boundaries across mid-tier mobile views */
@media (max-width: 767px) {
    .gallery-card {
        height: 220px;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-image-stack {
        margin-top: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}