/* ==========================================================================
   Kaduvayil Catering – additions on top of the Roister template (style.css)
   Prefix: .kc-
   ========================================================================== */

/* ---------- Header / logo ---------- */
.roister-header-area-1 .header-btm .positioned-logo {
  background-color: #fff;
  padding: 8px 14px;
}
.roister-header-area-1 .header-btm .positioned-logo .header-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.roister-mobile-menu-offcanvas .offcanvas-header .logo .header-logo,
.kc-footer-logo {
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  max-width: 220px;
}
.main-menu ul li.active > a { color: var(--primary-color); }
.roister-blog-service-list-widget .service-list li.active a .text,
.roister-blog-service-list-widget .service-list li.active a .icon { color: var(--primary-color); }
.kc-tagline-ml { color: var(--primary-color); font-family: "Noto Sans Malayalam", var(--body-font); font-size: 14px; margin-left: 12px; }
.header-social-wraper a .icon-whatsapp svg { height: 1.05em; }

/* ---------- Hero badge (replaces Tripadvisor logo) ---------- */
.kc-hero-badge { color: #fff; font-size: 20px; }
.kc-hero-badge .icon svg { width: auto !important; height: 1em; }

/* ---------- CTA banner (replaces baked-text discount banner) ---------- */
.kc-cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  overflow: hidden;
  background: #000 url('/assets/images/cta_bg.png') no-repeat left top;
  background-size: auto 100%;
}
 
.kc-cta-banner__content {
  position: relative; z-index: 2;
  max-width: 620px;
  padding: 60px 15px 60px 15%;
}
.kc-cta-banner__title {
  font-size: var(--fz-48);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white-color);
}
.kc-cta-banner__title span { color: var(--primary-color); }
.kc-cta-banner__text { margin-bottom: 36px; color: rgba(255,255,255,.85); }
.kc-cta-banner__img {
  position: absolute; right: 0; top: 0;
  height: 100%;
  width: auto;
  z-index: 0;
}
@media (max-width: 991.97px) {
  .kc-cta-banner__content { padding: 60px 24px; }
  .kc-cta-banner__img { opacity: .35; right: -10%; }
}
@media (max-width: 575.97px) {
  .kc-cta-banner { min-height: 380px; }
  .kc-cta-banner__img { display: none; }
}

/* ---------- Service cards (template dish card) ---------- */
.kc-service-card { height: 100%; display: flex; flex-direction: column; }
.kc-service-card .img-wraper img { width: 100%; aspect-ratio: 426 / 357; object-fit: cover; }
.kc-service-card .content-wraper { flex: 1; }
.kc-service-card .top-area { gap: 12px; }
.kc-service-card__excerpt { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; }

/* ---------- Covers & banner slider captions ---------- */
.kc-cover img { width: 100%; aspect-ratio: 426 / 437; object-fit: cover; }
.kc-banner-card { position: relative; }
.kc-banner-card .banner-img { width: 100%; aspect-ratio: 460 / 321; object-fit: cover; }
.kc-banner-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.kc-banner-card__title {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2;
  color: #fff; font-weight: 600; font-size: 20px;
}

/* ---------- Call-back form messages ---------- */
.kc-form-msg { margin: -30px 0 0; color: #7dd87d; font-size: 15px; }
.kc-form-msg--error { color: #ff8a80; }
.kc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Avatars (testimonials without photo) ---------- */
.kc-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--primary-color); color: #fff;
  font-weight: 700; font-size: 24px; letter-spacing: 1px;
}
.kc-avatar--xl {
  position: relative; z-index: 2;
  width: 100%; height: 100%; font-size: 64px;
  background: #1c1c1c; color: var(--primary-color); border: 3px solid var(--primary-color);
}

