/* === Font Import for Vintage Logo === */
@font-face {
  font-family: "Veneer";
  src: url("./OpenType-PS/Thunder-BoldLC.otf") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "secondary-font";
  src: url("./PP-Mori/PPMori-Regular.otf") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* === CSS Variables: Global Colors === */
:root {
  --sienna: #b10e0e;
  --sienna-2: #852727;
  --white: #ffffff;
  --black: #000000;
  --tan: #c19f7a;
  --papaya-whip: #eae0c7;
}

/* === Global Reset === */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Utility: visually hidden (accessible text for screen readers) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* === Body Styling === */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--papaya-whip);
  color: var(--black);
}

/* === Header Bar === */
header {
  /* position: sticky; 
  top: 0; */
  z-index: 999;
  background-color: var(--papaya-whip);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Bottom border animation (controlled via JS) */
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: var(--border-width);
  background-color: var(--tan);
}

/* Header content layout */
.header-inner {
  /* max-width: 1280px; */
  margin: 0 auto;
  padding: 1.2rem 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Text */
.logo {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 2.5rem;
  color: var(--sienna);
  letter-spacing: 1px;
}

/* Desktop Nav Menu */
nav {
  display: flex;
  gap: 2.5rem;
}

/* Nav Link Styling */
nav a {
  font-weight: bold;
  color: var(--sienna);
  text-decoration: none;
  font-size:large;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--black);
}

/* Hamburger Icon (hidden by default) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 26px;
  height: 3px;
  background: var(--black);
}

/* Mobile Nav Menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--sienna);
  padding: 1rem 2rem;
  border-top: 1px solid var(--tan);
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--papaya-whip);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: #fff;
}

/* === Main Content Wrapper === */
main {
  /* padding-left: 103px;  */
  position: relative;
}

/* === Vertical Social Media Sidebar === */
.social-sidebar {
  position: absolute;
  width: 103px;
  top: 0;
  left: 0;
  z-index: 900;
  margin: 0 auto;
  padding: 2rem;
  height: 100%;
  background-color: var(--papaya-whip);
}

/* Sidebar right border animation */
.social-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: var(--border-height);
  width: 1px;
  background-color: var(--tan);
}

/* Sticky icon stack */
.social-sidebar nav {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
}

/* Individual Social Icons */
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sienna);
  border-radius: 50%;
  background-color: var(--papaya-whip);
  color: var(--sienna);
  transition: background 0.3s ease, color 0.3s ease;
}

.social-sidebar a:hover {
  background-color: var(--sienna);
  color: var(--papaya-whip);
}

.social-sidebar svg {
  width: 18px;
  height: 18px;
}

