/* ============== DESIGN TOKENS - LUXURY JEWEL PALETTE ============== */
:root {
  --bg-primary: #0F0E0C;
  --bg-secondary: #1A1815;
  --bg-accent: #2A2420;

  --gold-primary: #D4AF37;
  --gold-light: #E8D4A8;
  --gold-dark: #AA8C23;

  --emerald: #2D5A4F;
  --emerald-light: #4A7C6E;
  --sapphire: #2E3F5E;
  --sapphire-light: #4A5F7F;
  --amethyst: #5A3F6B;
  --amethyst-light: #7A5F8B;

  --accent-rose: #C5786B;
  --accent-coral: #D89080;

  --text-light: #F5F3F0;
  --text-muted: #A89A8F;
  --text-dark: #2C2416;

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.5);

  --maxw: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #1F1B17 100%);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(45, 90, 79, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(46, 63, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(90, 63, 107, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: 0.3s ease;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
}

/* ============== HEADER ============== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 14, 12, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: 0.3s ease;
  padding: 10px 0;
}

header.scrolled {
  background: rgba(15, 14, 12, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo has a transparent background and light lettering, so it sits
   directly on the dark header with a soft gold glow. */
.brand-logo {
  display: block;
  background: transparent;
  padding: 0;
  border: none;
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.25));
}

.brand-logo img {
  height: 100px;
  width: auto;
  border-radius: 0;
  display: block;
}

@media (max-width: 768px) {
  .brand-logo img {
    height: 80px;
  }
}

.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.brand-text small {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: 0.3s ease;
  border: 1px solid transparent;
  background: rgba(212, 175, 55, 0);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.nav-cta {
  margin-left: 20px;
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 28px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  color: var(--bg-primary);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
}

/* ============== HERO ============== */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(180deg,
    rgba(45, 90, 79, 0.2) 0%,
    rgba(46, 63, 94, 0.1) 50%,
    var(--bg-primary) 100%);
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--gold-primary);
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  margin: 12px 0 32px;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============== TRUST STRIP ============== */
.trust {
  background: linear-gradient(90deg,
    rgba(45, 90, 79, 0.3) 0%,
    rgba(46, 63, 94, 0.2) 50%,
    rgba(90, 63, 107, 0.3) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  padding: 60px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.trust-item {
  text-align: center;
  position: relative;
  padding: 24px;
}

.trust-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.trust-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.trust-item-content {
  margin-top: 20px;
}

.trust-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  font-weight: 600;
}

/* ============== FEATURES/PRODUCTS ============== */
.features-section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(42, 36, 32, 0.6) 0%, rgba(58, 50, 44, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  cursor: pointer;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(45, 90, 79, 0.2) 0%, rgba(46, 63, 94, 0.2) 100%);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.15), 0 0 40px rgba(45, 90, 79, 0.1);
}

.feature-card:hover::before {
  top: -30%;
  right: -30%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: 0.3s ease;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(45, 90, 79, 0.3);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

/* ============== GALLERY ============== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  transition: 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============== FOOTER ============== */
footer {
  background: linear-gradient(180deg,
    var(--bg-accent) 0%,
    var(--bg-secondary) 50%,
    var(--bg-primary) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin-top: 100px;
  padding: 80px 0 40px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.3) 50%,
    transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--gold-primary);
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  display: block;
  margin: 10px 0;
  transition: 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============== ADMIN PANEL ============== */
#admin-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 40px 20px;
}

#admin-panel.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-container {
  background: var(--bg-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-header h2 {
  color: var(--gold-primary);
}

.admin-close {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.admin-close:hover {
  color: var(--gold-light);
}

.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.admin-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.admin-tab.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.admin-content {
  display: none;
}

.admin-content.active {
  display: block;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
}

.admin-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

.admin-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

.admin-info {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ============== GOOGLE MAP (fills the website's map area) ============== */
#maps-container iframe {
  display: block;
  width: 100% !important;
  height: 450px !important;
  border: 0;
}

@media (max-width: 768px) {
  #maps-container iframe {
    height: 320px !important;
  }
}

/* ============== INSTAGRAM EMBEDS (live posts from Instagram) ============== */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

/* Instagram's embed renders on a white card, so the frame keeps it tidy */
.ig-embed {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
}

.ig-embed:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 16px 44px rgba(212, 175, 55, 0.18);
}

.ig-embed iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
}

@media (max-width: 768px) {
  .ig-grid {
    grid-template-columns: 1fr;
  }

  .ig-embed iframe {
    min-height: 580px;
  }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-container {
    padding: 24px;
    max-width: 90vw;
  }
}
