/* =========================
   LCD FUNERALS - LUXURY STYLE
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #ffffff;
  color: #0b1633;
  line-height: 1.6;
}

body.home-page {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --blue-dark: #0a1e4a;
  --blue-main: #1e4da1;
  --blue-light: #eaf1ff;
  --white: #ffffff;
  --text: #0b1633;
  --muted: #cfd8ee;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  --radius: 20px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* NAVBAR */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav.scrolled .brand {
  color: var(--blue-dark);
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  font-size: 1em;
  line-height: 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a {
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.menu a:hover,
.menu a.active {
  background: rgba(255, 255, 255, 0.14);
}

.menu .nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .menu a {
  color: var(--blue-dark);
}

.nav.scrolled .menu a:hover,
.nav.scrolled .menu a.active {
  background: rgba(30, 77, 161, 0.1);
}

.nav.scrolled .menu .nav-btn {
  border: 1px solid rgba(30, 77, 161, 0.2);
  background: rgba(30, 77, 161, 0.08);
}

.page-nav {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.dark-brand {
  color: var(--blue-dark);
}

.dark-menu a {
  color: var(--blue-dark);
}

.dark-menu a:hover,
.dark-menu a.active {
  background: rgba(30, 77, 161, 0.1);
}

.dark-btn {
  border: 1px solid rgba(30, 77, 161, 0.2);
  background: rgba(30, 77, 161, 0.08);
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
  transition: 0.3s ease;
}

.dark-toggle span {
  background: var(--blue-dark);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(10, 30, 74, 0.68), rgba(10, 30, 74, 0.62)),
    url("/img/lcd-home.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 50px;
}

.hero-overlay {
  width: min(950px, 100%);
  color: var(--white);
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 6px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

/* BUTTONS */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--blue-main);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(30, 77, 161, 0.28);
}

.btn.primary:hover {
  background: #163d84;
  transform: translateY(-2px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* MEMBERSHIP CARD */
.hero-membership {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 24px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.membership-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  margin-bottom: 12px;
}

.membership-price {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 8px;
  color: var(--white);
}

.membership-price span {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.membership-text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

/* POINTS */
.hero-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.point-card {
  padding: 14px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(5px);
}

/* INNER PAGES */
.inner-hero {
  padding: 170px 20px 90px;
  background: linear-gradient(135deg, #f3f7ff, #e7efff);
  text-align: center;
}

.inner-kicker {
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--blue-main);
  margin-bottom: 12px;
}

.inner-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--blue-dark);
  margin-bottom: 14px;
  line-height: 1.15;
}

.inner-sub {
  max-width: 760px;
  margin: 0 auto;
  color: #4f6185;
  font-size: 17px;
}

.page-section {
  padding: 70px 20px;
}

.light-section {
  background: #f8fbff;
}

.two-column-page {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.page-text {
  color: #4f6185;
  margin-bottom: 16px;
}

.page-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(10, 30, 74, 0.08);
  border: 1px solid rgba(10, 30, 74, 0.08);
}

.page-card h3 {
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.page-list {
  list-style: none;
  padding-left: 0;
}

.page-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 30, 74, 0.08);
  color: #4f6185;
}

.page-list li:last-child {
  border-bottom: none;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.membership-box {
  text-align: center;
}

.center-text {
  text-align: center;
}

.dark-label {
  background: rgba(30, 77, 161, 0.1);
  color: var(--blue-main);
}

.dark-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 1px solid rgba(30, 77, 161, 0.2);
}

.dark-outline:hover {
  background: rgba(30, 77, 161, 0.08);
  transform: translateY(-2px);
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 74, 0.55), rgba(10, 30, 74, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(120deg, #1e4da1, #5c88e8, #1e4da1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card:hover::after,
.portfolio-card:hover::before {
  opacity: 1;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #4f6185;
}

.contact-form {
  margin-top: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--blue-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(10, 30, 74, 0.12);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-main);
}

.form-submit {
  border: none;
}

.map-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 30, 74, 0.08);
  border: 1px solid rgba(10, 30, 74, 0.08);
}

/* HELP BANNER */
.help-banner {
  padding: 70px 20px;
  background: linear-gradient(135deg, var(--blue-dark), #14387c);
  color: white;
}

.help-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.help-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 10px;
}

.help-banner p {
  color: rgba(255, 255, 255, 0.88);
}

.light-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.light-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* FOOTER */
.site-footer {
  background: #f5f7fb;
  color: var(--blue-dark);
  padding: 18px 20px;
  border-top: 1px solid #e4e7ef;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  font-weight: 500;
}

.footer-right {
  opacity: 0.85;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  font-size: 22px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .three-grid,
  .services-grid,
  .portfolio-grid,
  .contact-grid,
  .two-column-page {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 4%;
    width: min(300px, 92%);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    display: none;
  }

  .menu.show {
    display: flex;
  }

  .menu a,
  .dark-menu a,
  .nav.scrolled .menu a {
    color: var(--blue-dark);
    text-align: center;
    background: transparent;
  }

  .menu a:hover,
  .menu a.active,
  .dark-menu a:hover,
  .dark-menu a.active,
  .nav.scrolled .menu a:hover,
  .nav.scrolled .menu a.active {
    background: rgba(30, 77, 161, 0.08);
  }

  .menu .nav-btn,
  .nav.scrolled .menu .nav-btn {
    background: rgba(30, 77, 161, 0.08);
    border: 1px solid rgba(30, 77, 161, 0.14);
  }

  .brand {
    font-size: 26px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    gap: 12px;
  }

  .hero {
    padding-top: 150px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-membership {
    padding: 20px 16px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .point-card {
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .footer-right {
    text-align: center;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 20px;
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-icon {
  width: 28px;
  height: 28px;
  display: block;
  color: white;
}
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  display: block;
  color: white;
}

/* REVIEWS SECTION */
.reviews-section {
  padding: 85px 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.review-sub {
  margin-bottom: 34px;
  color: #5d7097;
}

.reviews-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-slider {
  display: flex;
  gap: 22px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.review-card {
  min-width: calc(33.333% - 15px);
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 24px;
  box-shadow: 0 14px 35px rgba(10, 30, 74, 0.08);
  border: 1px solid rgba(10, 30, 74, 0.08);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(10, 30, 74, 0.12);
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 54px;
  line-height: 1;
  color: rgba(30, 77, 161, 0.12);
  font-family: "Playfair Display", serif;
}

.review-stars {
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  color: #4f6185;
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 15px;
}

.review-author {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 15px;
}

.review-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: 0 10px 25px rgba(10, 30, 74, 0.12);
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.review-nav:hover {
  background: var(--blue-main);
  color: #ffffff;
  transform: translateY(-2px);
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(30, 77, 161, 0.22);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.review-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--blue-main);
}

@media (max-width: 980px) {
  .review-card {
    min-width: calc(50% - 11px);
  }
}

@media (max-width: 640px) {
  .review-card {
    min-width: 100%;
    padding: 24px 18px;
  }

  .review-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .review-text {
    font-size: 14px;
  }

  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
}

/* MOBILE FIX FOR REVIEWS */
@media (max-width: 640px) {

  .reviews-slider-wrap {
    gap: 8px;
  }

  .reviews-slider {
    padding: 0 4px;
  }

  .review-card {
    min-width: 100%;
    max-width: 100%;
    padding: 22px 18px;
  }

  .review-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .review-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .review-author {
    font-size: 14px;
  }

}