/* === Responsive Sidebar Behavior for Mobile === */
@media (max-width: 768px) {
  main {
    padding-left: 0;
  }

  .social-sidebar {
    position: sticky;
    top: unset;
    padding: 1rem;
    bottom: 0;
    width: 100%;
    height: 80px;
  }

  .social-sidebar nav {
    position: relative;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .social-sidebar::after {
    width: 100%;
    height: 1px;
  }
}

/* === Footer Section === */
.new-footer {
  background-color: #8C1818;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo h2 {
  font-family: "Veneer", serif;
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
  line-height: 1;
  margin: 0;
  color: white;
}
/* 
.footer-trophy {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: auto;
} */

.footer-wheat {
  position: absolute;
  top: -15px;
  left: -20px;
  width: 35px;
  height: auto;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-social a {
  color: white;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.nav-separator {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  font-size: 0.9rem;
  opacity: 0.9;
}

.dev-link {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.dev-link:hover {
  border-color: white;
}

@media (max-width: 768px) {
  .new-footer {
    padding: 2rem 1rem;
  }
  
  .footer-nav {
    gap: 0.75rem;
  }
  
  .footer-social {
    gap: 1rem;
  }
  
  .footer-logo h2 {
    font-size: 1.75rem;
  }
}

/* === Responsive Header Behavior === */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav.show {
    display: flex;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: calc(50rem - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--papaya-whip);
  background-size: cover;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Big Heading Animation Target */
.hero-content h1 {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: clamp(8rem, 16vw, 12rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0.5rem 0;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--sienna);
  opacity: 0;
}

.hero-content .line {
  display: block;
}

/* Bottle wrapper for scroll animation */
.hero-bottle-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  height: 45rem;
  width: 100%;
  z-index: 4;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Actual bottle image */
.hero-bottle {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  height: 100%;
  margin: 0 auto;
  filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.15));
  transform: rotate(20deg);
  transition: filter 0.3s ease;
 
}
.captain-float{
   animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0% { transform: translateY(0) ; }
  50% { transform: translateY(-12px) ; }
  100% { transform: translateY(0) ; }
}

/* Hero stamp image animation target */
.hero-stamp {
  position: absolute;
  left: 11%;
  top: -15%;
  right: 0;
  z-index: 5;
  transform: translate(-50%, -50%) rotate(-20deg) scale(100);
  opacity: 0;
  max-width: 150px;
  filter: brightness(0.5);
}

/* === Responsive Hero Section === */
@media (max-width: 768px) {
  .hero {
    min-height: calc(30rem - 80px);
  }

  .hero-bottle-wrapper {
    height: 25rem;
  }

  .hero-stamp {
    max-width: 100px;
  }

  .hero-content h1 {
    font-size: 15vw;
  }
}

/* === Intro Section (below hero) === */
.section-intro {
  background-color: var(--papaya-whip);
  border-top: 1px solid var(--tan);
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
}

/* === Intro Section Grid Layout === */
.intro-grid {
  display: flex;
  align-items: center;
  gap: 4rem;
  justify-content: space-between;
}

/* Left and Right Columns in Intro Section */
.intro-left,
.intro-right {
  max-width: 30%;
}

/* Section Label Above Main Heading */
.small-title {
  font-family: "Inter", sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sienna-2);
  margin-bottom: 1rem;
}

/* Main Heading: Heritage Line */
.main-heading {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 4.5rem;
  line-height: 1.2;
  color: var(--sienna);
  margin-bottom: 1.5rem;
}

/* Intro Paragraph Description */
.description {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Call-to-Action Button */
.cta-box {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--sienna);
  background-color: var(--sienna);
  color: var(--papaya-whip);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
  border-radius: 50px !important;
}

.cta-box:hover {
  background-color: var(--papaya-whip);
  color: var(--sienna);
}

/* === Responsive Intro Section === */
@media (max-width: 768px) {
  .intro-grid {
    text-align: center;
    flex-direction: column;
    gap: 5rem;
  }

  .intro-left,
  .intro-right {
    max-width: 100%;
    width: 100%;
  }

  .intro-left {
    padding-right: 0;
  }

  .main-heading {
    font-size: 2.5rem;
  }
}

/* === Ingredients Log Container === */
.ingredients-log {
  background: transparent;
  padding: 1rem 0;
}

/* Ingredients Section Title */
.ingredients-title {
  font-family: "Veneer", serif;
  font-size: 1.75rem;
  color: var(--sienna);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 1px;
}

/* Single Ingredient Entry Layout */
.ingredient-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Quantity Value (e.g. 500ml) */
.ingredient-qty {
  font-family: "Veneer", serif;
  font-size: 2.5rem;
  color: var(--sienna-2);
  min-width: 90px;
  text-align: left;
  line-height: 1;
}

/* Textual Description of Ingredient */
.ingredient-text {
  max-width: 400px;
}

.ingredient-text strong {
  font-family: "Veneer", serif;
  font-size: 2.2rem;
  color: var(--sienna);
  display: block;
  margin-bottom: 0.2rem;
}

.ingredient-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

/* === Responsive Ingredients Layout === */
@media (max-width: 768px) {
  .ingredient-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .ingredient-qty {
    font-size: 2rem;
    text-align: center;
  }

  .ingredient-text {
    max-width: 100%;
  }

  .ingredients-title {
    text-align: center;
    font-size: 2.5rem;
  }
}

/* === Timeline Section === */
.timeline-section {
  padding: 6rem 0rem 3rem;
  border-top: 1px solid var(--tan);
  display: flex;
  flex-direction: column;
}

/* Each Timeline Entry Block */
.timeline-entry {
  margin: 0;
  padding: 0 2rem 0;
  display: flex;
  gap: 3rem;
  align-items: center;
  min-height: 600px;
  max-width: 70%;
}

/* Alternate Entry Layout (odd/even) */
.timeline-entry:nth-child(odd) {
  margin-left: auto;
}

.timeline-entry:nth-child(odd) .timeline-left {
  order: 2;
}

.timeline-entry:nth-child(odd) .timeline-right {
  order: 1;
}

.timeline-entry:nth-child(even) {
  margin-right: auto;
}

.timeline-entry:last-child {
  margin-bottom: 0rem;
}

/* Main Section Title (Big Year Heading) */
.timeline-main-title {
  padding: 0 2rem 0rem;
  font-weight: 100;
  font-family: "Veneer", serif;
  font-size: 10rem;
  line-height: 1.2;
  color: var(--sienna);
  margin-bottom: 2.5rem;
}

/* Left Side of Timeline: Year + Image */
.timeline-left {
  /*flex: 0 0 300px;*/
  text-align: center;
}

.timeline-date {
  font-family: "Veneer", serif;
  font-size: 4rem;
  color: var(--sienna);
  line-height: 1;
  transform: translateY(30px); /* initial offset for animation */
}

.timeline-img {
  width: 100%;
  max-width: 400px;
  border: 3px solid var(--sienna-2);
  padding: 0.5rem;
  background-color: var(--papaya-whip);
  box-shadow: 4px 4px 0 var(--sienna);
}

/* Right Side of Timeline: Text Content */
.timeline-right {
  flex: 1;
  max-width: 400px;
}

.timeline-title {
  font-family: "Veneer", serif;
  font-size: 4rem;
  color: var(--sienna);
  margin-bottom: 1rem;
}

.timeline-description {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.6;
}

/* === Responsive Timeline Section === */
@media (max-width: 768px) {
  .timeline-section {
    padding: 3rem 0rem 3rem;
  }

  .timeline-main-title {
    font-size: 4rem;
    text-align: center;
  }

  .timeline-entry {
    flex-direction: column;
    text-align: center;
    margin: 0 auto 2rem;
    gap: 1rem;
    max-width: 100%;
    min-height: unset;
  }

  .timeline-left {
    margin-bottom: 2rem;
  }

  .timeline-title {
    font-size: 2.5rem;
  }
  .timeline-date {
    font-size: 3rem;
  }

  .timeline-entry:nth-child(odd) .timeline-right {
    order: 2;
  }
}

/* === Making Process Section === */
.section-making {
  padding: 1rem 2rem;
  background-color: var(--papaya-whip);
  border-top: 1px solid var(--tan);
}

.making-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.making-title {
  text-align: center;
  margin-bottom: 1rem;
}

.making-title .subtitle {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sienna-2);
  margin-bottom: 1rem;
}

.making-title .title {
  display: block;
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 4rem;
  color: var(--sienna);
}

.making-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
}

