/* ==========================================================================
   LORA CERAMICS — Global UI Components (Signature Red & White Theme)
   Est. May 16, 2022 | Vadapuram, Kerala
   ========================================================================== */

/* ================= HEADER & GLASS NAVIGATION ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FAF7F2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-corner-mark {
  width: 34px;
  height: 34px;
  border-top: 6.5px solid #B91C1C;
  border-left: 6.5px solid #B91C1C;
  border-top-left-radius: 5px;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-corner-mark {
  transform: scale(1.08);
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  border: 1.5px solid rgba(220, 38, 38, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.3);
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px -4px rgba(220, 38, 38, 0.35);
  transition: var(--transition);
}

.brand-logo:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 12px 26px -4px rgba(220, 38, 38, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.96;
  color: #121316;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: #2B2D31;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  position: relative;
}

.nav-links a {
  font-size: 1.08rem;
  font-weight: 600;
  color: #22252A;
  padding: 6px 0;
  border-radius: 0;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #B91C1C;
}

.nav-links a.active {
  background: transparent;
  color: #111111;
  font-weight: 700;
  box-shadow: none;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3.5px;
  background: #B91C1C;
  border-radius: 3px;
}

.nav-links.has-sliding-bar a.active::after {
  display: none;
}

.nav-underline-bar {
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3.5px;
  background: #B91C1C;
  border-radius: 3px;
  pointer-events: none;
  will-change: transform, width;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 22px;
  border: 1.5px solid #1F2937;
  border-radius: 999px;
  background: #FFFFFF;
  color: #121316;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-whatsapp-pill:hover {
  border-color: #B91C1C;
  color: #B91C1C;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.15);
}

.btn-whatsapp-pill svg {
  color: #B91C1C;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.floating-wa {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1.5px solid #1F2937;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 1.15rem;
  cursor: pointer;
  color: #121316;
  line-height: 1;
}

/* ================= LIGHTBOX MODAL WITH FULL PHOTO & DETAILS ================= */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop.open {
  display: grid;
}

.lightbox-modal {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 1020px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55);
  position: relative;
  max-height: 92vh;
  animation: subtleZoomIn 0.35s var(--ease-out-expo);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.lightbox-img-wrap {
  background: #0B0C0E;
  display: grid;
  place-items: center;
  max-height: 92vh;
  position: relative;
  overflow: hidden;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

.lightbox-details {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 15;
  transition: var(--transition);
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: var(--accent-red);
  color: #FFFFFF;
}

.lightbox-counter {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ================= FULLSCREEN CINEMA MODAL ================= */
.cinema-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 8, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cinema-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cinema-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border: 1.5px solid rgba(220, 38, 38, 0.35);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.cinema-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.cinema-modal-close:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

.cinema-modal-video-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  background: #000000;
}

.cinema-modal-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
}

.cinema-modal-footer {
  padding: 18px 24px;
  background: #FFFFFF;
  border-top: 1px solid rgba(220, 38, 38, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= FOOTER & FLOATING WHATSAPP ================= */
.site-footer {
  background: radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
              linear-gradient(135deg, #101114 0%, #15171C 50%, #0C0D10 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 68px 0 30px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.05fr 1.25fr;
  gap: 34px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 28px;
}

.footer-brand-title {
  font-family: var(--font-serif) !important;
  font-size: 1.48rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: #FFFFFF !important;
}

.footer-brand-sub {
  font-family: var(--font-sans) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.24em !important;
  color: #EF4444 !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
}

.btn-footer-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.42);
  transition: var(--transition);
}

.btn-footer-directions:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(185, 28, 28, 0.58);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #DC2626;
  margin-top: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-chevron-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.84);
  transition: var(--transition);
}

.footer-chevron {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.footer-links a:hover {
  color: #EF4444;
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.86);
}

.footer-contact-icon {
  color: #EF4444;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-credit-logo {
  width: 15px;
  height: 15px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #EF4444;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.floating-wa {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.45);
}

