/* Modern Dinner Club - Elegant Teaser Site */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;600&display=swap");

/* === CSS Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  background-color: #000000;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

/* Global overflow prevention */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.2;
}

.display-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.subtitle {
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.body-text {
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* === Logo Container === */
.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

/* === Hero Logo === */
.hero-logo {
  height: 480px; /* Quadrupled from 120px */
  width: auto;
  max-width: 100vw; /* Prevent horizontal overflow */
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1);
  position: relative;
  z-index: 10;
  transition: opacity 0.3s ease;
}

/* === Logo Switcher Button === */
.logo-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-switcher:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.logo-switcher:active {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0.95);
}

.logo-switcher i {
  color: #ffffff;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.logo-switcher:hover i {
  transform: rotate(180deg);
}

/* Logo indicator */
.logo-indicator {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 20;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/wine.png') center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  /* Fallback background color */
  /* Ensure background is visible */
  z-index: 5;
}

/* Add a gradient overlay for better text readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-subtitle {
  margin-bottom: 2rem;
  color: #ffffff;
  letter-spacing: 0.2em;
}

.hero-description {
  margin-bottom: 3rem;
  color: #ffffff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === CTA Button === */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}





/* === Content Sections === */
.content-section {
  padding: 6rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
}

#experience {
  background-color: #000000;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.title-section {
  background-color: #000000;
  padding: 3rem 2rem;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 0;
  color: #e0e0e0;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* === Columns Container === */
.columns-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 600px;
  border-radius: 16px;
  overflow: hidden;
}

