/* ============================================================================
   BIBIVINI CSS STYLESHEET
   Organized and documented for easy maintenance
   
   TABLE OF CONTENTS:
   1. CSS Reset & Base Styles
   2. Layout Structure (Body, Header, Nav, Main, Footer)
   3. Typography
   4. Hero Header
   5. Navigation (Desktop & Mobile Hamburger Menu)
   6. Content Sections & Cards
   7. Wine Portfolio Grid
   8. Benefits & CTA Sections
   10. Forms & Sign In
   11. Utility Classes
   12. Responsive Design - Tablets (1024px)
   13. Responsive Design - Mobile (768px)
   14. Responsive Design - Small Mobile (480px)
============================================================================ */

/* ============================================================================
   1. CSS RESET & BASE STYLES
============================================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Font & Layout */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  
  /* Background Image */
  background-image: url("../Images/Vineyard-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
  /* Container Width */
  width: 95%;
  max-width: 100%;
  margin: auto;
  padding: 20px 5px;
  
  /* Flexbox for sticky footer */
  display: flex;
  flex-direction: column;
}

/* ============================================================================
   2. LAYOUT STRUCTURE
   Main page sections: header, nav, main, footer
============================================================================ */

/* Header - Top section with logo and title */
header {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  order: 1;
  max-width: 1400px;
  margin: auto;
  width: 100%;
}

/* Navigation - Sticky on mobile, centered on desktop */
nav {
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.27);
  order: 2;
  text-align: center;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  position: relative;
}

