@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap";
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica Neue, Arial, sans-serif;
  margin: 0;
  background-color: #fdfdfd;
  color: #333;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  overflow-x: hidden;
}
body.loaded {
  opacity: 1;
}
body.mobile-nav-open {
  overflow: hidden;
}
h1,
h2,
h3 {
  font-family: Playfair Display, serif;
}
a {
  color: #8b0000;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: brown;
}
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.mobile-nav-open .page-overlay {
  opacity: 1;
  visibility: visible;
}
header {
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease,
    box-shadow 0.3s ease;
}
header.scrolled {
  background-color: #fffffff2;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px #0000001a;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link {
  margin-right: auto;
}
.logo {
  height: 60px;
  transition: transform 0.3s ease;
  z-index: 1001;
}
.logo:hover {
  transform: scale(1.05);
}
.nav-right {
  display: flex;
  align-items: center;
  margin-left: -50px;
}
.desktop-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}
.desktop-nav a {
  color: #fff;
  font-weight: 700;
  position: relative;
  padding-bottom: 5px;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  background-color: #8b0000;
  transition: width 0.3s ease;
}
.desktop-nav a:hover:after {
  width: 100%;
}
header.scrolled .desktop-nav a {
  color: #333;
}
.lang-switch {
  font-weight: 700;
  color: #fff;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
  z-index: 1001;
  margin-left: 8.5rem;
}
.lang-switch:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  background-color: #8b0000;
  transition: width 0.3s ease;
}
.lang-switch:hover:after {
  width: 100%;
}
header.scrolled .lang-switch {
  color: #333;
}
.mobile-lang-switch {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #555;
}
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  margin-left: 1rem;
}
.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}
header.scrolled .mobile-nav-toggle span {
  background-color: #333;
}
.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translate(0);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  box-shadow: -5px 0 15px #0000001a;
}
.mobile-nav.open {
  transform: translate(-300px);
}
.mobile-nav a {
  color: #333;
  font-size: 1.5rem;
  margin: 1.5rem 0;
  text-decoration: none;
}
#hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.hero-slide:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#0000004d, #0000004d);
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-content {
  animation: fadeIn 1s ease-in-out;
  position: relative;
  z-index: 2;
}
#hero h1 {
  font-size: 4.5rem;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
#hero p {
  font-size: 1.5rem;
  margin: 1rem 0 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  max-width: 600px;
}
.btn {
  background-color: #8b0000;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.btn:hover {
  background-color: brown;
  transform: translateY(-3px);
  text-decoration: none;
}
.scroll-down {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 2;
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  margin-bottom: 5rem;
  padding-top: 80px;
}
section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
#about {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#about p {
  line-height: 1.8;
}
#identity {
  text-align: center;
}
.identity-content {
  display: flex;
  justify-content: space-around;
  gap: 4rem;
  margin-top: 2rem;
  align-items: flex-start;
}
.identity-item {
  flex-basis: 45%;
  text-align: center;
}
.identity-image {
  max-width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}
.identity-item h3 {
  margin-bottom: 1rem;
}
.identity-item p {
  text-align: left;
  line-height: 1.8;
}
#wines {
  max-width: 100%;
}
#wines > p {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.wine-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.tab-link {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: #999;
  position: relative;
  transition: color 0.3s ease;
}
.tab-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 50%;
  transform: translate(-50%);
  background-color: #8b0000;
  transition: width 0.3s ease;
}
.tab-link.active,
.tab-link:hover {
  color: #333;
}
.tab-link.active:after {
  width: 100%;
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}
.tab-content.active {
  display: block;
}
.tab-content > p {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.wine-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8rem;
  margin-top: 2rem;
  min-height: 500px;
}
.wine-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wine-item img {
  width: 250px;
  height: 400px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wine-item img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px #00000026;
}
.wine-item h4 {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  color: #555;
  padding: 0 1rem;
  margin-top: 1rem;
  max-width: 250px;
  white-space: normal;
}
#contact {
  text-align: center;
}
@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }
  .desktop-nav,
  .desktop-lang-switch {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  #hero {
    height: 60vh;
  }
  #hero h1 {
    font-size: 3rem;
  }
  #hero p {
    font-size: 1.2rem;
    margin: 0.5rem 0 1.5rem;
  }
  .identity-content {
    flex-direction: column;
    gap: 2rem;
  }
  .identity-item {
    flex-basis: 100%;
  }
  .wine-tabs {
    flex-direction: column;
    gap: 1rem;
  }
  .wine-images {
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
  }
  .wine-item img {
    width: 200px;
    height: 320px;
  }
}
footer {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  background-color: #333;
  color: #fff;
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #8b0000;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px #0003;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s,
    background-color 0.3s;
  z-index: 1000;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: brown;
}
.back-to-top svg {
  width: 24px;
  height: 24px;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  to {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@media (max-width: 992px) {
  .wine-images {
    gap: 1.5rem;
  }
  .wine-item img {
    width: 200px;
    height: 320px;
  }
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  header {
    padding: 1rem;
  }
  header.scrolled {
    padding: 0.8rem 1rem;
  }
  nav {
    padding: 0;
  }
  .logo-link {
    margin-right: 0;
  }
  .lang-switch {
    display: none;
  }
  .mobile-lang-switch {
    display: block;
  }
  #hero h1 {
    font-size: 2.8rem;
  }
  #hero p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  section {
    padding-top: 60px;
  }
  section h2 {
    font-size: 2rem;
  }
  .identity-content {
    flex-direction: column;
    gap: 2rem;
  }
  .wine-images {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .wine-item h4 {
    white-space: normal;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 0 1rem;
  }
  .wine-tabs {
    gap: 0.5rem;
  }
  .tab-link {
    font-size: 1rem;
    padding: 0.5rem;
  }
  header {
    padding: 1rem 1.5rem;
  }
  
  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content/Gallery */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    padding-top: 50px;
    text-align: center;
}

/* The Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
