/* Reset and Base Styles */
html {
  font-size: 62.5%; /* Sets 1rem to 10px */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Garamond", "Times New Roman", serif;
}

:root {
  --primary: #8a0f1e;
  --primary-dark: #3a0106;
  --secondary: #e6dedd;
  --accent: #d4a152;
  --accent-light: #f0c27b;
  --text: #f0f0f0;
  --light-bg: #1e1e1e;
  --dark-bg: #0f0f0f;
  --card-bg: #1c1c1c;
  --off-white: #f8f8f8;
  --gradient-primary: linear-gradient(135deg, #8a0f1e 0%, #b72a38 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1e1e1e 100%);
  --gradient-accent: linear-gradient(135deg, #d4a152 0%, #f0c27b 100%);
}

body {
  color: var(--text);
  line-height: 1.6;
  background: var(--gradient-dark);
  font-size: 1.6rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

h2 {
  font-size: 3.2rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--gradient-accent);
}

p {
  margin-bottom: 1.6rem;
  font-size: 1.6rem;
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--off-white);
  padding: 1.2rem 3rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(138, 15, 30, 0.3);
}

.btn:hover:before {
  left: 0;
}

.btn:hover {
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 161, 82, 0.4);
}

/* Wine card specific button styling */
.wine-card .btn {
  width: 100%;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 1.3rem;
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.9) 0%,
    rgba(183, 42, 56, 0.9) 100%
  );
  border: 1px solid rgba(212, 161, 82, 0.2);
  display: block;
}

.wine-card .btn.view-details {
  width: 100%;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wine-card .btn:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 161, 82, 0.9) 0%,
    rgba(240, 194, 123, 0.9) 100%
  );
  color: var(--dark-bg);
  letter-spacing: 2.5px;
}

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

.btn-outline:hover {
  background: var(--gradient-accent);
  color: var(--dark-bg);
}

section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* Header and Navigation */
header {
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.85),
    rgba(30, 30, 30, 0.85),
    rgba(15, 15, 15, 0.85)
  );
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 161, 82, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

/* Enhanced navigation styling */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

/* Logo with enhanced gradient */
.logo {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 1px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Navigation links */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 3rem;
  position: relative;
}

.nav-links a {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.3rem;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

/* Enhanced hover effect for nav links */
.nav-links a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-light),
    transparent
  );
  transition: width 0.3s ease;
}

.nav-links a:hover:before {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-light);
}

.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown > a:after {
  content: "▾";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.dropdown:hover > a:after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(
    135deg,
    rgba(25, 25, 25, 0.95) 0%,
    rgba(15, 15, 15, 0.95) 100%
  );
  min-width: 180px;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 161, 82, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: linear-gradient(
    90deg,
    rgba(138, 15, 30, 0.2) 0%,
    transparent 100%
  );
  padding-left: 2rem;
}

.dropdown-menu a:before {
  display: none;
}

/* Enhanced transparent header on scroll */
.header-scrolled {
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.95),
    rgba(30, 30, 30, 0.95),
    rgba(15, 15, 15, 0.95)
  );
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--off-white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/2.jpg") center/cover no-repeat;
  color: var(--off-white);
  text-align: center;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 29, 0.055) 0%,
    rgba(15, 15, 15, 0.7) 100%
  );
  z-index: 1;
}

.hero:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;

  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  letter-spacing: 3px;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  display: block;
  font-size: 2.4rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
  background: var(--gradient-dark);
  position: relative;
}

.about:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(138, 15, 30, 0.05) 100%
  );
  z-index: 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.about-img {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-img:before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 1;
}

.about-img:after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 1;
}

.about-img img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 2;
}

.about-text h3 {
  font-size: 2.8rem;
  color: var(--accent-light);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-text h3:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
}

/* Wine Section */
.wines-section {
  background-color: var(--dark-bg);
  text-align: center;
  position: relative;
}