.floating-wa:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Header & Modal Breakpoints (Mobile Responsive Lightbox) */
@media (max-width: 991px) {
  .lightbox-backdrop {
    padding: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lightbox-modal {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    max-height: 94vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 500px !important;
  }

  .lightbox-img-wrap {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    width: 100% !important;
    position: relative !important;
    background: #0B0C0E !important;
    flex-shrink: 0 !important;
  }

  .lightbox-img-wrap img {
    height: 100% !important;
    max-height: 250px !important;
    object-fit: contain !important;
  }

  .lightbox-nav-btn {
    top: 125px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1.3rem !important;
    background: rgba(11, 12, 14, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    z-index: 20 !important;
  }

  .lightbox-nav-btn.prev {
    left: 8px !important;
  }

  .lightbox-nav-btn.next {
    right: 8px !important;
  }

  .lightbox-close {
    top: 10px !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
    background: rgba(11, 12, 14, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    z-index: 25 !important;
  }

  .lightbox-details {
    padding: 20px 18px 28px !important;
    overflow-y: visible !important;
    flex: 1 0 auto !important;
  }

  .lightbox-details .section-title {
    font-size: 1.45rem !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
    border-bottom: none;
  }
  .nav-inner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .brand-logo {
    gap: 10px;
    flex-shrink: 0;
  }
  .brand-logo-img,
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .brand-title {
    font-size: 1.45rem;
    letter-spacing: 0.08em;
  }
  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.28em;
    color: #88131B;
    margin-top: 2px;
  }
  .nav-actions {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }
  .btn-whatsapp-pill {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid #991B1B !important;
    background: transparent !important;
    color: #991B1B !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .btn-whatsapp-pill span {
    display: none !important;
  }
  .btn-whatsapp-pill svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    margin: 0 !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
    width: 34px !important;
    height: 36px !important;
    font-size: 1.45rem !important;
    border: none !important;
    background: transparent !important;
    color: #111111 !important;
    box-shadow: none !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 12px;
    right: 12px;
    background: #FFFFFF;
    flex-direction: column;
    padding: 14px;
    gap: 8px;
    border-radius: 16px;
    border: 1.5px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 16px 36px rgba(220, 38, 38, 0.15);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-underline-bar {
    display: none;
  }
  .site-footer { padding: 30px 0 20px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 18px 12px !important; padding-bottom: 20px !important; }
  .footer-col:first-child, .footer-col:last-child { grid-column: 1 / -1 !important; }
  .footer-col:not(:last-child) { border-right: none !important; padding-right: 0 !important; }
  .footer-col:first-child .brand-logo { margin-bottom: 10px !important; }
  .footer-brand-title { font-size: 1.15rem !important; }
  .footer-brand-sub { font-size: 0.56rem !important; }
  .footer-col:first-child p { font-size: 0.76rem !important; line-height: 1.45 !important; margin-bottom: 12px !important; }
  .btn-footer-directions { padding: 8px 16px !important; font-size: 0.76rem !important; gap: 6px !important; }
  .footer-col h4 { font-size: 1.02rem !important; margin-bottom: 10px !important; }
  .footer-col h4::after { width: 22px !important; margin-top: 5px !important; }
  .footer-links { gap: 7px !important; font-size: 0.74rem !important; }
  .footer-chevron-list a { gap: 5px !important; line-height: 1.3 !important; }
  .footer-contact-list { display: grid !important; grid-template-columns: 1fr !important; gap: 7px !important; font-size: 0.75rem !important; }
  .footer-bottom { padding-top: 14px !important; font-size: 0.68rem !important; gap: 6px !important; text-align: center !important; justify-content: center !important; }
}

@media (max-width: 520px) {
  .container {
    padding: 0 14px;
  }
  .nav-actions .btn-whatsapp {
    padding: 6px 11px;
    font-size: 0.72rem;
  }
}
