/* ============================================================
   LIGHT PALACE PESHAWAR — Global Stylesheet
   Brand: deep navy + warm gold + white
   ============================================================ */

:root {
  --gold:      #C9A84C;
  --gold-light:#E8C96A;
  --navy:      #0D1B2A;
  --navy-mid:  #1A2F47;
  --navy-light:#243B55;
  --white:     #FFFFFF;
  --off-white: #F8F6F1;
  --text:      #1C1C1C;
  --text-muted:#6B6B6B;
  --radius:    8px;
  --shadow:    0 4px 20px rgba(0,0,0,0.10);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width:100%; display:block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* CONTAINER */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary   { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); text-decoration: none; }
.btn-outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-sm  { padding: 8px 18px; font-size: .9rem; }
.btn-full { width: 100%; text-align: center; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light p { opacity: .8; }

/* TEXT HELPERS */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ============================================================ NAV */
.nav {
  position: sticky;
  top: 0; z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand:hover { text-decoration: none; color: var(--gold-light); }
.brand-icon { font-size: 1.4rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-toggle { display: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 88vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #2A4A6B 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  max-width: 700px;
  padding: 60px 60px;
  z-index: 1;
}
.hero-tagline {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================ TRUST BAR */
.trust-bar { background: var(--gold); padding: 18px 24px; }
.trust-bar-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy); font-size: .95rem;
}
.trust-icon { font-size: 1.2rem; }

/* ============================================================ CATEGORIES */
.categories { padding: 80px 0; background: var(--off-white); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
  border-bottom: 3px solid transparent;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
  border-bottom-color: var(--gold);
  text-decoration: none;
  color: var(--text);
}
.cat-icon { font-size: 2.8rem; margin-bottom: 16px; }
.cat-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.cat-card p  { font-size: .88rem; color: var(--text-muted); }

/* ============================================================ FEATURED */
.featured { padding: 80px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  background: var(--white);
  border: 1px solid #EEE;
}
.product-card:hover { transform: translateY(-4px); }
.product-img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.product-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }

/* ============================================================ WHY US */
.why-us { padding: 80px 0; background: var(--navy); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.why-card {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 32px 24px;
  border-left: 4px solid var(--gold);
}
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.why-card p  { color: rgba(255,255,255,.65); font-size: .88rem; }

/* ============================================================ TESTIMONIALS */
.testimonials { padding: 80px 0; background: var(--off-white); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.testi-card p { color: var(--text-muted); font-style: italic; margin-bottom: 16px; font-size: .95rem; }
.testi-author { font-weight: 700; color: var(--navy); font-size: .88rem; }

/* ============================================================ CONTACT */
.contact { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-details li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.ci-icon { font-size: 1.2rem; margin-top: 1px; }
.contact-details a { color: var(--navy); }
.contact-details a:hover { color: var(--gold); }

.contact-form-wrap { background: var(--off-white); border-radius: var(--radius); padding: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid #DDD;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-thanks { background: #E8F5E9; border-radius: var(--radius); padding: 24px; color: #2E7D32; font-weight: 600; }

/* ============================================================ FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.footer-grid > div > p { font-size: .88rem; line-height: 1.7; }
.footer-grid h4 { color: var(--white); margin-bottom: 14px; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-grid a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 24px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  max-width: 100%;
}

/* ============================================================ PRODUCTS PAGE */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; }
.page-hero p  { color: rgba(255,255,255,.7); }

.products-section { padding: 60px 0; background: var(--off-white); }
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 40px 32px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav { position: sticky; }
  .hero { min-height: auto; }
  .hero-content { padding: 48px 24px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-header h2 { font-size: 1.6rem; }
}