/* Main Content Area */
main {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  order: 3;
  background: rgba(255, 255, 255, 0.27);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Footer - Bottom section with copyright */
footer {
  order: 4;
  max-width: 1400px;
  margin: auto;
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ddd;
  text-align: center;
  padding: 40px 20px;
  border-top: 3px solid #bf9d48;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

footer p {
  margin: 8px 0;
  font-size: 0.95rem;
}

.footer-tagline {
  font-style: italic;
  color: #bf9d48;
  font-size: 1rem;
  margin-top: 15px;
}

/* ============================================================================
   3. TYPOGRAPHY
   Heading styles and text formatting
============================================================================ */

h1 {
  font-size: 1.3em;
}

h2,
h3 {
  text-align: center;
  color: #2d5016;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

/* ============================================================================
   4. HERO HEADER
   Large header section with logo and tagline
============================================================================ */

header.hero {
  background: linear-gradient(135deg, rgba(8, 56, 27, 0.9) 0%, rgba(45, 27, 46, 0.9) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%2308381b" width="1200" height="600"/></svg>');
  color: #fff;
  text-align: center;
  padding: 80px 40px;
  border-bottom: 4px solid #bf9d48;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient overlay */
header.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(191, 157, 72, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Logo positioning - top left corner */
header.hero .logo {
  position: absolute;
  top: 20px;
  left: 40px;
  z-index: 2;
}

header.hero .logo img {
  height: 125px; /* 25% larger than original 100px */
  transition: transform 0.3s;
}

header.hero .logo img:hover {
  transform: scale(1.1);
}

/* Main heading in hero */
header.hero h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Hero tagline */
.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* ============================================================================
   5. NAVIGATION
   Desktop navigation and mobile hamburger menu
============================================================================ */

/* --- HAMBURGER MENU (Mobile Only) --- */

.hamburger {
  display: none; /* Hidden on desktop, shown on mobile */
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

/* Three horizontal lines */
.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #2d5016;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hamburger animation when menu is open - transforms to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* --- DESKTOP NAVIGATION --- */

nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

nav li {
  list-style: none;
}

nav li a {
  display: block;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  color: #2d5016;
  padding: 12px 24px;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover effect for desktop */
nav li a:hover {
  background-color: rgba(8, 56, 27, 0.1);
  color: #8b0000;
}

/* Touch devices - use :active instead of :hover */
@media (hover: none) {
  nav li a:active {
    background-color: rgba(8, 56, 27, 0.1);
    color: #8b0000;
  }
}

/* --- DROPDOWN MENU (if needed) --- */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  min-width: 350px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 30px;
  padding: 10px 0;
}

.dropdown-content li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-content li a {
  display: block;
  padding: 12px 20px;
  color: #2d5016;
  text-decoration: none;
  font-size: 16px;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.dropdown-content li a:hover {
  background-color: rgba(8, 56, 27, 0.1);
  color: #8b0000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ============================================================================
   6. CONTENT SECTIONS & CARDS
   Column holder and card components used throughout the site
============================================================================ */

/* Three-column layout for cards on homepage */
#columnHolder {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.79);
}

/* Individual card styling */
article.card {
  flex: 1;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(8, 56, 27, 0.1);
}

/* Card hover effect - lifts up on desktop */
article.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(8, 56, 27, 0.15);
  border-color: rgba(191, 157, 72, 0.4);
}

/* Touch devices - scale down instead of lift on tap */
@media (hover: none) {
  article.card:hover {
    transform: none;
  }
  article.card:active {
    transform: scale(0.98);
  }
}

/* Optional card icon */
.card-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* Card text styling */
article.card p {
  color: #555;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
}

/* List items inside cards */
article ul li {
  display: block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #2d5016;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

/* ============================================================================
   7. WINE PORTFOLIO GRID
   Grid layout for wine cards on Example page
============================================================================ */

.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

/* Individual wine card - clickable */
.wine-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  border: 2px solid transparent;
}

.wine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(8, 56, 27, 0.15);
  border-color: #bf9d48;
}

/* Wine bottle image container */
.wine-card-image {
  height: 280px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.wine-card-image img {
  width: 300px;
  height: 200px;
  object-fit: contain;
}

/* Wine card text content */
.wine-card-content {
  padding: 25px;
}

.wine-card h3 {
  color: #2d5016;
  font-size: 1.4rem;
  margin: 0 0 10px 0;
}

.wine-card .varietal {
  color: #666;
  font-size: 1rem;
  margin: 0 0 15px 0;
}

.wine-card .description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Demo page intro text */
.demo-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.demo-intro h2 {
  color: #2d5016;
  font-size: 2rem;
  margin-bottom: 15px;
}

/* ============================================================================
   8. BENEFITS & CTA SECTIONS
   Reusable sections for benefits and calls-to-action
============================================================================ */

/* Section content wrapper */
#sectionContent {
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.79);
  border-top: 1px solid rgba(8, 56, 27, 0.1);
}

.sectionContent {
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(8, 56, 27, 0.1);
}

/* Benefits flex container */
.benefits {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Individual benefit item */
.benefit-item {
  flex: 1;
  min-width: 250px;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #bf9d48;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-left-color: #8b0000;
  transform: translateX(5px);
}

.benefit-item strong {
  display: block;
  font-size: 1.3rem;
  color: #2d5016;
  margin-bottom: 12px;
}

/* Highlighted callout box */
.highlight {
  background: linear-gradient(135deg, rgba(191, 157, 72, 0.15) 0%, rgba(8, 56, 27, 0.1) 100%);
  border-left: 4px solid #bf9d48;
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  font-style: italic;
}

/* Call-to-action box */
.cta {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #bf9d48;
}

.cta h3 {
  color: #2d5016;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0;
}

/* ============================================================================
   10. FORMS & SIGN IN
   Form styling for contact and sign-in pages
============================================================================ */

/* --- GENERAL FORM STYLES --- */

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2d5016;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

/* Input focus state */
.form-group input:focus {
  outline: none;
  border-color: #bf9d48;
  box-shadow: 0 0 0 3px rgba(191, 157, 72, 0.1);
}

/* --- SIGN IN PAGE SPECIFIC --- */

.signin-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.79);
  border-radius: 12px;
}

.signin-container h1 {
  text-align: center;
  color: #2d5016;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.signin-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

.signin-form {
  width: 100%;
}

/* Form options row - remember me and forgot password */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.remember-me label {
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
}

/* Forgot password link */
.forgot-password {
  font-size: 0.9rem;
  color: #2d5016;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #bf9d48;
  text-decoration: underline;
}

/* Sign in button */
.signin-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2d5016 0%, rgba(8, 56, 27, 0.9) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

.signin-button:hover {
  background: linear-gradient(135deg, rgba(8, 56, 27, 0.9) 0%, #2d5016 100%);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
  transform: translateY(-2px);
}

.signin-button:active {
  transform: translateY(0);
}

/* Sign up link at bottom */
.signup-link {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.signup-link p {
  color: #555;
  font-size: 0.95rem;
}

.signup-link a {
  color: #2d5016;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link a:hover {
  color: #bf9d48;
  text-decoration: underline;
}

/* ============================================================================
   11. UTILITY CLASSES & BLOG PAGE SPECIFIC
   Reusable utility classes and blog-specific styles
============================================================================ */

/* --- ABOUT & BLOG PAGE CONTAINER --- */

.container {
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.79);
  max-width: 1200px;
  margin: 0 auto;
}

.container h1 {
  text-align: center;
  color: #2d5016;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #555;
  font-style: italic;
  margin-bottom: 40px;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

.container p {
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.container ol {
  margin: 20px 0 20px 40px;
  color: #555;
  line-height: 1.8;
}

.container ol li {
  margin-bottom: 15px;
  padding-left: 10px;
}

.container ol li strong {
  color: #2d5016;
}

/* --- IMAGE UTILITIES --- */

.imageGrow:hover {
  scale: 2.6;
}

@media (hover: none) {
  .imageGrow:hover {
    scale: 1;
  }
  .imageGrow:active {
    scale: 1.1;
  }
}

.centerImage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* --- FLOAT UTILITIES --- */

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.clearFloat {
  clear: both;
}

/* --- VISIBILITY --- */

#invis {
  display: none;
}

/* ============================================================================
   12. RESPONSIVE DESIGN - TABLETS (1024px)
   Adjustments for tablet-sized screens
============================================================================ */

@media (max-width: 1024px) {
  
  body {
    background-attachment: scroll; /* Better performance on mobile */
  }

  nav {
    padding: 15px 25px;
  }
  nav li a {
  display: block;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  color: #2d5016;
  padding: 12px 13px;
  transition: all 0.3s ease;
  position: relative;
}

  header.hero {
    padding: 60px 30px;
  }

  header.hero .logo {
    top: 15px;
    left: 30px;
  }

  /* Stack columns vertically on tablets */
  #columnHolder {
    flex-direction: column;
    padding: 40px 30px;
  }

  #sectionContent {
    padding: 40px 30px;
  }

  /* Slightly smaller headings */
  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .benefit-item {
    min-width: 200px;
  }

  .container {
    padding: 40px 30px;
  }

  .container h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .signin-container {
    padding: 50px 30px;
  }
}

/* ============================================================================
   13. RESPONSIVE DESIGN - MOBILE (768px)
   Major layout changes for mobile devices
   NOTE: This is where hamburger menu becomes active and nav becomes sticky
============================================================================ */

@media (max-width: 768px) {
  
  header{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  body {
    width: 100%;
    padding: 10px 0;
  }

  /* --- STICKY NAVIGATION WITH HAMBURGER MENU --- */
  nav {
    flex-direction: column;
    padding: 15px 20px;
    gap: 15px;
    border-radius: 0;
    
    /* STICKY POSITIONING - stays at top when scrolling */
    position: sticky;
    top: 0;
    margin-bottom: 0;
    margin-top: 0;
    z-index: 1000;
    
    /* Enhanced visibility when sticky */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.76);
  }

  /* Show hamburger button on mobile */
  .hamburger {
    display: flex;
  }

  /* Mobile menu - hidden by default, slides down when active */
  nav ul.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    border-radius: 5px;
    z-index: 999;
  }

  /* Menu slides down when hamburger is clicked */
  nav ul.nav-menu.active {
    max-height: 500px;
  }

  /* Mobile menu items - full width */
  nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(8, 56, 27, 0.1);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav li a {
    font-size: 18px;
    padding: 15px 20px;
    width: 100%;
  }

  /* Main content spacing */
  main {
    margin: 0 0 15px 0;
    border-radius: 0;
  }

  /* --- HERO HEADER ADJUSTMENTS --- */
  header.hero {
    padding: 40px 20px;
    padding-top: 80px;
  }

  header.hero .logo {
    top: 10px;
    left: 20px;
  }

  header.hero .logo img {
    height: 75px; /* 25% larger than original 60px */
  }

  header.hero h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  /* --- CONTENT SECTIONS --- */
  #columnHolder {
    padding: 30px 20px;
    gap: 20px;
  }

  article.card {
    padding: 30px 20px;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  #sectionContent {
    padding: 30px 20px;
  }

  /* --- TYPOGRAPHY ADJUSTMENTS --- */
  h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  /* --- BENEFITS STACK VERTICALLY --- */
  .benefits {
    flex-direction: column;
    gap: 20px;
  }

  .benefit-item {
    min-width: 100%;
    padding: 25px 20px;
  }

  .benefit-item strong {
    font-size: 1.2rem;
  }

  /* --- FOOTER --- */
  footer {
    padding: 30px 15px;
    margin-top: 0;
  }

  /* --- CONTAINER & BLOG PAGES --- */
  .container {
    padding: 30px 20px;
  }

  .container h1 {
    font-size: 1.7rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .intro {
    font-size: 1rem;
  }

  .highlight {
    padding: 20px;
    margin: 20px 0;
  }

  .cta {
    padding: 30px 20px;
  }

  .cta h3 {
    font-size: 1.5rem;
  }

  /* --- SIGN IN PAGE --- */
  .signin-container {
    padding: 40px 20px;
  }

  .signin-container h1 {
    font-size: 1.6rem;
  }

  /* --- DROPDOWN MENU ON MOBILE --- */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.85);
    min-width: 100%;
    margin-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-content li a {
    padding: 10px 30px;
    font-size: 14px;
  }

  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    max-height: 500px;
  }
}

/* ============================================================================
   14. RESPONSIVE DESIGN - SMALL MOBILE (480px)
   Additional adjustments for very small screens
============================================================================ */

@media (max-width: 480px) {
  /* Ensure proper order on small screens */
  header {
    order: 1;
  }

  body {
    order: 2;
  }

  nav {
    padding: 12px 15px;
    order: 3;
  }

  footer {
    order: 4;
  }

  /* Smaller nav items */
  nav li a {
    font-size: 16px;
    padding: 12px 15px;
  }

  /* --- HERO HEADER --- */
  header.hero {
    padding: 30px 15px;
    padding-top: 70px;
  }

  header.hero .logo {
    top: 10px;
    left: 15px;
  }

  header.hero .logo img {
    height: 63px; /* 25% larger than original 50px */
  }

  header.hero h1 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1rem;
  }

  /* --- CONTENT SPACING --- */
  #columnHolder {
    padding: 20px 15px;
  }

  article.card {
    padding: 25px 15px;
  }

  #sectionContent {
    padding: 25px 15px;
  }

  /* --- TYPOGRAPHY --- */
  h1 {
    font-size: 1.3em;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  /* --- BENEFITS --- */
  .benefit-item {
    padding: 20px 15px;
  }

  .benefit-item strong {
    font-size: 1.1rem;
  }

  /* --- CONTAINER & BLOG --- */
  .container {
    padding: 20px 15px;
  }

  .container h1 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .container ol {
    margin-left: 25px;
  }

  .highlight {
    padding: 15px;
    font-size: 0.95rem;
  }

  .cta {
    padding: 25px 15px;
  }

  .cta h3 {
    font-size: 1.3rem;
  }

  .cta p {
    font-size: 1rem;
  }

  /* --- SIGN IN PAGE --- */
  .signin-container {
    padding: 30px 15px;
  }

  .signin-container h1 {
    font-size: 1.4rem;
  }

  .signin-subtitle {
    font-size: 0.9rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  /* --- DROPDOWNS --- */
  .dropdown-content li a {
    font-size: 14px;
    padding: 8px 20px;
  }
}

/* ========================================
   ACCOUNT CREATION PAGE STYLES
   Add these to your CSS-Bibivini.css file
   ======================================== */

/* Pricing information box */
.pricing-info {
    background: linear-gradient(135deg, #6b2c3f 0%, #8b4058 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-info p {
    margin: 8px 0;
    font-size: 1rem;
}

.pricing-info p:first-child {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Form section titles */
.form-section-title {
    color: rgb(107, 44, 63);
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #6b2c3f;
    font-weight: 600;
}

.form-section-title:first-of-type {
    margin-top: 20px;
}

/* Enhanced form styling for longer forms */
.signin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.signin-form textarea:focus {
    outline: none;
    border-color: #6b2c3f;
}

.signin-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.signin-form select:focus {
    outline: none;
    border-color: #6b2c3f;
}

/* Link styling within forms */
.form-options a {
    color: #6b2c3f;
    text-decoration: none;
    font-weight: 500;
}

.form-options a:hover {
    text-decoration: underline;
    color: #8b4058;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-info {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .pricing-info p {
        font-size: 0.9rem;
    }
    
    .pricing-info p:first-child {
        font-size: 1.1rem;
    }
    
    .form-section-title {
        font-size: 1.1rem;
        margin: 25px 0 12px 0;
    }
}

/* ========================================
   END OF ACCOUNT CREATION STYLES
   ======================================== */

/* ========================================
   WINERY DASHBOARD STYLES
   ======================================== */

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6b2c3f 0%, #8b4058 100%);
    color: white;
    border-radius: 12px;
}

            .check-email-container {
                max-width: 600px;
                margin: 60px auto;
                padding: 40px;
                background: white;
                border-radius: 12px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                text-align: center;
            }

            .email-icon {
                font-size: 4rem;
                color: #6b2c3f;
                margin-bottom: 20px;
            }

            .check-email-container h1 {
                color: #6b2c3f;
                margin-bottom: 20px;
            }

            .check-email-container p {
                font-size: 1.1rem;
                line-height: 1.6;
                color: #666;
                margin-bottom: 15px;
            }

            .instruction-box {
                background: #f8f9fa;
                border-left: 4px solid #6b2c3f;
                padding: 20px;
                margin: 30px 0;
                text-align: left;
            }

            .instruction-box ol {
                margin: 15px 0 0 20px;
                color: #333;
            }

            .instruction-box li {
                margin: 10px 0;
            }

            .help-text {
                margin-top: 30px;
                padding-top: 30px;
                border-top: 1px solid #e0e0e0;
            }

            .help-text a {
                color: #6b2c3f;
                font-weight: 600;
                text-decoration: none;
            }

            .help-text a:hover {
                text-decoration: underline;
            }

.dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.dashboard-subtitle {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 4px solid #6b2c3f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    color: #6b2c3f;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.status-active {
    color: #2ecc71;
    font-size: 1.5rem;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h2 {
    color: #6b2c3f;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn.primary {
    background: #6b2c3f;
    color: white;
}

.action-btn.primary:hover {
    background: #8b4058;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 44, 63, 0.3);
}

.action-btn.secondary {
    background: white;
    color: #6b2c3f;
    border: 2px solid #6b2c3f;
}

.action-btn.secondary:hover {
    background: #6b2c3f;
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.3rem;
    font-weight: bold;
}

/* Wine List Section */
.wine-list-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    color: #6b2c3f;
    margin: 0;
    font-size: 1.5rem;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6b2c3f;
}

/* Wine Table */
.wine-table-container {
    overflow-x: auto;
}

.wine-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.wine-table thead {
    background: #f8f9fa;
}

.wine-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #6b2c3f;
    border-bottom: 2px solid #6b2c3f;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.wine-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.wine-table tbody tr {
    transition: background-color 0.2s ease;
}

