:root {
  --navy: #0d1b2e;
  --navy-deep: #080f1a;
  --navy-mid: #152238;
  --navy-light: #1e3050;
  --royal-blue: #1e4080;
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --gold-bright: #dbc492;
  --gold-dark: #a88b4a;
  --cream: #f5f0e6;
  --cream-dark: #e8e0d0;
  --text: #0d1b2e;
  --text-muted: #5a6a7e;
  --text-on-dark: #e8d5a8;
  --text-muted-dark: rgba(232, 213, 168, 0.65);
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(8, 15, 26, 0.15);
  --shadow-lg: 0 12px 48px rgba(8, 15, 26, 0.25);
  --shadow-gold: 0 4px 24px rgba(201, 169, 110, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden { display: none !important; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 15, 26, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
}

.logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.3);
}

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

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-icon { font-size: 1.4rem; line-height: 1; }

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-text p {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  text-decoration: none;
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover { color: var(--gold-bright); }

.nav-admin {
  font-size: 1.1rem !important;
  opacity: 0.5;
  text-transform: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gold);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  background: var(--navy-deep);
}

.mobile-nav a {
  text-decoration: none;
  color: var(--gold-light);
  font-weight: 500;
  padding: 0.5rem 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(30, 64, 128, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 40%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
}

.hero-sunburst {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translate(0, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(201, 169, 110, 0.04) 0deg 8deg,
    transparent 8deg 16deg
  );
  pointer-events: none;
  opacity: 0.6;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 560px;
}

.hero-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gold-dark);
  margin-bottom: 1.5rem;
}

.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero-content > p {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-logo-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-ring {
  position: relative;
  width: min(340px, 80vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(201, 169, 110, 0.15);
  border: 2px solid rgba(201, 169, 110, 0.3);
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold-dark));
  z-index: -1;
  opacity: 0.4;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(201, 169, 110, 0.5);
}

.btn-outline:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  text-transform: none;
  letter-spacing: 0.02em;
  border-radius: 100px;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.hero-rate {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

.hero-rate strong {
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-display);
}

/* Sections */
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.6rem auto 0;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.categories {
  padding: 5rem 0;
  background: var(--cream);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(13, 27, 46, 0.15);
  background: var(--white);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 169, 110, 0.15);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-card::after {
  content: 'Order on WhatsApp →';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 27, 46, 0.92));
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2rem 1rem 0.75rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  letter-spacing: 0.04em;
}

.product-card:hover::after { opacity: 1; }

.product-swatch {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--cream) !important;
}

.product-swatch .swatch-color {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(201, 169, 110, 0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-swatch .product-icon {
  font-size: 3rem;
}

.product-info {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.product-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.product-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-price strong {
  color: var(--royal-blue);
  font-size: 1rem;
  font-family: var(--font-display);
}

/* Services */
.services {
  padding: 5rem 0;
  background: var(--navy);
}

.services .section-head h2 {
  color: var(--gold-light);
}

.services .section-head p {
  color: var(--text-muted-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 169, 110, 0.2);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.service-card p {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-rate {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.service-rate strong {
  font-size: 1.5rem;
  color: var(--gold);
  font-family: var(--font-display);
}

.service-rate span {
  color: var(--text-muted-dark);
  font-size: 0.85rem;
}

.service-cta {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* About */
.about {
  padding: 5rem 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-features {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.about-features li::before {
  content: '☬';
  color: var(--gold-dark);
  font-size: 0.9rem;
}

.about-card-inner {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.about-card-inner h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.about-card-inner ol {
  padding-left: 1.25rem;
}

.about-card-inner li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--text-muted-dark);
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: var(--navy-deep);
  text-align: center;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.contact h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.contact p {
  color: var(--text-muted-dark);
  margin-bottom: 1.75rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.social-links a:hover { opacity: 1; color: var(--gold-bright); }

/* Footer */
.footer {
  padding: 1.5rem 0;
  background: #050a12;
  color: rgba(232, 213, 168, 0.5);
  font-size: 0.8rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.footer a:hover { color: var(--gold); }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
  padding: 0.875rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Admin styles */
.admin-page {
  min-height: 100vh;
  background: var(--cream);
  padding: 2rem 0 4rem;
}

.admin-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.admin-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.admin-header p {
  color: var(--text-muted);
}

.admin-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

.admin-back:hover { color: var(--navy); }

.admin-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.admin-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
  letter-spacing: 0.03em;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rate-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.rate-item:last-child { border-bottom: none; }

.rate-item label {
  font-weight: 500;
  font-size: 0.9rem;
}

.rate-item input {
  width: 100px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font-body);
  text-align: right;
}

.rate-item .unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 60px;
}

.logo-preview {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  border: 2px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--navy-deep);
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-preview .placeholder-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
}

.btn-save {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: all 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-save:hover {
  background: var(--navy-mid);
  border-color: var(--gold);
}

.save-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-panel {
    order: 1;
  }

  .hero-logo-ring {
    width: min(260px, 70vw);
  }

  .hero-sunburst {
    right: 50%;
    transform: translate(50%, -50%);
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav:not(.hidden) { display: flex; }
  .brand-text h1 { font-size: 0.95rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .rate-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .rate-item input { width: 100%; }
}
