/* ----------------------------------Culinary Services by Chef Hina Gautam-----------------------------------------  */
html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: var(--bg-body);
}

.hero-section {
    padding: 60px 0;
    overflow: hidden;
}

.main-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
}

.main-title span {
    color: #b88e44;
    font-family: var(--font-heading);
}

.description {
    max-width: 600px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Buttons */
.btn-contact {
    background-color: var(--text-primary);
    color: white;
    border-radius: 8px;
    padding: 10px 25px;
    border: none;
}

.btn-services {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: 8px;
    padding: 10px 25px;
}

/* Service Cards (Desktop Only) */
.service-card {
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    max-width: 350px;
    box-shadow: 0px 1px 3px 0px #7575751A,
        0px 6px 6px 0px #75757517,
        0px 13px 8px 0px #7575750D,
        0px 23px 9px 0px #75757503,
        0px 36px 10px 0px #75757500;
}

.service-card img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.service-card h6 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.service-card p {
    font-size: 0.75rem;
    margin: 0;
}

.service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Food Image Styling */
.hero-food-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: -100px;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .text-content {
        text-align: center;
    }

    .description {
        margin: 0 auto;
    }

    .btn-group {
        justify-content: center;
        display: flex;
        gap: 10px;
    }

    .service-cards-container {
        display: none;
    }

    /* Hide cards on mobile as per reference */
}


/* -----------------------divider----------------------- */
.title-wrapper {
    text-align: center;
}

.title-inner {
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 700;
}

.divider {
    margin-bottom: 50px;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
            rgba(192, 132, 61, 0) 0%,
            #C0843D 48.56%,
            rgba(192, 132, 61, 0) 100%);
}

/* ----------------------------buttons---------------------------- */
.btn-main {
    background-color: var(--btn-bg);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    outline: none;
    box-shadow: none !important;
}

.btn-main:focus,
.btn-main:active {
    outline: none;
    box-shadow: none !important;
}

.btn-view-all-outline {
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--text-primary);
}

/* ----------------------------buttons---------------------------- */
/* Floating Cookie Image - Bottom Left */
.floating-cookie {
    position: absolute;
    bottom: -50px;
    left: 20px;
    width: 150px;
    /* Adjust size based on your asset */
    z-index: 1;
    opacity: 0.5;
}

/* Main Food Image - Pushing it to the edge */
.hero-food-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* This ensures it hugs the right side of the screen */
    margin-right: -20%;
}

/* Service Cards Wrapper for the Arrow */
.service-cards-wrapper {
    position: relative;
    gap: 20px;
}

.service-card {
    border-radius: 15px;
    padding: 20px;
    min-width: 320px;
    box-shadow: 0px 1px 3px 0px #7575751A,
        0px 6px 6px 0px #75757517,
        0px 13px 8px 0px #7575750D,
        0px 23px 9px 0px #75757503,
        0px 36px 10px 0px #75757500;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card.move-down {
    transform: translateY(15px);
    transition: 0.3s ease;
}

/* The Round Arrow Button */
.btn-next-service {
    align-self: flex-end;
    margin-top: auto;
    width: 40px;
    height: 20px;
    border-radius: 50px;
    background-color: #cbd5c0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-next-service:hover {
    transform: scale(1.1);
}

.btn-next-service i {
    color: #4a5d4e;
    font-size: 14px;
}

/* --------------------------------------------Chef-Curated Services------------------------------------------------------ */
.curated-card {
    background: #fff;
    border-radius: 20px;
    /* Highly rounded corners as per image */
    overflow: hidden;
    height: 100%;
    box-shadow: 0px 1px 3px 0px #7575751A,
        0px 6px 6px 0px #75757517,
        0px 13px 8px 0px #7575750D,
        0px 23px 9px 0px #75757503,
        0px 36px 10px 0px #75757500;
    transition: transform 0.3s ease;
    border: none;
}

.curated-card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body-custom {
    padding: 25px;
}

.card-body-custom h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.card-body-custom p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Button Group inside Card */
.card-btn-group {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .card-btn-group {
        flex-direction: column;
        /* Stack buttons on small mobile if needed */
    }

    .section-title {
        font-size: 1.8rem;

    }
}