.wines-section:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(138, 15, 30, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.section-header p {
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.4rem;
  margin-top: 1rem;
}

.wine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.wine-card {
  background: linear-gradient(
    145deg,
    rgba(35, 35, 35, 0.95) 0%,
    rgba(22, 22, 22, 0.98) 100%
  );
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(212, 161, 82, 0.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  /* Remove height constraints completely */
}

.wine-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(138, 15, 30, 0.08) 0%,
    rgba(212, 161, 82, 0.08) 100%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.wine-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(138, 15, 30, 0.2);
}

.wine-card:hover:before {
  opacity: 1;
}

.wine-card .card-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  transition: all 0.5s ease;
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(25, 25, 25, 0.8) 0%,
    rgba(40, 40, 40, 0.8) 100%
  );
  padding: 2rem;
  border-bottom: 1px solid rgba(212, 161, 82, 0.2);
}

.wine-card:hover .card-img {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(212, 161, 82, 0.3));
}

.wine-card-content {
  padding: 2.5rem;
  text-align: left;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    to bottom,
    rgba(35, 35, 35, 0.98) 0%,
    rgba(18, 18, 18, 0.98) 100%
  );
  z-index: 1;
}

.wine-card-content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  width: 50px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
}

.wine-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--off-white);
  position: relative;
  display: inline-block;
}

.wine-card h3:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  opacity: 0.8;
}
.wine-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}

.wine-origin {
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.6rem;
}
.wine-origin:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 1.8rem;
  top: -0.4rem;
}

.wine-vintage {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.6rem;
}

/* Decorative bullet for vintage */
.wine-vintage:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.8rem;
  top: -0.4rem;
  opacity: 0.8;
}

.wine-card p {
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-height: 10.5em; /* Allow for more lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Show 5 lines instead of 4 */
  -webkit-box-orient: vertical;
}
.wine-price {
  font-weight: 300;
  color: var(--off-white);
  font-size: 2rem;
  margin-top: auto;
  margin-bottom: 1.2rem;
  display: block;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.wine-specs {
  display: flex;
  margin: 1.5rem 0 2rem 0;
  border-top: 1px solid rgba(212, 161, 82, 0.2);
  border-bottom: 1px solid rgba(212, 161, 82, 0.2);
  padding: 1.5rem 0;
  background: linear-gradient(
    135deg,
    rgba(35, 35, 35, 0.6) 0%,
    rgba(25, 25, 25, 0.6) 100%
  );
}

.wine-spec {
  flex: 1;
  text-align: center;
  position: relative;
}

/* Separator between specs */
.wine-spec:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212, 161, 82, 0.3),
    transparent
  );
}
.wine-spec span {
  display: block;
}

.spec-value {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--off-white);
}

/* Spec label */
.spec-label {
  font-size: 1.2rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.4rem;
}

/* Testimonials */
.testimonials {
  background: var(--gradient-dark);
  position: relative;
}

.testimonials:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.05) 0%,
    rgba(212, 161, 82, 0.05) 100%
  );
  z-index: 0;
}

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonial {
  background: linear-gradient(
    135deg,
    rgba(28, 28, 28, 0.95) 0%,
    rgba(30, 30, 30, 0.98) 100%
  );
  padding: 3.5rem;
  margin: 3rem 0;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}

.testimonial:before {
  content: '"';
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 8rem;
  color: rgba(212, 161, 82, 0.2);
  font-family: Georgia, serif;
  line-height: 0.8;
}

.testimonial p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-weight: 600;
  font-style: italic;
  color: var(--accent-light);
  text-align: right;
  font-size: 1.6rem;
}

/* Contact Section */
.contact {
  background: var(--gradient-dark);
  position: relative;
}

.contact:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(138, 15, 30, 0.05) 100%
  );
  z-index: 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  color: var(--accent-light);
  font-size: 2.8rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.contact-info h3:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
}

.contact-info p {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form h3 {
  color: var(--accent-light);
  font-size: 2.8rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.contact-form h3:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--off-white);
  font-size: 1.6rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.4rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 161, 82, 0.2);
  color: var(--off-white);
  font-size: 1.6rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(212, 161, 82, 0.1);
}

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

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--text);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(212, 161, 82, 0.1);
  position: relative;
}

footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(15, 15, 15, 1) 0%,
    rgba(20, 20, 20, 0.98) 100%
  );
  z-index: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  position: relative;
  z-index: 2;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  color: var(--accent-light);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}

.footer-section h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: var(--text);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 8px;
}

.social-links {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--text);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-light);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.4rem;
  color: rgba(221, 221, 221, 0.7);
  position: relative;
  z-index: 2;
}

/* Wine Detail Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(28, 28, 28, 0.98) 0%,
    rgba(25, 25, 25, 0.98) 100%
  );
  margin: 8% auto;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.5s ease;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 161, 82, 0.1);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--accent-light);
  z-index: 10;
  transition: all 0.3s ease;
}

.close-modal:hover {
  color: var(--off-white);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
}

.modal-image {
  flex: 1;
  min-width: 350px;
  position: relative;
}

.modal-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.1) 0%,
    transparent 100%
  );
  z-index: 1;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.modal-details {
  flex: 1;
  min-width: 350px;
  padding: 4rem;
  position: relative;
}

.modal-details:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(212, 161, 82, 0.03) 100%
  );
  z-index: 0;
}

.modal-details h3 {
  font-size: 3rem;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.modal-details p {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.wine-rating {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.rating-stars {
  color: var(--accent-light);
  margin-right: 1.5rem;
  font-size: 1.8rem;
}

.rating-value {
  font-size: 1.8rem;
  font-weight: 600;
}

.wine-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.wine-label {
  background: linear-gradient(
    135deg,
    rgba(212, 161, 82, 0.1) 0%,
    rgba(212, 161, 82, 0.15) 100%
  );
  color: var(--accent-light);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  border: 1px solid rgba(212, 161, 82, 0.2);
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212, 161, 82, 0.3),
    transparent
  );
  margin: 3rem 0;
  position: relative;
  z-index: 2;
}

.food-pairing {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.food-pairing h4 {
  color: var(--accent-light);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.food-pairing ul {
  list-style: none;
}

.food-pairing li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  font-size: 1.5rem;
}

.food-pairing li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 1.8rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header,
.about-text,
.about-img,
.wine-card,
.testimonial,
.contact-info,
.contact-form {
  animation: fadeIn 1s ease forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  html {
    font-size: 58%;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 7rem;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(15, 15, 15, 0.98) 0%,
      rgba(20, 20, 20, 0.98) 100%
    );
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 2rem 0;
  }

  .hamburger {
    display: block;
    z-index: 999;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero h1 span {
    font-size: 2rem;
  }

  .about-content,
  .contact-container {
    flex-direction: column;
  }

  .about-img {
    order: -1;
  }

  .wine-specs {
    flex-wrap: wrap;
  }

  .wine-spec {
    flex: 1 0 50%;
    margin-bottom: 1rem;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-image {
    height: 300px;
  }

  .modal-content {
    margin: 5% auto;
    width: 95%;
  }

  .modal-details {
    padding: 2.5rem;
  }

  section {
    padding: 6rem 0;
  }
}

/* Fix for the wine card to ensure the button is visible */

/* Remove max-height constraint which might be cutting off the button */
.wine-card {
  background: linear-gradient(
    145deg,
    rgba(28, 28, 28, 0.95) 0%,
    rgba(25, 25, 25, 0.98) 100%
  );
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(212, 161, 82, 0.1);
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Remove max-height: 650px; which could be cutting off content */
}

/* Ensure the :before pseudo-element doesn't block clickable elements */
.wine-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(138, 15, 30, 0.05) 0%,
    rgba(212, 161, 82, 0.05) 100%
  );
  pointer-events: none; /* Ensure clicks pass through to elements below */
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

/* Ensure card content has proper z-index */
.wine-card-content {
  padding: 2.2rem;
  text-align: left;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    to bottom,
    rgba(30, 30, 30, 0.97) 0%,
    rgba(20, 20, 20, 0.97) 100%
  );
  z-index: 1; /* Ensure content is above the :before element */
}

