/* ========================================
   DAR BOURAOUI CARTHAGE — index.css
   Gold · Black · Cream luxury theme
======================================== */

/* ---- CSS VARIABLES ---- */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #9A7A30;
  --dark:       #0A0A0A;
  --dark-2:     #111111;
  --dark-3:     #1A1A1A;
  --dark-4:     #242424;
  --cream:      #F5F0E8;
  --cream-2:    #EDE6D6;
  --text:       #D4CFC6;
  --text-muted: #888780;

  --ff-heading: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --nav-h:   80px;
  --radius:  4px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--ff-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ================================
   NAVBAR
================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  background: linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, transparent 100%);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(201,168,76,0.08);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--cream);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,240,232,0.4);
}

.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(245,240,232,0.06);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  font-size: 0.72rem;
  padding: 0.65rem 1.5rem;
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 0.85rem;
  padding: 1.1rem 2.8rem;
}

/* ================================
   SCROLL REVEAL
================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   SECTION COMMON
================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.section-note a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}

.gold-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ================================
   HERO
================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero_bg.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 12s ease;
  will-change: transform;
}

.hero-bg.zoomed {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.55) 50%,
    rgba(10,10,10,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: 1rem;
  max-width: 820px;
}

.hero-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: var(--ff-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream-2);
  opacity: 0.85;
  margin-bottom: 2rem;
}

.hero-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Staggered reveal for hero items */
.hero-content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.55s; }
.hero-content .reveal:nth-child(5) { transition-delay: 0.7s; }

/* ================================
   ABOUT
================================ */
.about {
  padding: 8rem 0;
  background: var(--dark-2);
}

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

.about-text p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-text strong { color: var(--cream); }

.about-quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.about-quote q {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-light);
  quotes: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 4px 24px rgba(201,168,76,0.08);
}

.stat-number {
  display: block;
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number sup {
  font-size: 1.4rem;
  vertical-align: super;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ================================
   ESPACES (VENUES)
================================ */
.espaces {
  padding: 8rem 0;
  background: var(--dark);
}

.venues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.venue-card {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.venue-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.08);
}

.venue-card--wide {
  grid-column: 1 / -1;
}

/* ---- Venue image placeholder ---- */
.venue-img {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.venue-card--wide .venue-img {
  height: 280px;
}

.venue-img--megara  { background: linear-gradient(135deg, #1a0a2e 0%, #2d1051 40%, #4a1a7a 100%); }
.venue-img--yani    { background: linear-gradient(135deg, #1a1000 0%, #3d2800 40%, #6b4400 100%); }
.venue-img--malaga  { background: linear-gradient(135deg, #001a10 0%, #003020 40%, #005030 100%); }
.venue-img--garden  { background: linear-gradient(135deg, #051a05 0%, #0a2e0a 40%, #153d15 100%); }
.venue-img--rustic  { background: linear-gradient(135deg, #1a0f00 0%, #2e1800 40%, #4a2a00 100%); }

/* Decorative light effect */
.venue-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(201,168,76,0.18) 0%, transparent 65%);
}

.venue-img-overlay {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
}

.venue-capacity {
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

.venue-placeholder-text {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(201,168,76,0.35);
  text-align: center;
  position: relative;
  z-index: 1;
  /* Replace with your images — see instructions below */
}

/* ---- When images are added, replace .venue-img--megara etc. background
   with: background-image: url('images/megara.jpg'); background-size: cover;
   and remove the .venue-placeholder-text ---- */

.venue-body {
  padding: 1.75rem;
}

.venue-name {
  font-family: var(--ff-heading);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.venue-type {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.venue-features {
  margin-bottom: 1.5rem;
}

.venue-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.venue-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.venue-price-range {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.price-from {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-value {
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 300;
}

/* Rustic formulas */
.rustic-formulas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.formula {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.formula-name {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.formula-price {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--gold);
}

.formula-price del {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-right: 0.4rem;
}

/* ================================
   TARIFS
================================ */
.tarifs {
  padding: 8rem 0;
  background: var(--dark-2);
}

.tarif-accordion {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.tarif-accordion.open {
  border-color: rgba(201,168,76,0.3);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.accordion-trigger:hover {
  background: rgba(201,168,76,0.04);
}

.acc-title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.acc-icon {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.tarif-accordion.open .acc-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel.open {
  max-height: 600px;
}

.tarif-table-wrapper {
  padding: 0 2rem 1.5rem;
  overflow-x: auto;
}

.tarif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.tarif-table th {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  text-align: left;
  font-weight: 500;
}

.tarif-table td {
  padding: 0.8rem 1rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tarif-table tr:last-child td { border-bottom: none; }

.tarif-table tr.highlight td {
  background: rgba(201,168,76,0.06);
  color: var(--cream);
}

.tarif-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.gold-text { color: var(--gold) !important; font-weight: 500; }

.tarif-note {
  padding: 0 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================================
   CONTACT
================================ */
.contact {
  position: relative;
  padding: 8rem 0;
  background: var(--dark);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.location-note {
  margin-top: 0.4rem;
  font-size: 0.75rem !important;
  font-style: italic;
}

.contact-link {
  display: block;
  color: var(--cream);
  font-size: 0.92rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.contact-link:hover { color: var(--gold); }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 2px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.social-link.facebook {
  color: #90b0e8;
  border: 1px solid rgba(144,176,232,0.25);
}

.social-link.instagram {
  color: #e0a0c0;
  border: 1px solid rgba(224,160,192,0.25);
}

.social-link:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-text {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cream);
  margin-bottom: 1.75rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ================================
   FOOTER
================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.footer-slogan {
  font-family: var(--ff-heading);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.72rem;
  color: rgba(136,135,128,0.5);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid   { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link, .nav-link.nav-cta {
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-toggle { display: flex; }

  .about-grid       { grid-template-columns: 1fr; }
  .venues-grid      { grid-template-columns: 1fr; }
  .venue-card--wide { grid-column: auto; }
  .contact-grid     { grid-template-columns: 1fr; }
  .rustic-formulas  { flex-direction: column; }

  .accordion-trigger { padding: 1.25rem 1.25rem; }
  .tarif-table-wrapper { padding: 0 1rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
}
