/* ============================================================
   LEMPARS CREATIONS — MAIN STYLESHEET
   Colour palette: #1C1C1E (bg), #C9A84C (gold), #F5F5F0 (light text)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #FFFFFF;
  --bg-surface:    #F8F8F8;
  --bg-card:       #FFFFFF;
  --gold:          #FFAA33;
  --gold-light:    #FFC166;
  --gold-dim:      rgba(255,170,51,0.10);
  --text:          #1A1A1A;
  --text-muted:    #666666;
  --border:        rgba(0,0,0,0.09);
  --border-accent: rgba(255,170,51,0.40);
  --shadow:        0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.11);
  --header-h:      64px;
  --sidebar-w:     220px;
  --radius:        10px;
  --transition:    0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

img { max-width: 100%; display: block; }

/* ── Header ───────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  padding: 0 32px;
  z-index: 100;
  box-shadow: var(--shadow);
}

#site-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

#site-header h1 span {
  color: var(--gold);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Sidebar Nav ──────────────────────────────────────────── */
#sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: var(--sidebar-w);
  height: calc(100vh - var(--header-h));
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 40px 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
}

#sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: all var(--transition);
  border: 1px solid transparent;
}

#sidebar nav a .nav-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

#sidebar nav a:hover {
  color: var(--text);
  background: var(--gold-dim);
  border-color: var(--border-accent);
}

#sidebar nav a.active {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: var(--border-accent);
  font-weight: 600;
}

#sidebar .sidebar-footer {
  margin-top: auto;
  padding: 16px 32px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ── Main Content ─────────────────────────────────────────── */
#main-content {
  margin-left: var(--sidebar-w);
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  padding: 48px;
}

/* Page sections — only active one shows */
.page { display: none; animation: fadeIn 0.35s ease; max-width: 960px; margin: 0 auto; }
.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Page Headers ─────────────────────────────────────────── */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.page-header h2 {
  font-size: 2.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.page-header .subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.gold-line {
  width: 52px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px 0 0;
}

/* ── HOME — Image Slider ──────────────────────────────────── */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder slide styling */
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.9rem;
  gap: 10px;
  border: 2px dashed var(--border);
}

.slide-placeholder .ph-icon { font-size: 3rem; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-accent);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.20);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.dot.active { background: var(--gold); transform: scale(1.25); }

.home-intro {
  max-width: 900px;
  margin: 36px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── APPS PAGE ────────────────────────────────────────────── */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.app-icon {
  width: 60px; height: 60px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.app-card-header h3 {
  font-size: 1.6rem;
  color: var(--text);
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all var(--transition);
  text-decoration: none;
}

.app-badge-play {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}

.app-badge-play:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,170,51,0.35);
}

.app-badge-web {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-accent);
}

.app-badge-web:hover {
  background: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,170,51,0.15);
}

.app-card p { color: var(--text-muted); margin-bottom: 14px; }
.app-card p:last-child { margin-bottom: 0; }

.feature-list {
  list-style: none;
  margin: 4px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.feature-list li strong { color: var(--text); font-weight: 600; }

.app-card strong { color: var(--text); font-weight: 600; }

.goal-card {
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.goal-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.goal-card p { color: var(--text-muted); }

/* FAQ */
.faq-section { margin-bottom: 16px; }

.faq-section h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }
.faq-question.open { color: var(--gold); }

.faq-chevron {
  font-size: 0.8rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--gold);
}

.faq-question.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card p { color: var(--text-muted); font-size: 0.93rem; }

.legal-notice {
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin-top: 8px;
}

.legal-notice h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}

.legal-notice p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group label .required { color: var(--gold); margin-left: 3px; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #AAA; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 15px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--gold);
  font-size: 1rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-item .ci-icon {
  width: 38px; height: 38px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item .ci-text {
  flex: 1;
}

.contact-info-item .ci-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-info-item .ci-value {
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-all;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --sidebar-w: 64px; }

  #sidebar nav a .nav-label { display: none; }
  #sidebar nav a { justify-content: center; padding: 13px; }
  #sidebar .sidebar-footer { display: none; }
  #site-header h1 span { display: none; }

  #main-content { padding: 28px 20px; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