.column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.column-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.column-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.column-card {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem;
  max-width: 300px;
  min-height: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.column-card .feature-icon {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.column-card .feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.column-card .feature-description {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* Responsive columns */
@media (max-width: 1024px) {
  .columns-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  
  .column-card {
    max-width: 250px;
    padding: 1.5rem;
    min-height: 260px;
  }
  
  /* Hide background images on medium viewports for cleaner look */
  .column-background {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .columns-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    min-height: 800px;
  }
  
  .column {
    padding: 1rem;
  }
  
  .column-card {
    max-width: 400px;
    padding: 2rem;
    min-height: 250px;
  }
  
  /* Hide background images on mobile for cleaner look */
  .column-background {
    opacity: 0;
  }
  
  .chef-grid,
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .chef-card,
  .menu-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .title-section {
    padding: 2rem 1rem;
  }
  
  .columns-container {
    min-height: 900px;
  }
  
  .column-card {
    max-width: 350px;
    padding: 1.5rem;
    margin: 0.5rem;
    min-height: 240px;
  }
  
  /* Ensure background images are hidden on small mobile */
  .column-background {
    opacity: 0;
  }
  
  .chef-grid,
  .menu-grid {
    gap: 1rem;
  }
  
  .chef-card,
  .menu-card {
    padding: 1rem;
  }
  
  .chef-name {
    font-size: 1.3rem;
  }
  
  .menu-title {
    font-size: 1.2rem;
  }
}

/* === Feature Items (for other sections) === */
.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(40, 40, 40, 0.27);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-item:hover {
  background: rgba(40, 40, 40, 0.32);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.feature-item .feature-icon {
  font-size: 2.5rem;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.feature-item h3 {
  color: #f0f0f0;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.5rem;
}

.feature-item p {
  color: #d0d0d0;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.feature-item .cta-button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* Debug: Check if Bootstrap Icons are loading */
.feature-icon i {
  display: inline-block;
  min-width: 1em;
  min-height: 1em;
}

/* Force Bootstrap Icons font loading */
@font-face {
  font-family: 'bootstrap-icons';
  src: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.5/font/fonts/bootstrap-icons.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.5/font/fonts/bootstrap-icons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Enhanced icon visibility */
.feature-icon .bi-award-fill {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Ensure all icons are visible */
.feature-icon .bi {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-family: 'bootstrap-icons' !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure building icon displays properly */
.feature-icon .bi-building,
.feature-icon .bi-building-fill {
  font-family: 'bootstrap-icons' !important;
  font-style: normal !important;
  font-weight: normal !important;
  text-decoration: none !important;
  border: none !important;
  background: none !important;
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-description {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* === Feature Grid (for other sections) === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0;
}

/* === Coming Soon Section === */
.coming-soon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.coming-soon-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.coming-soon-text {
  color: #b0b0b0;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* === Chef Profiles Section === */
.chef-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.chef-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.chef-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chef-image {
  font-size: 4rem;
  color: #FFD700;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.chef-name {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.chef-specialty {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.chef-bio {
  color: #d0d0d0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* === Seasonal Menu Preview === */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.menu-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-season {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  display: inline-block;
}

.menu-title {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.menu-items {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.menu-items li {
  color: #d0d0d0;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.menu-items li:before {
  content: "•";
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.menu-pairing {
  color: #FFD700;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  padding: 1rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* === Enhanced Form Styling === */
.validation-message {
  font-size: 0.85rem;
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

.validation-message.valid {
  color: #28a745;
}

.validation-message.invalid {
  color: #dc3545;
}

/* Bootstrap validation styling for form fields */
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === Instagram Section === */
.instagram-section-fullwidth {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.instagram-section {
  text-align: center;
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

/* Background Images Container */
.background-images-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  margin-top: 200px; /* Start after title and subtitle */
}

.background-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

/* Dark overlay for better readability */
.instagram-section-fullwidth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.instagram-widget-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 3;
}

/* Responsive adjustments for background images */
@media (max-width: 1024px) {
  .background-images-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    margin-top: 180px;
  }
}

@media (max-width: 768px) {
  .background-images-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    margin-top: 160px;
  }
  
  .instagram-section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .background-images-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(12, 1fr);
    margin-top: 140px;
  }
  
  .instagram-section {
    padding: 2rem 1rem;
  }
}

/* Custom Instagram Embed Styling */
.instagram-widget-container .instagram-media {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: auto !important;
  width: 100% !important;
}

.instagram-widget-container .instagram-media > div {
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* Target Instagram's dynamically generated content */
.instagram-widget-container iframe {
  background: transparent !important;
}

.instagram-widget-container .instagram-media[style*="background"] {
  background: transparent !important;
}

.instagram-widget-container .instagram-media[style*="background: #FFF"] {
  background: transparent !important;
}

.instagram-widget-container .instagram-media[style*="background: #FFFFFF"] {
  background: transparent !important;
}

.instagram-widget-container .instagram-media[style*="background: white"] {
  background: transparent !important;
}

/* Force override any white backgrounds */
.instagram-widget-container * {
  background-color: transparent !important;
}

.instagram-widget-container *[style*="background"] {
  background: transparent !important;
}

.instagram-widget-container *[style*="background-color"] {
  background-color: transparent !important;
}

/* Target specific Instagram elements */
.instagram-widget-container .instagram-media div[style*="background"] {
  background: transparent !important;
}

.instagram-widget-container .instagram-media a[style*="background"] {
  background: transparent !important;
}

.instagram-widget-container .instagram-media a {
  background: transparent !important;
  color: #ffffff !important;
}

.instagram-widget-container .instagram-media a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.instagram-widget-container .instagram-media div[style*="background-color: #F4F4F4"] {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.instagram-widget-container .instagram-media div[style*="color:#3897f0"] {
  color: #e4405f !important;
}

.instagram-widget-container .instagram-media div[style*="color:#c9c8cd"] {
  color: #a0a0a0 !important;
}

.instagram-widget-container .instagram-media a[style*="color:#c9c8cd"] {
  color: #ffffff !important;
}

.instagram-widget-container .instagram-media a[style*="color:#c9c8cd"]:hover {
  color: #e4405f !important;
}

.instagram-widget-container .instagram-media svg {
  filter: brightness(0) invert(1);
}

.instagram-widget-container .instagram-media svg g[fill="#000000"] {
  fill: #ffffff !important;
}

.instagram-placeholder {
  padding: 3rem 2rem;
  text-align: center;
  color: #a0a0a0;
}

.instagram-placeholder .instagram-icon {
  font-size: 4rem;
  color: #e4405f;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.instagram-placeholder p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.instagram-placeholder small {
  font-size: 0.9rem;
  color: #808080;
  line-height: 1.5;
}

/* === Footer === */
.footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-text {
  color: #808080;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-location {
  color: #a0a0a0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.ny-icon {
  display: inline-flex;
  align-items: center;
  margin: 0 0.3rem;
  vertical-align: middle;
}

.ny-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.footer-link {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* Hide Contact link for now */
.footer-link[href="#"]:last-child {
  display: none;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Static grid responsive behavior for tablets */
  .static-grid {
    gap: 0;
    padding: 0;
  }
  
  .grid-item {
    aspect-ratio: 3/2;
  }
  
  .grid-item img {
    aspect-ratio: 3/2;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    height: 320px; /* Quadrupled from 80px */
    max-width: 80vw; /* Prevent horizontal overflow */
  }
  
  .logo-switcher {
    width: 35px;
    height: 35px;
    top: 8px;
    right: 8px;
  }
  
  .logo-switcher i {
    font-size: 14px;
  }
  
  .hero-content {
    padding: 0 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .content-section {
    padding: 4rem 1rem;
    overflow-x: hidden;
  }
  
  /* Fix form layout for mobile */
  .waitlist-form .row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .waitlist-form .col {
    width: 100%;
    flex: none;
    margin-bottom: 1rem;
  }
  
  .waitlist-form .col-md-6 {
    width: 100%;
    flex: none;
    min-width: auto;
  }
  
  /* Ensure all text wraps properly */
  .body-text, .hero-description, .feature-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .coming-soon {
    padding: 3rem 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Static grid responsive behavior */
  .static-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    top: 80px;
    height: 200px;
  }
  
  .feature-grid {
    top: 80px;
  }
  
  .grid-item {
    aspect-ratio: 3/1;
    margin: 0.25rem 0;
  }
  
  .grid-item img {
    aspect-ratio: 3/1;
  }
  
  /* Mobile-specific background optimizations */
  .hero-section {
    background-attachment: scroll; /* Better mobile performance */
    background-size: cover;
    background-position: center center;
  }
  
  /* Ensure background image loads on mobile */
  .hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/wine.png') center center;
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  /* Additional mobile fixes for very small screens */
  .hero-logo {
    height: 240px; /* Smaller on very small screens */
    max-width: 100vw;
  }
  
  .logo-switcher {
    width: 30px;
    height: 30px;
    top: 5px;
    right: 5px;
  }
  
  .logo-switcher i {
    font-size: 12px;
  }
  
  .hero-content {
    padding: 0 0.5rem;
  }
  
  .content-section {
    padding: 3rem 0.5rem;
  }
  
  .waitlist-form {
    padding: 1rem;
    margin: 0;
  }
  
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Ensure no element exceeds viewport width */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Static grid responsive behavior for very small screens */
  .static-grid {
    gap: 0;
    padding: 0;
    top: 60px;
    height: 180px;
  }
  
  .feature-grid {
    top: 60px;
  }
  
  .grid-item {
    aspect-ratio: 5/2;
  }
  
  .grid-item img {
    aspect-ratio: 5/2;
  }
}

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

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

.feature-item {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

/* === Privacy Policy Modal === */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1055;
}

.modal.show {
  display: block;
}

.modal-content {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.modal-title {
  color: #ffffff;
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
}

.btn-close {
  filter: invert(1);
}

.modal-body {
  background: #1a1a1a;
  color: #e0e0e0;
}

.privacy-content h6 {
  color: #ffffff;
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content h6:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: #b0b0b0;
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-content ul {
  color: #b0b0b0;
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.privacy-content li {
  color: #b0b0b0;
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.privacy-date {
  color: #808080 !important;
  font-style: italic;
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.modal-footer .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Ensure modal backdrop works properly */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
}

.modal-backdrop.show {
  opacity: 1;
}

/* Ensure modal dialog is properly positioned */
.modal-dialog {
  position: relative;
  z-index: 1056;
  margin: 1.75rem auto;
  max-width: 800px;
}

/* === Form Styling === */
.waitlist-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.waitlist-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  padding: 1.25rem;
  font-family: 'Source Sans Pro', 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  height: 3.5rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: #808080;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  outline: none;
  color: #ffffff;
}

.form-control option {
  background: #000000;
  color: #ffffff;
}

/* Enhanced form spacing */
.waitlist-form .mb-3 {
  margin-bottom: 0 !important;
  margin-right: 1.5rem;
}

.waitlist-form .text-center {
  margin-top: 2rem;
  text-align: center;
}

/* Horizontal form layout */
.waitlist-form .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.waitlist-form .col-md-6 {
  flex: 1;
  min-width: 200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.waitlist-form .cta-button {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* === Scroll Effects === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


