/* ===== CSS Variables ===== */
:root {
  --primary: #8b5a2b;
  --white: #ffffff;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #4a4a4a;
  line-height: 1.7;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

/* ===== Typography ===== */
.playfair {
  font-family: "Playfair Display", serif;
}

/* ===== Hero Section ===== */
.beverage-hero {
  height: 103vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
}

.beverage-parallax {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/gallery/take_five/22.webp");
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 5px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-line {
  width: 150px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
  position: relative;
}

.hero-line::before,
.hero-line::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  transform: translateY(-50%);
}

.hero-line::before {
  left: -5px;
}
.hero-line::after {
  right: -5px;
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 2;
}

.scroll-indicator span {
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  position: relative;
}

.scroll-arrow::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

.gallery-section {
  background: #f3f3f0;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-flow: dense;
  gap: 0;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #ddd;
  min-height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive grid sizing */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1025px) {
            .gallery-grid {
                grid-template-columns: repeat(6, 1fr);
            }
        }

        /* Item variations */
        .span-1 { grid-row: span 1; grid-column: span 1; }
        .span-2 { grid-row: span 1; grid-column: span 2; }
        .span-tall { grid-row: span 2; grid-column: span 1; }
        .span-wide-tall { grid-row: span 2; grid-column: span 2; }

         @media (max-width: 480px) {
            .span-2 {
                grid-column: span 2;
            }
            .span-wide-tall {
                grid-column: span 2;
                grid-row: span 2;
            }
            .span-tall {
                grid-row: span 2;
            }
        }

        @media (min-width: 481px) and (max-width: 768px) {
            .span-2 {
                grid-column: span 2;
            }
            .span-wide-tall {
                grid-column: span 2;
                grid-row: span 2;
            }
            .span-tall {
                grid-row: span 2;
            }
        }
