/* 
 * Brasserie de Rocles - Refined Amber & Malt
 * Rich amber-brown palette celebrating traditional brewing with organic credentials
 */

/* Custom Variables */
:root {
  /* Primary Color Palette - amber/brown focus */
  --amber-gold: rgba(221, 165, 80, 0.95);    /* Rich amber gold */
  --copper-brown: rgba(156, 94, 59, 0.92);   /* Deep copper brown */
  --caramel: rgba(186, 126, 77, 0.9);        /* Warm caramel */
  --deep-brown: rgba(65, 45, 31, 0.92);      /* Dark roasted malt brown */
  --cream: rgba(246, 241, 232, 0.97);        /* Warm cream */
  --moss: rgba(111, 127, 80, 0.85);          /* Subtle hop green */
  
  /* UI color applications */
  --primary: var(--amber-gold);
  --secondary: var(--deep-brown);
  --accent: var(--caramel);
  --light: var(--cream);
  --dark: #332820;
  --success: var(--moss);
  
  /* Typography - classic with character */
  --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-accent: 'Bebas Neue', Impact, sans-serif;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@300;400;600&family=Bebas+Neue&display=swap');

/* Base Styles */
body {
  font-family: var(--font-body);
  color: #332820;
  background-color: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.accent-font {
  font-family: var(--font-accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Header & Navigation */
.navbar {
  background-color: transparent !important;
  transition: all 0.3s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar.scrolled {
  background-color: rgba(65, 45, 31, 0.95) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--amber-gold) !important;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--amber-gold) !important;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background-color: var(--amber-gold);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 40vh; /* Keeping at 40vh as requested */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(65, 45, 31, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo {
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  max-width: 300px;
  margin-bottom: 2rem;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Organic Badge */
.organic-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(221, 165, 80, 0.2);
  border: 1px solid var(--amber-gold);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: white;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 1.5rem;
}

.organic-badge i {
  margin-right: 8px;
  color: var(--amber-gold);
}

/* Animate Logo */
@keyframes subtle-glow {
  0% { filter: drop-shadow(0 5px 15px rgba(221, 165, 80, 0.3)); }
  50% { filter: drop-shadow(0 5px 25px rgba(221, 165, 80, 0.6)); }
  100% { filter: drop-shadow(0 5px 15px rgba(221, 165, 80, 0.3)); }
}

.animate-logo {
  animation: subtle-glow 5s infinite ease-in-out;
}

/* Section Styling */
.content-section {
  padding: 5rem 0;
  position: relative;
}

.content-section.texture-bg {
  background-color: var(--cream);
  /* Removed background-image pattern */
}

.section-heading {
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--copper-brown), var(--amber-gold), var(--copper-brown));
}

/* Beer Feature Section */
.core-beers {
  position: relative;
}

.core-beers:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--deep-brown), var(--amber-gold), var(--deep-brown));
  opacity: 0.8;
}

/* Beer Cards */
.beer-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid rgba(186, 126, 77, 0.1);
  position: relative;
}

.beer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(156, 94, 59, 0.12);
}

.beer-card:hover .beer-details {
  border-top: 1px solid rgba(221, 165, 80, 0.5);
}

.beer-card:hover .beer-name {
  color: var(--amber-gold);
}

/* Updated beer image container to better constrain images */
.beer-image-container {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  background-color: #fcfaf7;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Ensure contents don't overflow */
}

.beer-image {
  max-height: 270px;
  max-width: 85%; /* Ensure images stay within container */
  width: auto;
  transition: all 0.5s ease;
  object-fit: contain; /* Maintain aspect ratio */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* OPTION 1: Subtle Elevation Effect - A gentle lift with enhanced shadow */
/*
.beer-card:hover .beer-image {
  transform: translateY(-8px);
  filter: drop-shadow(0 12px 20px rgba(156, 94, 59, 0.25));
}
*/

/* OPTION 2: Amber Glow Effect - Apply this instead of Option 1 if preferred */
/*
.beer-card:hover .beer-image {
  filter: drop-shadow(0 0 15px rgba(221, 165, 80, 0.6));
}
*/

/* OPTION 3: Background Highlight Effect - Apply this instead of Options 1 & 2 */
.beer-image-container {
  position: relative;
  transition: background-color 0.5s ease;
}

.beer-card:hover .beer-image-container {
  background-color: rgba(221, 165, 80, 0.08);
}

.beer-card:hover .beer-image {
  transform: scale(1.05);
}

.beer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--amber-gold);
  color: var(--deep-brown);
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 1.2px;
  font-weight: bold;
}

.beer-details {
  padding: 1.5rem;
  border-top: 1px solid rgba(186, 126, 77, 0.15);
}

.beer-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  color: var(--deep-brown);
}