.making-steps {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  position: relative;
}

.making-step {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* gap: 4rem; */
  /* opacity: 0.85; */
  transition: opacity 0.3s ease;
}

.making-step:hover {
  opacity: 1;
}

/* Alternate step layout */
.making-step:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

/* .step-content {
  flex: 1;
} */

/* start hidden for entrance animations; JS/GSAP will animate to visible */
.making-step .step-content {
  opacity: 0;
  transform: translateX(40px);
}

.step-number {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sienna-2);
  margin-bottom: 1rem;
  display: block;
}

.step-content h3 {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 2rem;
  color: var(--sienna);
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--black);
  max-width: 400px;
}

.making-step:nth-child(even) .step-content p {
  margin-left: auto;
}

.step-icon {
  width: 300px;
  height: 300px;
  object-fit: contain;
  filter: brightness(1);
  /* transition: filter 0.3s ease, transform 0.3s ease; */
}

.making-step:hover .step-icon {
  filter: brightness(1);
  transform: scale(1.05);
}

/* Responsive Making Process Section */
@media (max-width: 768px) {
  .section-making {
    padding: 4rem 2rem;
  }

  .making-title .title {
    font-size: 2.5rem;
  }

  .making-steps {
    gap: 4rem;
  }

  .making-step,
  .making-step:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .step-content p,
  .making-step:nth-child(even) .step-content p {
    margin: 0 auto;
  }

  .step-icon {
    margin: 0 auto;
  }
}