/* Fix button styling to ensure visibility */
.wine-card .btn.view-details {
  width: 100%;
  display: block;
  text-align: center;
  padding: 1.2rem 1.5rem;
  font-size: 1.4rem;
  background: linear-gradient(
    135deg,
    rgba(138, 15, 30, 0.95) 0%,
    rgba(183, 42, 56, 0.95) 100%
  );
  border: 1px solid rgba(212, 161, 82, 0.3);
  color: var(--off-white);
  cursor: pointer;
  position: relative;
  z-index: 2;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.wine-card .btn.view-details:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 161, 82, 0.95) 0%,
    rgba(240, 194, 123, 0.95) 100%
  );
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 161, 82, 0.4);
  letter-spacing: 2.5px;
}

/* Button shine effect */
.wine-card .btn.view-details:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.6s;
  z-index: 1;
}

.wine-card .btn.view-details:hover:before {
  left: 100%;
}

/* Ensure wine price has proper spacing */
.wine-price {
  font-weight: 700;
  font-size: 2.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: block;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(212, 161, 82, 0.2);
}

/* Ensure wine specs have proper spacing */
.wine-specs {
  display: flex;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(212, 161, 82, 0.15);
  border-bottom: 1px solid rgba(212, 161, 82, 0.15);
  padding: 1.2rem 0;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.5) 0%,
    rgba(25, 25, 25, 0.5) 100%
  );
  margin-bottom: 1.5rem; /* Ensure this isn't pushing content too far */
}

/* Mobile responsive updates */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 999;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 7rem;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(15, 15, 15, 0.98) 0%,
      rgba(20, 20, 20, 0.98) 100%
    );
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    z-index: 999;
    align-items: center;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 2rem 0;
  }

  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    width: 100%;
    margin: 1rem 0;
    padding: 0;
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown-menu li {
    margin: 0.8rem 0;
  }

  .dropdown-menu a {
    padding: 0.8rem 0;
  }

  .dropdown > a:after {
    margin-left: 0.5rem;
  }
}

.hidden {
  display: none;
}

/*/////////////////////////////////////*/
/* Font Family Updates - Add this to your styles.css */

/* Define font families for easy switching */
:root {
  --primary-font: "Garamond", "Times New Roman", serif;
  --button-font: "Helvetica", "Arial", sans-serif;
  --nav-font: "Helvetica", "Arial", sans-serif;
}

/* Keep existing body and headings with Times New Roman/Garamond */
body {
  font-family: var(--primary-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--primary-font);
}

/* Update ALL CAPS buttons to use Helvetica */
.btn {
  font-family: var(--button-font);
  font-weight: 600; /* Semi-bold for better readability */
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Wine card buttons specifically */
.wine-card .btn,
.wine-card .btn.view-details {
  font-family: var(--button-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Gallery category tabs */
.category-tab {
  font-family: var(--nav-font);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filter buttons */
.filter-btn {
  font-family: var(--nav-font);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation links - keep current style but add Helvetica fallback */
.nav-links a {
  font-family: var(--nav-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Testimonial navigation buttons */
.testimonial-prev,
.testimonial-next {
  font-family: var(--button-font);
  font-weight: 600;
}

/* Theme toggle button */
.theme-toggle {
  font-family: var(--button-font);
}

/* Contact form submit button */
.contact-form .btn {
  font-family: var(--button-font);
  font-weight: 600;
}

/* Modal buttons */
.modal-details .btn {
  font-family: var(--button-font);
  font-weight: 600;
}

/* CTA buttons */
.hero .btn,
.wines-hero .btn,
.gallery-hero .btn,
.about-cta .btn,
.gallery-cta .btn {
  font-family: var(--button-font);
  font-weight: 600;
}

/* 
EASY SWITCHING GUIDE:
To switch back to Times New Roman for buttons, just change:
--button-font: "Garamond", "Times New Roman", serif;

To make buttons even bolder:
font-weight: 700; (instead of 600)

To make buttons lighter:
font-weight: 500; (instead of 600)
*/