.wine-table tbody tr:hover {
    background-color: #f8f9fa;
}

.wine-name {
    font-weight: 600;
    color: #333;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Small Buttons */
.btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-view {
    background: #3498db;
    color: white;
}

.btn-view:hover {
    background: #2980b9;
}

.btn-edit {
    background: #f39c12;
    color: white;
}

.btn-edit:hover {
    background: #e67e22;
}

.btn-qr {
    background: #6b2c3f;
    color: white;
}

.btn-qr:hover {
    background: #8b4058;
}

/* Help Section */
.help-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #6b2c3f;
}

.help-section h3 {
    color: #6b2c3f;
    margin-top: 0;
}

.help-section a {
    color: #6b2c3f;
    font-weight: 600;
}

.help-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 15px;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-input {
        width: 100%;
    }
    
    .wine-list-section {
        padding: 20px 15px;
    }
    
    .wine-table th,
    .wine-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.3rem;
    }
    
    .dashboard-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ========================================
   END OF DASHBOARD STYLES
   ======================================== */

            .add-wine-container {
                max-width: 900px;
                margin: 40px auto;
                padding: 30px;
                background: white;
                border-radius: 12px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }

            .add-wine-header {
                text-align: center;
                margin-bottom: 40px;
                padding-bottom: 20px;
                border-bottom: 2px solid #6b2c3f;
            }

            .add-wine-header h1 {
                color: #6b2c3f;
                margin: 0 0 10px 0;
            }

            .form-section {
                margin-bottom: 40px;
                padding: 25px;
                background: #f8f9fa;
                border-radius: 8px;
                border-left: 4px solid #6b2c3f;
            }

            .form-section h2 {
                color: #6b2c3f;
                font-size: 1.3rem;
                margin: 0 0 20px 0;
            }

            .form-row {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
                margin-bottom: 20px;
            }

            .form-group {
                margin-bottom: 20px;
            }

            .form-group label {
                display: block;
                font-weight: 600;
                color: #333;
                margin-bottom: 8px;
            }

            .form-group label .required {
                color: #e74c3c;
            }

            .form-group input,
            .form-group textarea,
            .form-group select {
                width: 100%;
                padding: 12px;
                border: 1px solid #ddd;
                border-radius: 6px;
                font-size: 1rem;
                font-family: inherit;
                transition: border-color 0.3s;
            }

            .form-group input:focus,
            .form-group textarea:focus,
            .form-group select:focus {
                outline: none;
                border-color: #6b2c3f;
            }

            .form-group textarea {
                resize: vertical;
                min-height: 100px;
            }

            .form-group small {
                display: block;
                margin-top: 5px;
                color: #666;
                font-size: 0.9rem;
            }

            .form-actions {
                display: flex;
                gap: 15px;
                justify-content: center;
                margin-top: 40px;
                padding-top: 30px;
                border-top: 2px solid #e0e0e0;
            }

            .btn-submit,
            .btn-cancel {
                padding: 15px 40px;
                border: none;
                border-radius: 8px;
                font-size: 1.1rem;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s;
            }

            .btn-submit {
                background: #6b2c3f;
                color: white;
            }

            .btn-submit:hover {
                background: #8b4058;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(107, 44, 63, 0.3);
            }

            .btn-submit:disabled {
                background: #ccc;
                cursor: not-allowed;
                transform: none;
            }

            .btn-cancel {
                background: white;
                color: #6b2c3f;
                border: 2px solid #6b2c3f;
            }

            .btn-cancel:hover {
                background: #f8f9fa;
            }

            @media (max-width: 768px) {
                .add-wine-container {
                    margin: 20px 15px;
                    padding: 20px;
                }

                .form-row {
                    grid-template-columns: 1fr;
                }

                .form-actions {
                    flex-direction: column;
                }

                .btn-submit,
                .btn-cancel {
                    width: 100%;
                }
            }

