/* ============================================
   BEER COLLECTION PAGE - PREMIUM STYLES
   ============================================ */

/* ============================================
   BEER HERO SECTION
   ============================================ */
.beer-hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
}

.beer-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/beer-hero-image.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.beer-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: -1;
}

.beer-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.decorative-line {
  width: 80px;
  height: 2px;
  background: var(--primary-gold);
  margin: 0 auto 30px;
}

.section-decoration {
  width: 80px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto 30px;
}

.beer-hero .hero-title {
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.beer-hero .hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 25px;
  font-weight: 300;
}

.beer-hero .hero-location {
  font-size: 16px;
  color: var(--primary-gold);
  margin-bottom: 40px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.location-icon {
  font-size: 18px;
}

.beer-hero .hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-icon {
  font-size: 18px;
}

/* ============================================
   BEER CATEGORIES SECTION
   ============================================ */
.beer-categories {
  background: var(--cream);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  color: var(--primary-navy);
  margin-bottom: 20px;
  font-size: 42px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.category-card {
  background: #000000; /* Dark black background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-gold); /* Add gold border on hover */
}

.category-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-content {
  padding: 30px;
  background: #000000; /* Black background for content area */
}

.category-content h3 {
  color: white; /* White text */
  margin-bottom: 15px;
  font-size: 28px;
  font-family: 'Playfair Display', serif;
}

.category-description {
  color: rgba(255, 255, 255, 0.85); /* White with slight transparency */
  margin-bottom: 25px;
  line-height: 1.6;
}

.category-details {
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05); /* Subtle white overlay on black */
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle gold border */
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  color: var(--primary-gold); /* Gold for labels */
}

.detail-value {
  color: rgba(255, 255, 255, 0.9); /* White text */
  text-align: right;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 14px;
  background: rgba(128, 0, 32, 0.3); /* Burgundy with transparency */
  color: white; /* White text */
  font-size: 12px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid var(--primary-burgundy);
}

/* ============================================
   BEER STYLES GUIDE SECTION
   ============================================ */
.beer-styles-guide {
  padding: 100px 0;
  background: white;
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 60px;
}

.style-card {
  background: var(--cream);
  padding: 35px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.style-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.style-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.style-card h4 {
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-size: 22px;
  font-family: 'Cinzel', serif;
}

.style-description {
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 15px;
}

.style-details {
  background: white;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.style-details p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-medium);
}

.style-details strong {
  color: var(--primary-burgundy);
  font-weight: 600;
}

.style-pairing {
  font-size: 14px;
  color: var(--text-dark);
  margin-top: 15px;
}

.style-pairing strong {
  color: var(--primary-gold);
}

/* ============================================
   FOOD PAIRING SECTION
   ============================================ */
.beer-food-pairing {
  padding: 100px 0;
  background: var(--cream);
}

.pairing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 60px;
}

.pairing-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.pairing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pairing-image {
  height: 200px;
  overflow: hidden;
}

.pairing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pairing-card:hover .pairing-image img {
  transform: scale(1.1);
}

.pairing-content {
  padding: 25px;
}

.pairing-content h4 {
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-size: 20px;
  font-family: 'Cinzel', serif;
}

.food-item {
  color: var(--text-medium);
  font-size: 14px;
  margin-bottom: 12px;
}

.beer-rec {
  font-size: 14px;
  margin-bottom: 10px;
}

.beer-rec strong {
  color: var(--primary-gold);
}

.pairing-why {
  font-size: 13px;
  color: var(--text-medium);
  font-style: italic;
}

.pairing-why strong {
  color: var(--primary-burgundy);
  font-style: normal;
}

/* ============================================
   DUAL CTA SECTION
   ============================================ */
.dual-cta-section {
  padding: 80px 0;
  background: var(--cream);
}

.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-column {
  text-align: center;
  padding: 50px 40px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.cta-column:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cta-text {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1.4;
}

.cta-column .btn-primary {
  padding: 16px 40px;
  background: var(--gradient-gold);
  color: var(--primary-navy);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-column .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* ============================================
   BEER EDUCATION SECTION
   ============================================ */
.beer-education {
  padding: 100px 0;
  background: white;
}

.education-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--primary-gold);
}

.accordion-header {
  width: 100%;
  padding: 25px 30px;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.accordion-header:hover {
  background: var(--off-white);
}

.accordion-header.active {
  background: var(--cream);
}

.accordion-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.accordion-header h4 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  color: var(--primary-navy);
  font-family: 'Cinzel', serif;
}

.accordion-toggle {
  font-size: 28px;
  color: var(--primary-gold);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 30px;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 0 30px 30px;
}

.accordion-content h5 {
  font-size: 16px;
  color: var(--primary-burgundy);
  margin: 20px 0 12px;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accordion-content ul, .accordion-content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.accordion-content li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text-medium);
}