/* -------------------------------modal------------------------------------------------- */
.custom-modal-bg {
    background-color: #f9f6f0;
    border-radius: 30px;
    border: none;
}

.modal-service-title {
    color: #4a5d4e;
    font-weight: 600;
}

/* -------------------------------modal-description----------------------- */
.modal-description {
    text-align: left;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    display: block;
}

#modalImageGrid img {
    transition: transform 0.3s ease;
}

#modalImageGrid img:hover {
    transform: scale(1.02);
}

#modalDesc {
    display: block !important;
    /* Forces visibility */
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.modal-body .row.g-2 img {
    border-radius: 15px !important;
    /* Smooth rounded corners from image */
}

#serviceCarousel .carousel-item img {
    border-radius: 20px;
    box-shadow: 0px 1px 3px 0px #7575751A,
        0px 6px 6px 0px #75757517,
        0px 13px 8px 0px #7575750D,
        0px 23px 9px 0px #75757503,
        0px 36px 10px 0px #75757500;
}

.carousel-control-prev-icon-custom,
.carousel-control-next-icon-custom {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0px 1px 3px 0px #7575751A,
        0px 6px 6px 0px #75757517,
        0px 13px 8px 0px #7575750D,
        0px 23px 9px 0px #75757503,
        0px 36px 10px 0px #75757500;
}

.carousel-control-prev {
    left: -70px;
}

.carousel-control-next {
    right: -70px;
}

/* --------------------------------------------The Process, Made Simple------------------------------------------- */
.process-card {
    border-radius: 30px;
    /* High radius as per image */
    padding: 40px 20px;
    box-shadow: 0px 1px 3px 0px #7575751A,
        0px 6px 6px 0px #75757517,
        0px 13px 8px 0px #7575750D,
        0px 23px 9px 0px #75757503,
        0px 36px 10px 0px #75757500;
    text-align: center;
    position: relative;
    border: none;
}

.step-number {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5d4e;
    /* Dark green theme */
    line-height: 1;
}

.icon-wrapper {
    margin: 0 auto 30px;
}

.icon-wrapper img {
    height: 80px;
    /* Adjust based on your icon size */
    width: auto;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
    min-height: 50px;
    /* Keeps text aligned across cards */
}

.process-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Mobile Carousel Dots */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #888;
    width: 25px;
    /* Pill shape for active dot */
    border-radius: 5px;
}

@media (max-width: 768px) {
    .process-card {
        padding: 50px 30px;
    }

    .step-number {
        left: 30px;
    }
}

.process-card {
    border-radius: 30px;
    padding: 50px 30px;
    position: relative;
    border: none;
    transition: transform 0.3s ease;

    box-shadow: 1px 2px 6px 0px #6161611A,
        5px 9px 10px 0px #61616117,
        11px 21px 14px 0px #6161610D,
        19px 37px 16px 0px #61616103,
        29px 57px 18px 0px #61616100;
}

.step-number {
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #4a5d4e;
}

/* Custom Dots Styling */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d1d1;
    border: none;
    margin: 0 6px;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: #888;
    width: 30px;
    /* Pill shape for active dot */
    border-radius: 10px;
}

@media (min-width: 768px) {
    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .process-card {
        /* This ensures all 4 cards stay the same height on the web */
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 350px;
    }
}

/* Modal scrollable on mobile */
@media (max-width: 991px) {
  #infoModal .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }

  #infoModal .modal-content {
    border-radius: 20px;
    max-height: 90vh;
  }

  #infoModal .modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 20px);
    -webkit-overflow-scrolling: touch;
  }

  .modal-service-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}

/* Mobile image grid - horizontal scroll row */
#modalImageGridMobile {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

#modalImageGridMobile::-webkit-scrollbar {
  height: 4px;
}

#modalImageGridMobile::-webkit-scrollbar-track {
  background: #f0ebe3;
  border-radius: 4px;
}

#modalImageGridMobile::-webkit-scrollbar-thumb {
  background: #c0843d;
  border-radius: 4px;
}

#modalImageGridMobile img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Description text styling */
.modal-description {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

/* Contact button full width on mobile */
@media (max-width: 991px) {
  .btn-main.w-100 {
    display: block !important;
    text-align: center;
  }
}