/* ---------- Home photo slider trigger ---------- */
.roister-single-gallery { position: relative; }
/* .roister-single-gallery:hover::after {display: none !important; z-index: 0;} */
.roister-single-gallery img { aspect-ratio: 301 / 447; object-fit: cover; }
.kc-gallery-trigger {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.6);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-color); color: #fff; font-size: 20px;
  opacity: 0; transition: var(--transition);
  z-index: 99;
}
.roister-single-gallery:hover .kc-gallery-trigger { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* Video slides: play button always visible so visitors can tell them apart */
.roister-single-gallery.is-video .kc-gallery-trigger { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.roister-single-gallery.is-video .kc-gallery-trigger svg { margin-left: 3px; }
/* YouTube's hqdefault thumbnail is 4:3 with black bars baked in – zoom past them */
.roister-single-gallery.is-video { overflow: hidden; }
.roister-single-gallery.is-video img { transform: scale(1.34); }
/* Inline-playing video slide (home video testimonials) */
.roister-single-gallery iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; z-index: 2; }
.roister-single-gallery.is-inline-playing .kc-gallery-trigger { display: none; }

/* ---------- Video thumbnails / play button ---------- */
.kc-video-thumb { position: relative; }
.kc-video-thumb .thumb { width: 100%; aspect-ratio: 426 / 489; object-fit: cover; }
.kc-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-color); color: #fff; font-size: 24px;
  box-shadow: 0 0 0 10px rgba(243, 156, 18, .25);
  transition: var(--transition);
  z-index: 2;
}
.kc-play-btn .icon { margin-left: 4px; }
.kc-play-btn:hover, a:hover > .kc-play-btn { box-shadow: 0 0 0 16px rgba(243, 156, 18, .2); color: #fff; }

.kc-video-card { background: var(--bg-black-shade-2); border: 1px solid var(--border-color-1); height: 100%; }
.kc-video-card__thumb { position: relative; display: block; }
.kc-video-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kc-video-card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 24px 24px 0; }
.kc-video-card__body p { color: rgba(255,255,255,.7); font-size: 15px; }
.kc-video-card__body .rating-wraper { color: var(--primary-color); white-space: nowrap; }
.kc-video-card__quote { padding: 16px 24px 24px; margin: 0; color: rgba(255,255,255,.8); }
.kc-video-card__body:last-child { padding-bottom: 24px; }

.kc-video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.kc-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kc-video-title { color: var(--white-color); }

/* ---------- Service detail ---------- */
.kc-service-hero { aspect-ratio: 16 / 9; object-fit: cover; }
.kc-lead { font-size: 20px; line-height: 1.6; }
.kc-rich-text h4 { color: var(--white-color); }
.kc-list, .kc-checklist { list-style: none; padding: 0; }
.kc-list li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.kc-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-color); }
.kc-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 24px; }
.kc-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.kc-checklist .icon { color: var(--primary-color); margin-top: 4px; }

.kc-inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px; border: 1px solid var(--primary-color);
  background: rgba(243, 156, 18, .06);
}
.kc-inline-cta p { color: rgba(255,255,255,.8); }

.kc-sticky-sidebar { position: sticky; top: 30px; }
.kc-sidebar-call { padding: 40px; background: var(--bg-black-shade-2); border: 1px solid var(--border-color-1); }
.kc-sidebar-call p { color: rgba(255,255,255,.75); }
.kc-sidebar-call__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: var(--primary-color); }
.kc-sidebar-call .primary-btn { display: inline-flex; gap: 8px; }

/* ---------- Gallery ---------- */
.kc-filter { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kc-filter a {
  display: inline-block; padding: 10px 22px; border: 1px solid var(--border-color-1);
  color: var(--white-color); border-radius: 30px; transition: var(--transition);
}
.kc-filter a:hover, .kc-filter a.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

.kc-event-card { height: 100%; }
.kc-event-card .img-wraper img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kc-event-card .meta-info .icon { color: var(--primary-color); }

.kc-event-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; color: rgba(255,255,255,.8); }
.kc-event-meta .icon { color: var(--primary-color); margin-right: 4px; }
.kc-chip { padding: 6px 16px; border-radius: 30px; background: var(--primary-color); color: #fff; font-size: 14px; }
.kc-chip:hover { color: #fff; opacity: .9; }

.kc-masonry { column-count: 3; column-gap: 16px; }
@media (max-width: 991.97px) { .kc-masonry { column-count: 2; } }
@media (max-width: 575.97px) { .kc-masonry { column-count: 1; } }
.kc-masonry__item { position: relative; display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; }
.kc-masonry__item img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.kc-masonry__item:hover img { transform: scale(1.05); }
.kc-masonry__zoom {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.6);
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary-color); color: #fff;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition);
}
.kc-masonry__item:hover .kc-masonry__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.kc-masonry__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0)); color: #fff; font-size: 14px;
}
.kc-empty { color: rgba(255,255,255,.7); padding: 40px 0; }