/* Entry Method Selector */
.entry-method-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.method-btn {
    flex: 1;
    max-width: 300px;
    padding: 20px 30px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.method-btn:hover {
    border-color: #6b2c3f;
    transform: translateY(-2px);
}

.method-btn.active {
    background: #6b2c3f;
    color: white;
    border-color: #6b2c3f;
}

/* Entry Sections */
.entry-section {
    display: none;
}

.entry-section.active {
    display: block;
}

/* Upload Info */
.upload-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.upload-info h2 {
    color: #6b2c3f;
    margin-bottom: 15px;
}

.upload-info p {
    color: #666;
    line-height: 1.6;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.file-upload-area:hover {
    border-color: #6b2c3f;
    background: #f8f9fa;
}

.upload-placeholder {
    display: block;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.file-icon {
    font-size: 3rem;
}

.file-info {
    text-align: left;
}

.file-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.file-size {
    color: #666;
    font-size: 0.9rem;
}

.remove-file {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-file:hover {
    background: #c0392b;
}

/* Wine List Section */
.wines-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.wines-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.wines-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
}

.wines-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: #6b2c3f;
}

.btn-primary {
    background: #6b2c3f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #8b3c4f;
}

/* Loading and Empty States */
.loading-state, .empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.empty-state p {
    color: #666;
    margin: 0 0 25px 0;
}

/* Wines Table */
.wines-table {
    width: 100%;
    border-collapse: collapse;
}

.wines-table thead {
    background: #f8f9fa;
}

.wines-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.wines-table tbody tr {
    border-bottom: 1px solid #dee2e6;
    transition: background 0.2s;
}

.wines-table tbody tr:hover {
    background: #f8f9fa;
}

.wines-table td {
    padding: 15px 12px;
    vertical-align: middle;
}

.wine-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.wine-image-placeholder {
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.qr-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.qr-status.generated {
    background: #d4edda;
    color: #155724;
}

.qr-status.pending {
    background: #fff3cd;
    color: #856404;
}

.wine-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #f8f9fa;
    border-color: #6b2c3f;
}

.btn-action.qr {
    color: #6b2c3f;
}

.btn-action.edit {
    color: #0066cc;
}

.btn-action.delete {
    color: #dc3545;
}

.btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .wines-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wines-actions {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .wines-table {
        font-size: 13px;
    }
    
    .wines-table th,
    .wines-table td {
        padding: 8px 6px;
    }
}

/* ============================================================================
   END OF STYLESHEET
   Last updated: December 2025
   For BibiVini - Wine Education Platform
============================================================================ */