@font-face {
  font-family: 'Helvetica';
  src: url("../fonts/HelveticaNeueLTStd\ Cn.otf");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Legitima';
  src: url("../fonts/Legitima-Italic.ttf");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Legitima';
  src: url("../fonts/Legitima-Regular.ttf");
  font-weight: 400;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Legitima", Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1,
h2,
h3 {
  /* font-family: 'Times New Roman', serif; */
  color: #C5A572;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #C5A572;
  color: #000000;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.btn:hover {
  background-color: #9A815A;
}

.btn-outline {
  background-color: transparent;
  color: #C5A572;
  border: 1px solid #C5A572;
}

.btn-outline:hover {
  background-color: #C5A572;
  color: #000000;
}

/* Header / Hero Section */
.hero {
  height: 100vh;
  background-image: url('../img/vineyard1.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.hero p {
  font-style: italic;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 150px;
  /* margin-bottom: 2rem; */
}

/* Vineyard Section */
.vineyard {
  padding: 5rem 0;
  background-color: #1A1A1A;
  background-image: url('../img/back_1.webp');
  background-position: center;
  background-size: cover;
  background-blend-mode: difference;
}

.vineyard-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vineyard-text {
  flex: 1;
}

.vineyard-image {
  flex: 1;
}

/* Products Section */
.products {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #000000, #1A1A1A);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #1A1A1A;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  background-image: url('../img/back_2.webp');
  background-position: center;
  background-size: cover;
}

.product-image {
  height: 300px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Wine Showcase - New Design */
.wine-showcase {
  padding: 5rem 0;
  background-color: #000000;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 3rem;
  position: relative;
  color: #C5A572;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background-color: #C5A572;
}

/* Wine Tabs */
.wine-tabs-container {
  margin: 3rem 0 4rem;
  text-align: center;
}

.wine-tabs {
  display: inline-flex;
  justify-content: center;
  border-bottom: 1px solid rgba(197, 165, 114, 0.3);
  position: relative;
}

.wine-tab {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: "Legitima", Arial, sans-serif;
  font-size: 1.5rem;
  padding: 0.8rem 2.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.6;
  margin: 0 1rem;
  min-width: 180px;
}

.wine-tab:hover {
  opacity: 0.8;
  color: #C5A572;
}

.wine-tab.active {
  opacity: 1;
  color: #C5A572;
}

.wine-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #C5A572;
}

/* Wine Detail Sections */
.wine-detail {
  display: none;
  animation: fadeIn 0.8s ease;
}

.wine-detail.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Wine Hero Section */
.wine-hero {
  display: flex;
  background-color: #1A1A1A;
  min-height: 400px;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sangiovese-bg {
  background-color: #2d1a38;
}

.torrontes-bg {
  background-color: #5e4f25;
}

.wine-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/back_2.webp');
  background-position: center;
  background-size: cover;
  opacity: 0.15;
  background-blend-mode: multiply;
}

.wine-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  z-index: 1;
}

.wine-badge {
  display: inline-block;
  background-color: rgba(197, 165, 114, 0.8);
  color: #000;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  border-radius: 3px;
}

.wine-name {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #C5A572;
  line-height: 1;
}

.wine-tagline {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 300px;
}

.wine-hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 2rem;
}

