/* Shine Lanka — shared hosting (HTML/CSS/JS/PHP) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #0f172a;
  background: #fff;
}
body.home-page header.site-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: none;
}
a {
  color: inherit;
}

/* Nav */
.site-navbar {
  width: 100%;
  z-index: 10;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.site-navbar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
  border-bottom: none;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  font-weight: 800;
  text-decoration: none;
  color: #0f172a;
}
.site-navbar-overlay .nav-brand {
  color: #fff;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #0f172a;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-navbar-overlay .nav-links a {
  color: #f6f7fb;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.nav-links a:hover {
  border-bottom-color: currentColor;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle::before {
  content: '☰';
  font-size: 1.25rem;
}
.site-navbar-overlay .nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-inner {
    flex-wrap: wrap;
  }
}

/* Hero */
.fullscreen-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.fullscreen-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}
.video-fallback {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
}
.about-video-fallback {
  height: 72vh;
}
.banner-copy {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: min(900px, 88vw);
  z-index: 2;
  min-height: 220px;
  text-align: center;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.banner-slide.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.banner-slide h1 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
}
.banner-slide p {
  margin: 0;
  color: #f3f6ff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.contact-cta {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #121212;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-cta:hover {
  transform: translateY(-2px);
}

/* Showcase */
.category-showcase {
  padding: 5rem 8vw;
  background: #fff;
}
.showcase-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}
.showcase-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #71717a;
  margin: 0;
}
.showcase-header h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.showcase-subtitle {
  color: #6b7280;
  margin: 0;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.showcase-card {
  text-decoration: none;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.24s, box-shadow 0.24s;
  color: inherit;
}
.showcase-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}
.showcase-image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.showcase-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-card h3 {
  margin: 0;
  padding: 0.9rem;
  text-align: center;
  font-size: 1rem;
}
.showcase-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.showcase-more-btn {
  text-decoration: none;
  border: 1px solid #111827;
  padding: 0.72rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
}
.showcase-more-btn:hover {
  background: #111827;
  color: #fff;
}
.section-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* Story */
.story-section {
  padding: 5rem 8vw;
}
.story-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.story-inner.story-reverse {
  grid-template-columns: 1fr 1.2fr;
}
.story-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}
.story-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.story-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}
.story-copy p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}
.story-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.story-features li::before {
  content: '◆ ';
  color: #0f172a;
  font-size: 0.65rem;
}

/* About (embedded + page) */
.about-page {
  background: #f8fafc;
}
.about-page--embedded {
  margin-top: 0;
}
.about-hero-media {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
}
.about-hero-video {
  width: 100%;
  height: 72vh;
  object-fit: cover;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  padding: 4rem 8vw;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.78), rgba(15, 23, 42, 0.5));
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
.about-hero-overlay h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.about-hero-overlay p {
  margin: 0;
  max-width: 850px;
  line-height: 1.7;
  color: #e2e8f0;
}
.about-content-wrap {
  padding: 4rem 8vw;
  display: grid;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.about-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.about-section h2 {
  margin: 0 0 0.65rem;
}
.about-section p {
  color: #475569;
  line-height: 1.75;
  margin: 0.5rem 0 0;
}
.about-section-media {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}
.about-section-media.reverse {
  grid-template-columns: 1fr 1.2fr;
}
.about-section-image {
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  background: #f1f5f9;
}
.about-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-values-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.about-values-list li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  color: #334155;
}
.about-values-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.55rem;
  top: 0.55rem;
}
.about-cta-section {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #f8fafc;
}
.about-cta-section h2,
.about-cta-section p {
  color: #f8fafc;
}