.accordion-content p {
  margin-bottom: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ============================================
   WHY BEER SECTION
   ============================================ */
.why-beer {
  padding: 100px 0;
  background: var(--primary-navy);
  color: white;
}

.why-beer .section-title {
  color: white;
}

.why-beer .section-subtitle {
  color: rgba(255,255,255,0.9);
}

.why-beer .section-decoration {
  background: var(--primary-gold);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.benefit-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.benefit-card h4 {
  color: var(--primary-gold);
  margin-bottom: 15px;
  font-size: 20px;
  font-family: 'Cinzel', serif;
}

.benefit-card p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.beer-faq {
  padding: 100px 0;
  background: var(--cream);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-question.active {
  background: var(--cream);
}

.faq-question h4 {
  margin: 0;
  font-size: 18px;
  color: var(--primary-navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  flex: 1;
}

.faq-icon {
  font-size: 24px;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 30px;
}

.faq-answer.active {
  max-height: 800px;
  padding: 0 30px 25px;
}

.faq-answer p {
  margin-bottom: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

.faq-answer ul {
  margin: 15px 0;
  padding-left: 25px;
}

.faq-answer li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-medium);
}

.faq-answer strong {
  color: var(--primary-burgundy);
}

.faq-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid var(--light-gray);
}

.faq-cta p {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-weight: 500;
}

/* ============================================
   SEO CONTENT SECTION
   ============================================ */
.seo-content {
  padding: 100px 0;
  background: white;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.seo-content h2 {
  color: var(--primary-navy);
  font-size: 36px;
  margin-bottom: 25px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.seo-content h3 {
  color: var(--primary-burgundy);
  font-size: 24px;
  margin: 35px 0 15px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.seo-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 20px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.beer-cta {
  padding: 100px 0;
  background: var(--cream);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  color: var(--primary-navy);
  font-size: 42px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.cta-content > p {
  font-size: 20px;
  color: var(--text-medium);
  margin-bottom: 50px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.cta-box {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cta-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta-box h4 {
  color: var(--primary-burgundy);
  margin-bottom: 15px;
  font-size: 20px;
  font-family: 'Cinzel', serif;
}

.cta-box p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 10px;
}

.cta-box a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-box a:hover {
  color: var(--primary-burgundy);
}

.cta-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.cta-link:hover {
  transform: translateX(5px);
}

.hours-note {
  font-size: 13px;
  font-style: italic;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box a[href^="mailto"] {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta-box a[href^="mailto"]:hover {
  color: var(--primary-burgundy);
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pairing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dual-cta-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .beer-hero {
    height: 70vh;
    min-height: 500px;
    margin-top: 100px; /* Account for fixed navbar on mobile (45px logo + 32px padding) + extra spacing for better visual separation */
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
  }
  
  .beer-hero .hero-background,
  .beer-hero .hero-overlay {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .beer-hero .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--spacing-sm) !important;
    padding-right: var(--spacing-sm) !important;
    box-sizing: border-box !important;
  }
  
  .beer-hero .hero-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .beer-hero .hero-cta .btn-primary,
  .beer-hero .hero-cta .btn-secondary {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .beer-hero .hero-cta .btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    font-size: 0.8125rem !important;
    padding: 16px 16px !important;
    box-sizing: border-box !important;
  }
  
  .beer-hero .hero-cta .btn-secondary .phone-icon {
    font-size: 16px !important;
    flex-shrink: 0;
  }
  
  .beer-categories,
  .beer-styles-guide,
  .beer-food-pairing,
  .beer-education,
  .why-beer,
  .beer-faq,
  .seo-content,
  .beer-cta {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .styles-grid {
    grid-template-columns: 1fr;
  }
  
  .pairing-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .dual-cta-section {
    padding: 60px 0;
  }
  
  .dual-cta-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 30px;
  }
  
  .cta-column {
    padding: 40px 30px;
  }
  
  .cta-text {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .cta-column .btn-primary {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 15px;
  }
  
  .beer-cta .cta-buttons .btn-primary,
  .beer-cta .cta-buttons .btn-secondary {
    width: 90%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  /* Make contact boxes responsive for smaller screens */
  .cta-box {
    padding: 30px 20px;
    min-height: auto;
    height: auto;
  }
  
  .cta-grid {
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .beer-cta {
    padding: 40px 0;
  }
  
  .cta-content > p {
    margin-bottom: 30px;
    font-size: 18px;
  }
  
  .accordion-header {
    padding: 20px;
  }
  
  .accordion-content {
    padding: 0 20px;
  }
  
  .accordion-content.active {
    padding: 0 20px 20px;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-answer.active {
    padding: 0 20px 20px;
  }
  
  .seo-content h2 {
    font-size: 28px;
  }
  
  .seo-content h3 {
    font-size: 20px;
  }
  
  .cta-content h2 {
    font-size: 32px;
  }
}

/* ============================================
   SMALL MOBILE (max-width: 430px) - Fix contact box cutoff
   ============================================ */
@media (max-width: 430px) {
  .beer-cta {
    padding: 30px 0 !important;
  }
  
  .cta-content {
    padding: 0 10px;
  }
  
  .cta-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .cta-content > p {
    font-size: 16px;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  .cta-grid {
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .cta-box {
    padding: 25px 16px !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .cta-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  .cta-box h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .cta-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
  }
  
  .cta-buttons {
    gap: 12px;
    padding: 0 10px;
  }
  
  .beer-cta .cta-buttons .btn-primary,
  .beer-cta .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
    font-size: 0.8125rem;
  }
}

/* ============================================
   FADE IN ANIMATIONS
   ============================================ */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

