﻿/* =========================================================
   SWARNA MAHAL - extra styles for inner pages
   (uses the same colour tokens as site.css)
   ========================================================= */

/* ---------- Header additions ---------- */
.nav-ribbon-inner li a.active { color: var(--gold-primary); }
.nav-ribbon-inner li a.active::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  width: 42px; height: 42px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

.header-icon-item .fa-whatsapp { color: #25D366; }

@media (max-width: 768px) {
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-icons { gap: 16px; }
  .header-icons .hide-sm { display: none; }
  .nav-ribbon.open { display: block; }
  .nav-ribbon.open .nav-ribbon-inner { flex-direction: column; gap: 0; padding: 6px 20px; }
  .nav-ribbon.open .nav-ribbon-inner li a { padding: 12px 0; border-bottom: 1px solid var(--app-card-border); }
  .logo-text { font-size: 1.35rem; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  z-index: 1900;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Home calculator: mode switch + breakdown ---------- */
.calc-mode-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.calc-mode-btn {
  padding: 10px 8px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--app-card-border); background: rgba(255,255,255,0.03);
  color: var(--text-muted); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.5px; transition: var(--transition);
}
.calc-mode-btn.active { border-color: var(--gold-primary); color: var(--gold-light); background: rgba(212,175,55,0.12); }
.calc-breakdown { font-size: 0.85rem; color: #D6CEBE; margin: -8px 0 16px; }
.calc-breakdown > div { display: flex; justify-content: space-between; padding: 6px 2px; border-bottom: 1px dashed var(--app-card-border); }
.calc-breakdown > div.total { border-bottom: 0; font-weight: 800; color: var(--gold-light); font-size: 1rem; }
.calc-error { color: #FF8A80; font-size: 0.8rem; min-height: 1.1em; margin-bottom: 10px; }

/* ---------- Invest confirmation ---------- */
.invest-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .invest-grid { grid-template-columns: 1fr; } }
.sum-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.sum-table td { padding: 12px 4px; border-bottom: 1px dashed var(--app-card-border); color: #D6CEBE; }
.sum-table td:last-child { text-align: right; color: var(--pure-white); font-weight: 700; }
.sum-table tr.total td { border-bottom: 0; border-top: 1px solid var(--gold-warm); font-size: 1.2rem; color: var(--gold-light); font-weight: 800; padding-top: 16px; }
.mode-radios label { margin-right: 18px; color: var(--pure-white); font-weight: 600; cursor: pointer; }
.mode-radios input { accent-color: #D4AF37; margin-right: 6px; }
.lock-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 8px; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.4); color: var(--gold-light); font-size: 0.84rem; margin: 18px 0; }
.terms-row { display: flex; gap: 10px; align-items: flex-start; color: #D6CEBE; font-size: 0.84rem; margin-bottom: 18px; }
.terms-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: #D4AF37; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(circle at 50% 30%, rgba(197,160,89,0.20) 0%, rgba(28,24,21,0.92) 60%, #14110F 100%),
    url('https://images.unsplash.com/photo-1610030469983-98e550d6193c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 60px 20px 54px;
  text-align: center;
  border-bottom: 1px solid var(--app-card-border);
}
.page-banner h1 {
  font-family: var(--font-royal);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.75);
}
.page-banner p { color: #D6CEBE; margin-top: 6px; font-size: 0.95rem; }
.breadcrumb {
  display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted); margin-top: 14px;
}
.breadcrumb a { color: var(--gold-primary); }
.breadcrumb a:hover { color: var(--gold-light); }

.page-wrap { max-width: 1360px; margin: 0 auto; padding: 55px 30px; }
@media (max-width: 768px) { .page-wrap { padding: 36px 16px; } .page-banner h1 { font-size: 1.8rem; } }

/* ---------- Cards / forms ---------- */
.lux-card {
  background: var(--app-card-bg);
  border: 1px solid var(--app-card-border);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.lux-card h3 {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.lux-card .card-sub { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 22px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 7px;
}
.form-group label .req { color: #EF5350; }

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--app-card-border);
  background: #14110F;
  color: var(--pure-white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--gold-primary); box-shadow: 0 0 0 3px rgba(212,175,55,0.18); }
.form-control::placeholder { color: #6E655C; }
select.form-control option { background: #1C1815; color: #fff; }
textarea.form-control { min-height: 120px; resize: vertical; }

.field-error { color: #EF5350; font-size: 0.75rem; margin-top: 4px; display: block; }

.btn-gold.full-width, .btn-whatsapp.full-width { width: 100%; justify-content: center; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #0B3D1F;
  padding: 14px 30px;
  font-size: 0.84rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid #7CF0A9; border-radius: 6px;
  cursor: pointer; transition: var(--transition);
}
.btn-whatsapp:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn-whatsapp i { font-size: 1.2rem; }

/* ---------- Alerts ---------- */
.sm-alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 16px; border-radius: 8px;
  font-size: 0.88rem; margin-bottom: 20px; border: 1px solid;
}
.sm-alert-success { background: rgba(46,125,50,0.15); border-color: #4CAF50; color: #A5D6A7; }
.sm-alert-error   { background: rgba(239,83,80,0.12); border-color: #EF5350; color: #FFAB91; }
.sm-alert-info    { background: rgba(212,175,55,0.12); border-color: var(--gold-primary); color: var(--gold-light); }
.sm-alert a { color: var(--gold-light); text-decoration: underline; }

/* ---------- Category cards (Products page) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.cat-card {
  background: var(--app-card-bg);
  border: 1px solid var(--app-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--gold-primary); box-shadow: var(--shadow-gold); }
.cat-card-img { height: 230px; overflow: hidden; background: #231E1A; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.08); }
.cat-card-body { padding: 18px 20px; text-align: center; }
.cat-card-body h3 { font-family: var(--font-royal); color: var(--gold-light); font-size: 1.1rem; }
.cat-card-body p { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }
.cat-card-body .count {
  display: inline-block; margin-top: 10px;
  font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 800;
  color: var(--gold-primary); border: 1px solid var(--gold-primary);
  padding: 3px 10px; border-radius: 20px;
}

.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.cat-pills a { text-decoration: none; }

.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
  border: 1px dashed var(--app-card-border); border-radius: 14px;
}
.empty-state i { font-size: 2.4rem; color: var(--gold-primary); margin-bottom: 14px; display: block; }

.product-card > a.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.product-short { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 960px) { .pd-grid { grid-template-columns: 1fr; gap: 28px; } }

.pd-main-img {
  background: #231E1A;
  border: 1px solid var(--app-card-border);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb {
  width: 78px; height: 78px; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--app-card-border); cursor: pointer; transition: var(--transition);
  background: #231E1A;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold-primary); }

.pd-title { font-family: var(--font-serif); font-size: 2rem; color: var(--pure-white); line-height: 1.2; margin: 6px 0 10px; }
.pd-code { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 6px; }
.pd-price { font-size: 1.9rem; font-weight: 800; color: var(--gold-light); }
.pd-price-note { font-size: 0.74rem; color: var(--text-muted); margin-bottom: 20px; }
.pd-short { color: #D6CEBE; font-size: 0.95rem; line-height: 1.7; margin-bottom: 22px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.88rem; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--app-card-border); }
.spec-table td:first-child { color: var(--gold-primary); font-weight: 700; width: 42%; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.8px; }
.spec-table td:last-child { color: var(--pure-white); }

.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.pd-desc { color: #D6CEBE; line-height: 1.8; font-size: 0.92rem; }
.pd-section-title { font-family: var(--font-royal); color: var(--gold-light); font-size: 1.2rem; margin: 10px 0 14px; }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.photo-item {
  position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--app-card-border); aspect-ratio: 1 / 1; background: #231E1A;
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-item:hover img { transform: scale(1.08); }
.photo-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(13,11,9,0.92));
  color: var(--gold-light); font-size: 0.85rem; font-weight: 700;
}
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .video-grid { grid-template-columns: 1fr; } }
.video-item {
  background: var(--app-card-bg); border: 1px solid var(--app-card-border);
  border-radius: 12px; overflow: hidden; cursor: pointer; transition: var(--transition);
}
.video-item:hover { border-color: var(--gold-primary); box-shadow: var(--shadow-gold); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-thumb .play i {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(20,17,15,0.8); border: 2px solid var(--gold-primary); color: var(--gold-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; padding-left: 4px;
}
.video-item h4 { padding: 14px 16px; color: var(--gold-light); font-size: 0.95rem; font-weight: 700; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 3500; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 1000px; width: 100%; text-align: center; }
.lightbox-inner img { max-width: 100%; max-height: 82vh; border-radius: 10px; border: 1px solid var(--gold-warm); }
.lightbox-inner .video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.lightbox-inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lightbox-caption { color: var(--gold-light); margin-top: 12px; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(28,24,21,0.9); border: 1px solid var(--gold-primary); color: var(--gold-primary);
  font-size: 1.2rem; cursor: pointer;
}

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; gap: 30px; } }
.about-img { border-radius: 16px; overflow: hidden; border: 1.5px solid var(--gold-warm); box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 460px; object-fit: cover; }
.about-text p { color: #D6CEBE; line-height: 1.85; margin-bottom: 16px; font-size: 0.96rem; }
.about-text h2 { font-family: var(--font-royal); color: var(--gold-light); font-size: 2rem; margin-bottom: 16px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 60px 0 10px; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-box { text-align: center; padding: 26px 14px; background: var(--app-card-bg); border: 1px solid var(--app-card-border); border-radius: 14px; }
.stat-box .num { font-family: var(--font-royal); font-size: 2rem; color: var(--gold-primary); font-weight: 800; }
.stat-box .lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--app-card-border); }
.info-item:last-child { border-bottom: 0; }
.info-item .ic {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--gold-primary); color: var(--gold-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-item h5 { color: var(--gold-light); font-weight: 800; font-size: 0.9rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--text-muted); font-size: 0.88rem; }
.info-item a:hover { color: var(--gold-primary); }
.map-box { margin-top: 30px; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-warm); }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Login ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1050px; margin: 0 auto; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } }
.auth-grid .form-group { margin-bottom: 16px; }
.auth-foot { text-align: center; margin-top: 30px; color: var(--text-muted); font-size: 0.85rem; }
.auth-foot a { color: var(--gold-primary); }

/* Two-column enquiry layout */
.enq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 960px) { .enq-grid { grid-template-columns: 1fr; } }
.why-list { list-style: none; }
.why-list li { display: flex; gap: 12px; padding: 12px 0; color: #D6CEBE; font-size: 0.9rem; border-bottom: 1px dashed var(--app-card-border); }
.why-list li i { color: var(--gold-primary); margin-top: 3px; }