.beer-style {
  color: var(--copper-brown);
  font-size: 0.9rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

.beer-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.beer-stat {
  background-color: rgba(221, 165, 80, 0.1);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--deep-brown);
  font-weight: 600;
}

.beer-description {
  color: #5a463a;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.beer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.beer-glass {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border: 2px solid rgba(221, 165, 80, 0.3);
}

.beer-glass::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background-color: var(--amber-gold);
  border-radius: 0 0 30px 30px;
  transition: height 0.8s ease;
}

.beer-card:hover .beer-glass::after {
  height: 75%;
}

/* Buttons */
.btn-primary {
  background-color: var(--amber-gold) !important;
  border-color: var(--amber-gold) !important;
  color: var(--deep-brown) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
}

.btn-primary:hover {
  background-color: #c88f3d !important;
  border-color: #c88f3d !important;
  box-shadow: 0 5px 15px rgba(221, 165, 80, 0.3);
}

.btn-outline-primary {
  border-color: var(--amber-gold) !important;
  color: var(--deep-brown) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.btn-outline-primary:hover {
  background-color: var(--amber-gold) !important;
  color: var(--deep-brown) !important;
}

.btn-outline-light {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.85rem;
}

/* Glass Card */
.glass-card {
  background-color: rgba(65, 45, 31, 0.85); /* Dark brown with transparency */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--amber-gold);
  color: white; /* Explicitly set text color to white */
}

.glass-card h2 {
  color: var(--amber-gold); /* Changed heading to amber gold for better contrast */
  margin-bottom: 1.25rem;
}

.glass-card .lead {
  color: white;
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.9); /* Slightly softer white for body text */
}

/* Terroir Feature Bar */
.terroir-feature {
  background-color: var(--secondary);
  padding: 1rem 0;
  color: white;
}

.terroir-feature .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.terroir-feature .feature-item i {
  color: var(--amber-gold);
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.terroir-feature .feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

/* Events Section */
.bg-light {
  background-color: #fff !important;
}

.event-date {
  background: linear-gradient(to bottom, var(--amber-gold), #c88f3d);
  color: var(--deep-brown);
  height: 100%;
  padding: 1rem 0.5rem;
  text-align: center;
  font-family: var(--font-accent);
}

.event-month {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
}

.event-day {
  font-size: 1.8rem;
  font-weight: 700;
}

.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
  color: var(--deep-brown);
  font-weight: 700;
}

.card-text {
  color: #5a463a;
}

/* Footer */
footer {
  background: linear-gradient(to bottom, var(--deep-brown), #332217) !important;
  color: white;
  border-top: 3px solid var(--amber-gold);
}

footer h5 {
  color: var(--amber-gold);
  font-family: var(--font-accent);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  margin: 0 0.7rem;
  transition: all 0.3s ease;
}

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

/* Language Selector */
.lang-selector .btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-selector .btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.dropdown-menu {
  background-color: white;
  border: none;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0.3rem;
}

.dropdown-item {
  color: var(--deep-brown);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 4px;
}

.dropdown-item:hover {
  background-color: rgba(221, 165, 80, 0.1);
}

.dropdown-item.active {
  background-color: var(--amber-gold) !important;
  color: var(--deep-brown) !important;
}

/* Amber divider */
.amber-divider {
  height: 3px;
  background: linear-gradient(to right, transparent, var(--amber-gold), transparent);
  margin: 2.5rem 0;
  opacity: 0.6;
}

/* Production process markers */
.process-steps {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--amber-gold);
}

.process-steps h6 {
  color: var(--amber-gold);
}

.process-steps p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95); /* Near white text for readability */
}

/* Swiper Carousel Styling */
.beer-carousel {
    padding: 30px 50px;
    margin-bottom: 40px;
    position: relative;
}

.swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    transform: scale(0.85);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.beer-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.beer-image-container {
    position: relative;
    padding: 20px;
    background: linear-gradient(to bottom, #f9f9f9, #fff);
    text-align: center;
}

.beer-image {
    max-height: 280px;
    max-width: 100%;
}

.beer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #d4a017;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.beer-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.beer-name {
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 700;
}

.beer-style {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.beer-stats {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.beer-stat {
    margin-right: 15px;
    padding: 3px 10px;
    background-color: #f8f8f8;
    border-radius: 20px;
}

.beer-description {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}

.beer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Swiper navigation styling */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    --swiper-navigation-size: 22px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.swiper-pagination-bullet {
    background: #d4a017;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #d4a017;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .beer-carousel {
        padding: 20px 30px;
    }
    
    .beer-image {
        max-height: 220px;
    }
}

@media (max-width: 576px) {
    .beer-carousel {
        padding: 15px 20px;
    }
}