.wine-hero-image img {
  max-height: 400px;
  max-width: 75%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

/* Wine Specs Section */
.wine-specs {
  padding: 3rem;
  background-color: #ffffff;
  background-image: url('../img/textures/subtle-pattern.svg');
  background-blend-mode: overlay;
  background-size: 150px;
  background-position: center;
  background-repeat: repeat;
  color: #333;
  border-radius: 10px;
  position: relative;
  margin-bottom: 4rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.wine-typography {
  position: absolute;
  top: 20px;
  right: 30px;
  color: rgba(197, 165, 114, 0.15);
  font-size: 3.5rem;
  line-height: 0.85;
  text-align: right;
  font-weight: bold;
  z-index: 0;
}

.wine-typography span {
  display: block;
}

.sangiovese-type {
  font-size: 3rem;
}

.torrontes-type {
  font-size: 2.8rem;
}

.wine-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.wine-spec-item {
  display: flex;
  flex-direction: column;
}

.wine-spec-item h4 {
  color: #C5A572;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wine-spec-item h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 1px;
  background-color: #C5A572;
}

.wine-spec-icon {
  display: none;
}

.wine-spec-item p {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

/* Wine Tasting Notes */
.wine-tasting {
  margin: 4rem 0;
  position: relative;
  z-index: 1;
}

.wine-tasting h4 {
  color: #C5A572;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wine-tasting h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #C5A572;
}

.wine-tasting-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background-color: #FFFBF4;
  background-image: url('../img/textures/paper-texture.svg');
  background-size: 200px;
  background-position: center;
  background-repeat: repeat;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.wine-tasting-notes h5 {
  color: #C5A572;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wine-tasting-notes p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.wine-cta {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.wine-cta .btn {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  background-color: #C5A572;
  color: #000;
  border: none;
  transition: all 0.3s ease;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.wine-cta .btn:hover {
  background-color: #9A815A;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(154, 129, 90, 0.4);
}

/* Press Section */
.press {
  padding: 5rem 0;
  background-color: #1A1A1A;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.press-card {
  background-color: #2A2A2A;
  padding: 2rem;
  border-radius: 8px;
}

.press-source {
  font-style: italic;
  color: #C5A572;
}

/* Trust Section */
.trust {
  padding: 5rem 0;
  background-color: #000000;
}

/* Wholesale Section */
.wholesale {
  padding: 5rem 0;
  background-color: #1A1A1A;
  background-image: url('../img/back_1.webp');
  background-position: center;
  background-size: cover;
  background-blend-mode: difference;
  text-align: center;
}

.wholesale-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.wholesale-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  width: 60%;
  height: 2px;
  background-color: #C5A572;
  transform: translateX(-50%);
}

.wholesale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.wholesale-card {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 165, 114, 0.2);
}

.wholesale-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(197, 165, 114, 0.6);
}

.wholesale-icon {
  margin-bottom: 1.5rem;
  color: #C5A572;
}

.wholesale-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.wholesale-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.wholesale-cta {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3rem;
  border-radius: 8px;
  display: inline-block;
  max-width: 700px;
  border: 1px solid rgba(197, 165, 114, 0.3);
}

.wholesale-cta p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.wholesale-cta p a {
  color: #C5A572;
  text-decoration: none;
  font-weight: bold;
}

.wholesale-cta p a:hover {
  text-decoration: underline;
}

.wholesale-cta .btn {
  font-size: 1.2rem;
  padding: 12px 30px;
}

.wholesale-flex-container {
  display: flex;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wholesale-image-container {
  flex: 0 0 40%;
  max-height: 500px;
  overflow: hidden;
}

.wholesale-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wholesale-image-container:hover .wholesale-image {
  transform: scale(1.05);
}

.wholesale-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.wholesale-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.wholesale-content p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.wholesale-content p a {
  color: #C5A572;
  text-decoration: none;
}

.wholesale-content p a:hover {
  text-decoration: underline;
}

/* Combos Section - Nueva versión */
.combos {
  padding: 5rem 0;
  background-color: #1A1A1A;
  background-image: url('../img/back_3.webp');
  background-position: center;
  background-size: cover;
  background-blend-mode: difference;
}

/* Nuevo estilo para layout horizontal */
.eshop-flex-container {
  display: flex;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.eshop-image-container {
  flex: 0 0 40%;
  max-height: 500px;
  overflow: hidden;
}

.eshop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.eshop-image-container:hover .eshop-image {
  transform: scale(1.05);
}

.eshop-content {
  flex: 0 0 60%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.eshop-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #C5A572;
}

.eshop-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-style: italic;
  max-width: 500px;
  text-align: left;
}

.btn-large {
  font-size: 1.2rem;
  padding: 12px 30px;
}

/* Trust Section */
.trust-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-logo {
  max-width: 150px;
  /* filter: grayscale(100%) brightness(200%); */
}

/* Footer */
.footer {
  background-color: #1A1A1A;
  padding: 2rem 0;
  text-align: center;
}

.footer-logo {
  width: 200px;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.footer-social a {
  color: #C5A572;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #9A815A;
}

/* Responsive Design */
@media (max-width: 768px) {
  .vineyard-content {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }
  
  /* Reglas responsivas para el layout horizontal de combos */
  .eshop-flex-container {
    flex-direction: column;
  }
  
  .eshop-image-container {
    flex: 0 0 250px;
    max-height: none;
  }
  
  .eshop-content {
    flex: 1;
    padding: 2rem;
    align-items: center;
    text-align: center;
  }
  
  .eshop-content p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .eshop-content h3 {
    font-size: 1.8rem;
  }

  .wholesale-grid {
    grid-template-columns: 1fr;
  }
  
  .wholesale-card {
    padding: 2rem 1.5rem;
  }
  
  .wholesale-title {
    font-size: 2.2rem;
  }
  
  .wholesale-cta {
    padding: 2rem;
  }
  
  .wholesale-cta p {
    font-size: 1.1rem;
  }
  
  .wholesale-flex-container {
    flex-direction: column;
  }

  .wholesale-image-container {
    flex: 1;
    max-height: 250px;
    width: 100%;
  }

  .wholesale-content {
    padding: 2rem;
    text-align: center;
    align-items: center;
  }

  .wholesale-content p {
    font-size: 1rem;
  }

  /* Wine Showcase Responsive */
  .wine-hero {
    flex-direction: column;
    height: auto;
  }
  
  .wine-hero-content {
    padding: 2rem;
    text-align: center;
    align-items: center;
  }
  
  .wine-name {
    font-size: 2.5rem;
  }
  
  .wine-tagline {
    font-size: 1.2rem;
    max-width: 100%;
  }
  
  .wine-hero-image {
    height: auto;
    padding: 1rem;
  }
  
  .wine-hero-image img {
    max-height: 300px;
  }
  
  .wine-typography {
    display: none;
  }
  
  .wine-specs {
    padding: 2rem;
  }
  
  .wine-specs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .wine-tasting-notes {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .wine-tabs-container {
    margin: 2rem 0 3rem;
    overflow-x: auto;
  }
  
  .wine-tabs {
    display: inline-flex;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    min-width: min-content;
  }
  
  .wine-tab {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    margin: 0 0.5rem;
    min-width: auto;
  }

  .section-title {
    font-size: 2.5rem;
  }
  .wine-cta{
    margin-top: 0;
  }
  .wine-tasting{
    margin-bottom: 0;
  }

  /* Mobile Scroll Header */
  .scroll-header-container {
    padding: 0 1rem;
    height: 50px;
  }
  
  .scroll-header-logo img {
    height: 25px;
  }
  
  .scroll-header-shop .btn {
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
  }
}

/* Scroll Header */
.scroll-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-header.visible {
  transform: translateY(0);
}

.scroll-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.scroll-header-logo img {
  height: 35px;
}

.scroll-header-shop .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
}