/* ===== VARIABLES & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --light: #FFF8F1;
  --header: #5c000a;
  --titles: #5A3E2B;
  --accent: #8B2E3C;
  --dark: #1F1F1F;
  --darker: #1F1F1F;
  --text: #3A3A3A;
  --clear-text:#FFFFFF;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

/* ===== NAV ===== */
nav {
  background: var(--header);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: 'Lato', serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.2;
  color: var(--clear-text);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 1rem 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  color: var(--clear-text);
  text-decoration: none;
  padding: 1.1rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clear-text);
  font-weight: bolder;
  background: rgba(225, 92, 107, 0.1);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--accent);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(107,45,62,0.4) 0%, transparent 50%),
              radial-gradient(ellipse at 40% 60%, rgba(201,168,76,0.15) 0%, transparent 90%);
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.logo-wrapper {
  margin: 0 auto 2rem;
  width: 250px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-wrapper img {
  width: auto;
  height: 60%;
  object-fit: contain;
  object-position: 0px -10px;
}

/* ===== CAROUSEL ===== */
.carousel-section {
  padding: 2rem 0 1rem;
}

.carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-wrapper h2 {
  padding-left: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 100%;
  aspect-ratio: 16/9;
  background: var(--darker);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201,168,76,0.2);
  border: 1px solid;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover { background: rgba(44,26,14,0.7); }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1.2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--darker);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ===== SECTIONS ===== */
.info-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.info-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 16px rgba(44,26,14,0.08);
}

.info-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-card h2 .icon { font-size: 1.1rem; }

.info-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

.info-card a {
  color: var(--accent);
  text-decoration: none;
}

.info-card a:hover { text-decoration: underline; }

/* ===== MAP ===== */
.map-section {
  max-width: 860px;
  margin: 0 auto;
}

.map-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.map-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(44,26,14,0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ===== PAGE HEADER ===== */
.page-header {
  color: var(--dark);
  text-align: center;
  padding: 3.5rem 2rem 3rem;
  background: radial-gradient(ellipse at 10% 50%, #FBF9F2 0%, transparent 95%),
              radial-gradient(ellipse at 70% 30%, rgba(107,45,62,0.5) 0%, transparent 95%);
  border-bottom: 1px solid var(--accent);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text);
}

.page-header h1 em { color: var(--accent); font-style: italic; }

.page-header p {
  color: var(--dark);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ===== WINE CATALOGUE ===== */
.wine-catalogue-wrapper {
  padding-top: 2rem;
  width: auto;
  /* background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.8) 80%,
      #FFFFFF 100%
    ),
    linear-gradient(
      to right,
      #FDFCFA 0%,
      #ECE3E6 100%
    ); */
}

.wine-catalogue {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wine-category {
  margin-bottom: 2rem;
}

.wine-category h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wine-list {
  display: grid;
  gap: 1rem;
}

.wine-item {
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 1px 8px rgba(44,26,14,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 3px solid transparent;
}

.wine-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(44,26,14,0.12);
}

.wine-item.blanc { border-left-color: #f5e6b0; }
.wine-item.rouge { border-left-color: #a71a3b; }
.wine-item.rose  { border-left-color: #e8a4b8; }

.wine-thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.wine-info { flex: 1; }

.wine-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: capitalize;
}

.wine-info .variete {
  font-size: 0.8rem;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wine-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.price-note {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  color: var(--text);
  display: block;
  text-align: right;
  font-weight: 400;
}

/* ===== FOOTER ===== */
footer {
  color: var(--text);
  text-align: center;
  padding: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

footer strong { color: #5A3E2B; font-weight: 400; }

footer  a { color: var(--accent)}

@media (max-width: 600px) {
  nav { flex-direction: column; padding: 0; }
  .nav-logo { padding: 0.8rem 1rem; font-size: 1.1rem; }
  .nav-links { width: 100%; justify-content: stretch; }
  .nav-links li { flex: 1; }
  .nav-links a { text-align: center; padding: 0.75rem 0.5rem; font-size: 0.75rem; }

  .hero { padding: 3rem 1.2rem 2.5rem; }
  .logo-wrapper {
    width: 140px;
    height: 80px; 
  }
  .logo-wrapper img { object-position: 0 -5px; }

  .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }

  .info-grid { grid-template-columns: 1fr; }
  .info-section { padding: 2.5rem 1.2rem; }
  .map-section { padding: 0 1.2rem 2.5rem; }
  .map-frame iframe { height: 260px; }

  .wine-catalogue {
    padding: 0 1.2rem;
    
  }
  .wine-item { gap: 1rem; padding: 1rem; }
  .wine-thumb { width: 52px; height: 52px; }
  .wine-info h3 { font-size: 1rem; }
  .wine-price { font-size: 1rem; }

  footer { min-width: 10px;}
}