.kc-pagination .pagination { justify-content: center; gap: 8px; }
.kc-pagination .page-link { background: transparent; border: 1px solid var(--border-color-1); color: #fff; border-radius: 4px; }
.kc-pagination .page-item.active .page-link,
.kc-pagination .page-link:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.kc-pagination .page-item.disabled .page-link { background: transparent; color: rgba(255,255,255,.35); border-color: var(--border-color-1); }
.kc-pagination nav > div:first-child { display: none; }
.kc-pagination nav .small.text-muted { color: rgba(255,255,255,.6) !important; }

/* ---------- Testimonial grid (hm2 cards on listing page) ---------- */
.roister-single-hm2-testimonial { width: 100%; }
.roister-single-hm2-testimonial .user-box .img-wraper img { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; }

/* ---------- Contact ---------- */
.kc-select { appearance: auto; background: transparent; }
.kc-select option { color: #000; }
.blog-comment-form .input.is-invalid { border-color: #ff6b6b; }
.blog-comment-form .input::-webkit-calendar-picker-indicator { filter: invert(1); }
.kc-alert { padding: 18px 24px; border: 1px solid; }
.kc-alert--success { border-color: #3fb950; background: rgba(63, 185, 80, .1); color: #b4f0bd; }
.kc-alert--error { border-color: #ff6b6b; background: rgba(255, 107, 107, .08); color: #ffc9c9; }

/* ---------- Footer ---------- */
.kc-footer-contact { list-style: none; padding: 0; }
.kc-footer-contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; color: rgba(255,255,255,.8); }
.kc-footer-contact .icon { color: var(--primary-color); }
.kc-footer-contact a { color: rgba(255,255,255,.9); }
.kc-footer-contact a:hover { color: var(--primary-color); }
.kc-footer-contact .sep { opacity: .4; }
.download-app-widget .btn-wraper .outline-white-btn .icon { margin-left: 6px; }

/* ---------- Floating WhatsApp ---------- */
.kc-whatsapp-float {
  position: fixed; right: 42px; bottom: 116px; z-index: 999; /* stacked above the scroll-to-top button */
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; font-size: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .3s ease;
}
.kc-whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Spacing helpers missing from template ---------- */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-60 { margin-top: 60px; }
.mt-120 { margin-top: 120px; }
.pt-120 { padding-top: 120px; }
.pb-120 { padding-bottom: 120px; }
@media (max-width: 767.97px) {
  .mt-120 { margin-top: 80px; }
  .pt-120 { padding-top: 80px; }
  .pb-120 { padding-bottom: 80px; }
}

/* Template body has no default text colour – set it for content blocks added here */
.kc-rich-text, .kc-rich-text p, .kc-list li, .kc-checklist li, .kc-lead,
.kc-event-page .des, .kc-inline-cta h5 { color: rgba(255, 255, 255, .85); }
.kc-rich-text h4, .kc-highlights h4, .blog-details-pg-contents h4, .blog-details-pg-contents h2 { color: var(--white-color); }
.kc-checklist li { font-size: 16px; }

/* Mobile: logo/toggle are absolutely positioned and overflow the short header bar –
   keep them above the breadcrumb banner on inner pages. */
.roister-header-area-1 .header-btm { z-index: 20; }

/* ---------- Home hero: YouTube background video ---------- */
.kc-hero--video { background: #000; }
.kc-hero-video {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  container-type: size;
  background-size: cover; background-position: center;
}
/* Always "cover" the hero, whatever its aspect ratio (16:9 video) */
.kc-hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;               /* poster shows until YouTube reports it is playing */
  transition: opacity 1s ease;
}
.kc-hero-video.is-playing iframe { opacity: 1; }
.kc-hero-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.3) 100%);
}
.kc-hero--video .container { position: relative; z-index: 2; }
.kc-hero--video .book-table-content { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .kc-hero-video iframe { display: none; }
}

/* ---------- Rich text (admin editor) content ---------- */
.kc-rich-text { font-size: 17px; line-height: 1.75; }
.kc-rich-text > *:first-child { margin-top: 0; }
.kc-rich-text p { margin-bottom: 24px; }
.kc-rich-text h2, .kc-rich-text h3, .kc-rich-text h4 { color: var(--white-color); margin: 36px 0 16px; line-height: 1.25; }
.kc-rich-text h2 { font-size: var(--fz-36); }
.kc-rich-text h3 { font-size: var(--fz-30); }
.kc-rich-text h4 { font-size: var(--fz-24); }
.kc-rich-text a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 3px; }
.kc-rich-text strong { color: var(--white-color); }
.kc-rich-text ul, .kc-rich-text ol { margin: 0 0 24px; padding-left: 1.3em; color: rgba(255, 255, 255, .85); }
.kc-rich-text ul li::marker, .kc-rich-text ol li::marker { color: var(--primary-color); }
.kc-rich-text li { margin-bottom: 8px; }
.kc-rich-text img { max-width: 100%; height: auto; margin: 8px 0 24px; }
.kc-rich-text figure { margin: 0 0 24px; }
.kc-rich-text figcaption { font-size: 14px; color: rgba(255, 255, 255, .6); margin-top: -12px; }
.kc-rich-text blockquote {
  margin: 0 0 24px; padding: 20px 24px; border-left: 4px solid var(--primary-color);
  background: rgba(243, 156, 18, .06); color: var(--white-color); font-size: 19px; font-style: italic;
}
.kc-rich-text table { width: 100%; margin-bottom: 24px; border-collapse: collapse; color: rgba(255, 255, 255, .85); }
.kc-rich-text th, .kc-rich-text td { border: 1px solid var(--border-color-1); padding: 10px 14px; }
.kc-rich-text th { background: var(--bg-black-shade-2); color: var(--white-color); }