.captain-description{
  border-top: 1px solid var(--tan);
  padding: 1rem 2rem;
  min-height: 75vh;
}
@media (min-width:768px) {
  .captain-left{
  max-width: 50%;
}
.nutrition-container{
  width: 50%;
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;


}
.step-content h3 {
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size: 4rem;
  color: var(--sienna);
  margin-bottom: 1rem;
}
}



/* Style of three icons */
.nutrition-container{

  display: flex;
  justify-content: space-between;
  margin-top: 2rem;


}
.nutrition-block{
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 0.5rem;
  font-family: "Veneer", serif;
  font-weight: 100;
  font-size:18px;
  color: var(--sienna);
}
.circle-icon{
  width: 80px;
  height: 80px;
  /* border: 2px solid var(--sienna); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* background-color: #fff; */

}
.section-outro{
  background-color: var(--papaya-whip);
  border-top: 1px solid var(--tan);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.circle-shop{
  width: 150px;
  height: 150px;
  border: 2px solid var(--sienna);
  border-radius: 50%;
}

/* Image Gallery Section */
.image-gallery {
  background-color: var(--papaya-whip);
  border-top: 1px solid var(--tan);
  padding: 2rem 1rem;
}

.gallery-grid {
  /* max-width: 1280px;
  margin: 0 auto; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.gallery-grid1 {
  /* max-width: 1280px;
  margin: 0 auto; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 2rem; */
}

.gallery-item {
  position: relative;
  overflow: hidden;
  /* aspect-ratio: 4/3; */
  cursor: pointer;
}
.gallery-item1 {
  position: relative;
  overflow: hidden;
  /* aspect-ratio: 4/3; */
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 2rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-family: "Veneer", serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video Gallery / Fullscreen responsive video */
.video-gallery {
  position: relative;
  width: 100%;
  min-height: 100vh; /* occupy full viewport height */
  display: block;
  overflow: hidden;
  border-top: 1px solid var(--tan);
  /* background-color: #000;  */
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* scale/crop to fill container responsively */
  z-index: 1;
  /* background-color: #000; */
}

.video-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* allow button to opt-in */
}

.video-inner {
  text-align: center;
  color: var(--white);
  pointer-events: auto; /* enable interactions for overlay elements */
  padding: 2rem;
}

.video-title {
  font-family: "Veneer", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 0 0 0.5rem 0;
  color: rgba(255,255,255,0.95);
}

.video-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.video-mute {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  pointer-events: auto;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

.video-mute:focus {
  outline: 2px solid var(--tan);
}

@media (max-width: 768px) {
  .video-mute {
    right: 1rem;
    bottom: 1rem;
    padding: 0.5rem 0.7rem;
  }

  .video-title {
    font-size: 1.6rem;
  }
  .header-inner{padding: 1.2rem 1rem;}
  .gallery-grid1{grid-template-columns: repeat(1, 1fr);}
}
