/* =============================================
   NICOLAE ZOLTAN — Photographe & Vidéaste
   style.css — Thème sombre / clair + couleurs
   ============================================= */

/* ── THÈME SOMBRE (défaut) ── */
:root {
  --bg:           #0a0a0a;
  --bg-alt:       #0d0d0d;
  --card:         #111111;
  --card-hover:   #181818;
  --fg:           #f5f2ed;
  --fg-muted:     #888888;
  --border:       rgba(255,255,255,0.08);
  --border-soft:  rgba(255,255,255,0.06);
  --gold:         #c9a96e;
  --gold-light:   #e8c98a;
  --teal:         #4ecdc4;
  --coral:        #e8715a;
  --violet:       #a78bfa;
  --nav-scroll:   rgba(10,10,10,0.97);
  --nav-grad:     rgba(10,10,10,0.95);
  --contact-bg:   #111111;
  --contact-fg:   #f5f2ed;
  --contact-border: rgba(255,255,255,0.1);
  --footer-bg:    #050505;
  --transition:   0.4s cubic-bezier(0.4,0,0.2,1);
}

/* ── THÈME CLAIR ── */
[data-theme="light"] {
  --bg:           #f0ebe3;
  --bg-alt:       #e8e1d6;
  --card:         #ffffff;
  --card-hover:   #f9f5ef;
  --fg:           #1a1410;
  --fg-muted:     #7a6e62;
  --border:       rgba(0,0,0,0.08);
  --border-soft:  rgba(0,0,0,0.06);
  --nav-scroll:   rgba(240,235,227,0.97);
  --nav-grad:     rgba(240,235,227,0.95);
  --contact-bg:   #1a1410;
  --contact-fg:   #f0ebe3;
  --contact-border: rgba(255,255,255,0.12);
  --footer-bg:    #1a1410;
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
  transition: background var(--transition), color var(--transition);
}

/* =============================================
   CURSEUR
   ============================================= */
.cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

/* =============================================
   BOUTON SWITCH THÈME
   ============================================= */
.theme-toggle { position: relative; width: 52px; height: 28px; flex-shrink: 0; }
.theme-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.theme-toggle-track {
  position: absolute; inset: 0;
  background: #2a2a2a;
  border-radius: 28px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  font-size: 0.7rem;
}
[data-theme="light"] .theme-toggle-track { background: var(--gold); }

.theme-toggle-track::before {
  content: '';
  position: absolute; left: 3px;
  width: 22px; height: 22px;
  background: var(--fg);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
  z-index: 1;
}
.theme-toggle input:checked + .theme-toggle-track::before { transform: translateX(24px); }

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100; padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(to bottom, var(--nav-grad), transparent);
  transition: background var(--transition);
}
nav.scrolled { background: var(--nav-scroll); backdrop-filter: blur(12px); }

.nav-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem;
  letter-spacing: 0.12em; color: var(--gold); text-decoration: none;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Space Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-muted); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 28px; height: 1.5px; background: var(--fg); transition: all 0.3s; }

/* =============================================
   MENU MOBILE
   ============================================= */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--bg); flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
  transition: background var(--transition);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif; font-size: 3rem;
  letter-spacing: 0.1em; color: var(--fg); text-decoration: none;
  opacity: 0; animation: fadeUp 0.5s forwards; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a:nth-child(2) { animation-delay: 0.05s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.1s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.15s; }
.mobile-menu a:nth-child(5) { animation-delay: 0.2s; }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-family: 'Space Mono', monospace; font-size: 0.7rem;
  color: var(--fg-muted); cursor: pointer; letter-spacing: 0.2em;
  background: none; border: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  position: relative; overflow: hidden; text-align: center;
}
.hero-texture {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.3; pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal), var(--violet), var(--coral));
  background-size: 300% 100%;
  animation: gradientSlide 5s linear infinite;
}
@keyframes gradientSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}
.hero-tag {
  font-family: 'Space Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 16vw, 14rem);
  line-height: 0.88; letter-spacing: -0.01em; color: var(--fg);
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title span {
  display: block;
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
}
.hero-subtitle {
  font-family: 'Space Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-muted);
  margin-top: 32px; opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-subtitle .c-coral  { color: var(--coral); }
.hero-subtitle .c-teal   { color: var(--teal); }
.hero-subtitle .c-violet { color: var(--violet); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.hero-scroll span {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.25em; color: var(--fg-muted);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* =============================================
   SECTIONS BASE
   ============================================= */
section { padding: 120px 48px; }

.section-label {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1; letter-spacing: 0.02em; color: var(--fg);
}
.h-teal   { color: var(--teal); }
.h-coral  { color: var(--coral); }
.h-gold   { color: var(--gold); }
.h-violet { color: var(--violet); }

/* =============================================
   À PROPOS
   ============================================= */
#about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg); transition: background var(--transition);
}
.about-visual {
  position: relative; aspect-ratio: 4/5;
  background: var(--card); overflow: hidden;
  transition: background var(--transition);
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
}
.about-visual::after {
  content: ''; position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--gold), var(--coral));
}
.about-visual-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 8rem;
  color: var(--gold); opacity: 0.05; letter-spacing: 0.1em;
}
.about-visual-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: var(--gold); color: #1a1410;
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 16px; line-height: 1.8; font-weight: 700;
}
.about-content p {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--fg-muted); margin-bottom: 24px; font-weight: 300;
}
.t-gold   { color: var(--gold);   font-weight: 500; }
.t-teal   { color: var(--teal);   font-weight: 500; }
.t-coral  { color: var(--coral);  font-weight: 500; }
.t-violet { color: var(--violet); font-weight: 500; }

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 48px; border-top: 1px solid var(--border); padding-top: 40px;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--fg-muted); text-transform: uppercase; margin-top: 4px;
}