/* ---------- Google rating badge ---------- */
.kc-google-rating {
  width: fit-content; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 40px; text-align: center;
  background: var(--bg-black-shade-2); border: 1px solid var(--border-color-1); border-radius: 14px;
}
.kc-google-rating__brand { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.5px; line-height: 1; }
.kc-google-rating__score { display: flex; align-items: center; gap: 12px; }
.kc-google-rating__value { font-size: 44px; font-weight: 700; color: var(--white-color); line-height: 1.1; }
.kc-stars { position: relative; display: inline-block; font-size: 26px; line-height: 1; letter-spacing: 2px; }
.kc-stars__base { color: rgba(255, 255, 255, .2); }
.kc-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #fbbc05; }
.kc-google-rating__count { margin: 0; color: rgba(255, 255, 255, .75); font-size: 15px; }
.kc-google-rating__links { font-size: 14px; color: rgba(255, 255, 255, .5); }
.kc-google-rating__links a { color: var(--primary-color); }
.kc-google-rating__links a:hover { text-decoration: underline; }

/* ---------- Contact map ---------- */
.kc-map-links { margin-top: 10px; font-size: 14px; }
.kc-map-links a { color: var(--primary-color); }
.roister-google-map { position: relative; }
.kc-map-directions { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: inline-flex; gap: 8px; }
/* Contact page – more than one location */
.kc-location__name { font-weight: 600; color: var(--heading-color, #fff); margin-bottom: 4px; }
.kc-maps--multi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.kc-maps--multi .roister-google-map .roister-map { height: 520px; }
.kc-map-label {
  position: absolute; right: 24px; top: 24px; z-index: 2; max-width: calc(100% - 48px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 6px;
  background: rgba(0, 0, 0, .8); color: #fff; font-weight: 600; font-size: 15px;
}
.kc-map-label svg { width: 14px; height: 14px; fill: var(--primary-color); }
@media (max-width: 991.98px) {
  .kc-maps--multi { grid-template-columns: 1fr; }
  .kc-maps--multi .roister-google-map .roister-map { height: 420px; }
}

/* Home testimonials: the template places the slider dots 110px below the slider
   (absolute), so keep the "All Testimonials" button clear of them. */
.kc-testi-cta { margin-top: 160px; }