/* Content pages */
.content-wrap {
  padding-top: 0;
}
.content-section {
  padding: 4rem 8vw;
  min-height: 50vh;
  max-width: 1200px;
  margin: 0 auto;
}
.content-section h2 {
  margin-top: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.category-card-link {
  text-decoration: none;
  color: inherit;
}
.category-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.26s;
}
.category-card:hover {
  transform: translateY(-4px);
}
.category-card img,
.image-placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}
.category-card h3 {
  margin: 0;
  padding: 0.9rem;
}
.page-back-row {
  margin-bottom: 1rem;
}
.category-back-link {
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}
.category-back-link:hover {
  text-decoration: underline;
}
.category-stones-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.category-stones-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}
.category-stones-subtitle {
  color: #6b7280;
  margin: 0.4rem 0 0;
  max-width: 520px;
}
.stone-badge {
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
}
.stone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.stone-card-link {
  text-decoration: none;
  color: inherit;
}
.stone-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s;
}
.stone-card:hover {
  transform: translateY(-3px);
}
.stone-card-image {
  height: 150px;
}
.stone-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stone-card-body {
  padding: 0.75rem;
}
.stone-card-body h3 {
  margin: 0;
  font-size: 0.98rem;
}
.stone-card-price {
  font-weight: 600;
  margin: 0.35rem 0 0;
}
.stone-card-meta {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0.25rem 0;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #d4d4d8;
  font-size: 0.78rem;
}
.badge-green {
  border-color: #22c55e;
  color: #16a34a;
  background: #f0fdf4;
}
.category-stones-empty {
  padding: 1.5rem;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

/* Stone detail */
.stone-details-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.4rem;
  align-items: flex-start;
}
.stone-gallery,
.stone-details-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.stone-gallery-main {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  cursor: zoom-in;
}
.stone-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease-out;
}
.stone-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.stone-thumb-btn {
  border: 1px solid #e5e7eb;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.stone-thumb-btn.active {
  border-color: #111827;
}
.stone-thumb-btn img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}
.stone-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
  font-size: 0.94rem;
  color: #374151;
  margin-top: 1rem;
}
.stone-details-grid p {
  margin: 0;
}
.stone-details-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.3rem 0 0;
}
.stone-details-description h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
}
.stone-details-cta {
  margin-top: 1rem;
}
.category-stones-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

/* Contact */
.contact-page {
  background: #f8fafc;
}
.contact-wrap {
  padding: 4rem 8vw;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-header h1 {
  margin: 0;
}
.contact-header p {
  color: #475569;
  line-height: 1.7;
  max-width: 800px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.contact-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}
.contact-detail-block + .contact-detail-block {
  margin-top: 1rem;
}
.contact-detail-block h3 {
  margin: 0;
  font-size: 0.95rem;
}
.contact-detail-block p {
  margin: 0.35rem 0 0;
  color: #475569;
}
.contact-detail-block a {
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}
.contact-detail-block a:hover {
  text-decoration: underline;
}
.contact-note {
  font-size: 0.88rem;
  color: #6b7280;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #374151;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}
.contact-submit-btn {
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.contact-submit-btn:hover {
  background: #1f2937;
}
.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  margin-top: 0.75rem;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.contact-custom-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}
.contact-trust-line {
  text-align: center;
  font-weight: 600;
  margin-top: 2rem;
  color: #0f172a;
}
.contact-success-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.75rem;
  border-radius: 10px;
}
.contact-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.75rem;
  border-radius: 10px;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 2.5rem 8vw 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-bottom: 1px solid #111827;
  padding-bottom: 1.5rem;
}
.footer-column h4 {
  margin: 0 0 0.8rem;
  color: #f9fafb;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 0.4rem;
}
.footer-column a {
  color: #e5e7eb;
  text-decoration: none;
}
.footer-column a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #9ca3af;
}
.footer-bottom a {
  color: #e5e7eb;
}

/* Reveal */
.reveal-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-section.reveal-in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-inner,
  .story-inner.story-reverse {
    grid-template-columns: 1fr;
  }
  .about-section-media,
  .about-section-media.reverse {
    grid-template-columns: 1fr;
  }
  .stone-details-layout {
    grid-template-columns: 1fr;
  }
  .stone-details-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