/* =============================================
   SERVICES
   ============================================= */
#services {
  border-top: 1px solid var(--border);
  background: var(--bg-alt); transition: background var(--transition);
}
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 80px;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.service-card {
  background: var(--card); padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: background var(--transition), transform 0.3s;
  cursor: pointer;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { background: var(--card-hover); transform: translateY(-3px); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-name { transition: color 0.3s; }

.service-card:nth-child(1)::after,
.service-card:nth-child(5)::after { background: var(--gold); }
.service-card:nth-child(2)::after { background: var(--coral); }
.service-card:nth-child(3)::after { background: var(--teal); }
.service-card:nth-child(4)::after { background: var(--violet); }
.service-card:nth-child(6)::after { background: var(--coral); }

.service-card:nth-child(1):hover .service-name,
.service-card:nth-child(5):hover .service-name { color: var(--gold); }
.service-card:nth-child(2):hover .service-name { color: var(--coral); }
.service-card:nth-child(3):hover .service-name { color: var(--teal); }
.service-card:nth-child(4):hover .service-name { color: var(--violet); }
.service-card:nth-child(6):hover .service-name { color: var(--coral); }

.service-icon { font-size: 2rem; margin-bottom: 24px; display: block; }
.service-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem;
  letter-spacing: 0.05em; margin-bottom: 16px; line-height: 1; color: var(--fg);
}
.service-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.7; font-weight: 300; }
.service-price {
  margin-top: 32px; font-family: 'Space Mono', monospace;
  font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em;
}
.drone-badge {
  display: inline-block; background: var(--gold); color: #1a1410;
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px; margin-left: 8px; vertical-align: middle; font-weight: 700;
}

/* =============================================
   TARIFS
   ============================================= */
#tarifs {
  border-top: 1px solid var(--border);
  background: var(--bg); transition: background var(--transition);
}
.tarifs-tabs {
  display: flex; margin: 48px 0;
  border-bottom: 1px solid var(--border); overflow-x: auto;
}
.tab-btn {
  font-family: 'Space Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-muted); background: none; border: none;
  padding: 16px 32px; cursor: pointer; transition: color 0.3s;
  position: relative; white-space: nowrap;
}
.tab-btn::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}
.tab-btn.active { color: var(--gold); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp 0.4s ease; }
.tarif-list { list-style: none; }
.tarif-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border-soft); font-size: 0.9rem;
}
.tarif-item:last-child { border-bottom: none; }
.tarif-name { color: var(--fg-muted); font-weight: 300; }
.tarif-price {
  font-family: 'Space Mono', monospace; font-size: 0.8rem;
  color: var(--teal); font-weight: 700;
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
  border-top: 1px solid var(--border);
  background: var(--contact-bg); color: var(--contact-fg);
  transition: background var(--transition), color var(--transition);
}
#contact .section-label { color: var(--gold); }
#contact .section-title { color: var(--contact-fg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 64px;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding-bottom: 32px; border-bottom: 1px solid var(--contact-border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 40px; height: 40px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-item-label {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.contact-item-value { font-size: 0.95rem; color: var(--contact-fg); font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
}
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--contact-border);
  color: var(--contact-fg); padding: 14px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.3s; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold); }
.form-textarea { resize: none; height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: #1a1410; color: #f0ebe3; }

.btn-submit {
  background: var(--gold); color: #1a1410; border: none;
  padding: 18px 40px; font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.15em; cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start; margin-top: 8px; font-weight: 700;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

.form-success {
  display: none; background: var(--teal); color: #0a0a0a;
  padding: 20px 24px; font-family: 'Space Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.1em; margin-top: 16px; font-weight: 700;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--footer-bg); border-top: 1px solid rgba(201,169,110,0.2);
  padding: 40px 48px; display: flex; justify-content: space-between;
  align-items: center; transition: background var(--transition);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem;
  letter-spacing: 0.15em; color: var(--gold);
}
.footer-copy {
  font-family: 'Space Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.3);
}
.footer-social { display: flex; gap: 24px; list-style: none; }
.footer-social a {
  font-family: 'Space Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.4);
  text-decoration: none; text-transform: uppercase; transition: color 0.3s;
}
.footer-social a:hover { color: var(--gold); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* =============================================
   REVEAL
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 80px 24px; }
  #about { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { aspect-ratio: 3/2; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 24px; text-align: center; }
}
