/**
 * Kanyakumari — homepage teaser + explore page
 */

/* ─── Homepage — Discover Kanyakumari (card grid) ─── */
.kk-discover {
  width: 100%;
  background: linear-gradient(180deg, #f0f6fa 0%, #f8fafc 50%, #fff 100%);
  padding: clamp(3rem, 6vh, 4.5rem) 0;
}

.kk-discover__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.kk-discover__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.kk-discover__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1a6b6b;
  margin-bottom: 0.75rem;
}

.kk-discover__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 400;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.kk-discover__title strong {
  font-weight: 800;
  color: #15334d;
}

.kk-discover__intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

.kk-discover__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .kk-discover__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .kk-discover__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.kk-discover-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(21, 51, 77, 0.08);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kk-discover-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 20px 48px rgba(21, 51, 77, 0.14);
}

.kk-discover-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-decoration: none;
}

.kk-discover-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.kk-discover-card:hover .kk-discover-card__media img {
  transform: scale(1.06);
}

.kk-discover-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kk-discover-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4a52e;
  margin-bottom: 0.5rem;
}

.kk-discover-card__body h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.kk-discover-card__body p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kk-discover__footer {
  text-align: center;
  margin-top: 2.75rem;
}

.kk-discover__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #15334d;
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(21, 51, 77, 0.25);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.kk-discover__btn:hover {
  background: #1e4a6a;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(21, 51, 77, 0.32);
}

.kk-discover__btn i {
  font-size: 0.8125rem;
  transition: transform 0.25s ease;
}

.kk-discover__btn:hover i {
  transform: translateX(4px);
}

.kk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: fit-content;
}

.kk-btn--primary {
  background: #15334d;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(21, 51, 77, 0.3);
}

.kk-btn--primary:hover {
  background: #1e4a6a;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 51, 77, 0.35);
}

.kk-btn--outline {
  background: transparent;
  color: #15334d !important;
  border: 2px solid #15334d;
}

.kk-btn--outline:hover {
  background: #15334d;
  color: #fff !important;
}

/* ─── Inner page (corporate) ─── */
.page-kanyakumari .main-content {
  background: #f8fafc;
}

.page-kanyakumari .inner-page-hero {
  margin-bottom: 0;
}

.page-kanyakumari .kk-inner {
  background: #f8fafc;
}

.inner-page-hero--left .container::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(247, 198, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.inner-page-hero--left .container {
  position: relative;
}

.kk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
}

.kk-breadcrumb a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kk-breadcrumb a:hover {
  color: #f7c637 !important;
}

.kk-breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.4);
}

.kk-breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.kk-section-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a6b6b;
  margin-bottom: 0.5rem;
}

/* Spots grid — corporate cards with images */
.kk-spots-section--pro {
  padding: clamp(2.75rem, 5vh, 4rem) 0;
  background: #f8fafc;
}

.kk-spots-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.kk-spots-section__header h2 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 800;
  color: #15334d;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.kk-spots-section__header p {
  color: #64748b;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.kk-spots-grid--pro {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .kk-spots-grid--pro {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .kk-spots-grid--pro {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.kk-spot-card--pro {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(21, 51, 77, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(21, 51, 77, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kk-spot-card--pro:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.06),
    0 18px 40px rgba(21, 51, 77, 0.12);
}

.kk-spot-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.kk-spot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.kk-spot-card--pro:hover .kk-spot-card__media img {
  transform: scale(1.05);
}

.kk-spot-card__media-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #15334d;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.kk-spot-card--pro .kk-spot-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kk-spot-card--pro h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #15334d;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.kk-spot-card--pro p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  flex: 1;
}

/* Full-width CTA band — warm gold (not blue) */
.kk-page-cta--band {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(2.75rem, 5vh, 4rem) clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(
    135deg,
    #fff9e6 0%,
    #fef3c7 35%,
    #fde68a 70%,
    #fef9e7 100%
  );
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 165, 46, 0.35);
}

.kk-page-cta--band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #15334d, #15334d, transparent);
  opacity: 0.15;
}

.kk-page-cta--band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(247, 198, 55, 0.25) 0%, transparent 45%);
  pointer-events: none;
}

.kk-page-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.kk-page-cta__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a6b6b;
  margin-bottom: 0.5rem;
}

.kk-page-cta--band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #15334d;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.kk-page-cta--band p {
  color: #475569;
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.kk-page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.kk-page-cta--band .kk-btn--primary {
  background: #15334d;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(21, 51, 77, 0.25);
}

.kk-page-cta--band .kk-btn--primary:hover {
  background: #1e4a6a;
  color: #fff !important;
}

.kk-btn--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  background: #fff;
  color: #15334d !important;
  border: 2px solid rgba(21, 51, 77, 0.2);
  box-shadow: 0 2px 8px rgba(21, 51, 77, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kk-btn--light:hover {
  background: #fff;
  border-color: #15334d;
  color: #15334d !important;
  transform: translateY(-1px);
}
