/* ========================================
   CAVES À VIN DE LUXE - STYLE.CSS
   Design Premium : Noir / Anthracite / Doré
   ======================================== */

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

/* === VARIABLES CSS === */
:root {
  --color-black: #0A0A0A;
  --color-anthracite: #1A1A1A;
  --color-anthracite-light: #2B2B2B;
  --color-gold: #D4AF37;
  --color-gold-light: #E5C158;
  --color-gold-dark: #B8941F;
  --color-gray: #8A8A8A;
  --color-gray-light: #C0C0C0;
  --color-white: #FFFFFF;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  font-weight: 300;
  margin-bottom: 1rem;
}

/* === CONTENEURS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-anthracite-light);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-gray-light);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-anthracite-light);
}

.lang-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray);
  text-transform: uppercase;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--color-gold);
}

.lang-separator {
  color: var(--color-gray);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-gold);
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.5));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-gray-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

/* === SECTIONS === */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section-title .underline {
  width: 80px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto;
}

.section-subtitle {
  color: var(--color-gray-light);
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  position: relative;
  background: var(--color-anthracite);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 1.5rem;
  position: relative;
}

.card-title {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.card-description {
  color: var(--color-gray-light);
  font-size: 0.9375rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* === ABOUT SECTION === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text .underline {
  width: 80px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--color-gray-light);
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* === CAVE DETAIL PAGE === */
.cave-detail {
  padding-top: 6rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

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

.cave-hero {
  width: 100%;
  height: 60vh;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3rem;
}

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

.cave-content h1 {
  margin-bottom: 1rem;
}

.cave-subtitle {
  color: var(--color-gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.underline {
  width: 80px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 2rem;
}

.cave-description {
  color: var(--color-gray-light);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.cave-features {
  background: var(--color-anthracite);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--color-anthracite-light);
  margin-bottom: 3rem;
}

.cave-features h3 {
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-gray-light);
}

.features-list li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.25rem;
}

/* === GALLERY === */
.gallery-title {
  margin-bottom: 2rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
}

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

/* === CONTACT FORM === */
.contact-section {
  background: var(--color-anthracite);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-gray-light);
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-anthracite-light);
  border: 1px solid var(--color-anthracite-light);
  border-radius: 4px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

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

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

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* === FOOTER === */
.footer {
  background: var(--color-anthracite);
  border-top: 1px solid var(--color-anthracite-light);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-love {
  color: var(--color-gray);
  font-size: 0.875rem;
}

.footer-love .heart {
  color: var(--color-gold);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn 0.8s ease;
}

.fade-in-up {
  animation: fadeInUp 1s ease;
}

/* Hero petit (pour pages intérieures) */
.hero-small {
  background: var(--anthracite);
  padding: 120px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Détail cave */
.cave-detail {
  padding: 80px 0;
}

.cave-main-image {
  margin-bottom: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cave-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cave-description {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.cave-description p {
  margin-bottom: 24px;
}

.cave-features {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 40px;
  background: var(--anthracite);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.cave-features h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.features-list li {
  padding: 12px 20px;
  background: rgba(212, 175, 55, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.95rem;
}

.cave-gallery {
  margin-bottom: 60px;
}

.cave-gallery h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 32px;
  text-align: center;
}

.cave-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cave-navigation {
    flex-direction: column;
  }
  
  .cave-features {
    padding: 30px 20px;
  }
  
  .features-list {
    grid-template-columns: 1fr;
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  /* Navigation mobile */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
  }
  
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  
  /* About section */
  .about-content {
    grid-template-columns: 1fr;
  }
  
  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Features list */
  .features-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}
