/* === SECTION BASE === */
.brand-history-section {
  position: relative;
  background-color: #fdf9f4;
 
  
}

/* === ANIMATED BORDER TEXT === */
.border-text-animation {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.marquee {
  position: absolute;
  
  font-size: 1rem;
  color: #c9a368;
  white-space: nowrap;
  letter-spacing: 0.4em;
  word-spacing: 1em;
  opacity: 0.5;
  overflow: hidden;
}

.border-top, .border-bottom {
  width: 100%;
  left: 0;
  border-top: 1px solid #c9a368;
}
.border-top { top: 0; }
.border-bottom {
  bottom: 0;
  border-top: none;
  border-bottom: 1px solid #c9a368;
}

.border-top span,
.border-bottom span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-horizontal 20s linear infinite;
}
.border-bottom span {
  animation-direction: reverse;
}

.border-left, .border-right {
  height: 100%;
  top: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.border-left {
  left: 0;
  border-left: 1px solid #c9a368;
}
.border-right {
  right: 0;
  border-right: 1px solid #c9a368;
}

.border-left span,
.border-right span {
  display: inline-block;
  padding-top: 100%;
  animation: scroll-vertical 20s linear infinite;
}
.border-left span {
  animation-direction: reverse;
}

@keyframes scroll-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes scroll-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* === CENTERED IMAGE === */
.brand-image-center {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -20%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.brand-image-wrapper {
  position: relative;
  width: 30vw;
  max-width: 600px;
  border: 3px solid transparent;
  animation: borderFade 1.5s ease forwards;
  z-index: 2;
}

.brand-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.image-border-anim {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 4px solid #c9a368;
  box-sizing: border-box;
  animation: borderFadeIn 1.2s ease-out forwards;
}

.brand-name-anim {
  position: absolute;
  top: -2rem;
  left: 0;
  font-size: 1.5rem;
  color: #c9a368;
  
  opacity: 0;
  animation: fadeUpIn 1.5s ease-out 0.5s forwards;
}

/* === FLOATING RIGHT CATCHCOPY === */
.vertical-catchcopy {
  position: absolute;
  top: 10%;

  right: 10vw;
  transform: translateY(-20%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.vertical-text {
  writing-mode: vertical-rl;
  
  font-size: 2rem;
  color: #333;
  line-height: 2;
}

.year-count {
  font-size: 3rem;
  color: #999;
  margin-top: 1rem;
  writing-mode: horizontal-tb;
  padding-bottom: 40%;
 
}

.year-count span {
  font-size: 4rem;
  color: #c9a368;
  font-weight: bold;
}
.year-count span {
  display: inline-block;
  font-size: 4rem;
  font-weight: bold;
  color: #c9a368;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.year-count span.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === LEFT SIDE TEXT === */
.brand-history-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: 5vw;
}

.brand-history-left {
  flex: 1;
  padding: 5rem;
  margin-right: 50%;
}

.brand-heading {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.brand-subtitle-img {
  max-width: 300px;
  height: auto;
  margin-bottom: 30px;
  display: block;
}


.brand-points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.brand-points li {
  position: relative;
  font-size: .8rem;
  line-height: 1.6;
  padding-left: 1.2em;
  margin-bottom: 10px;
}

.brand-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c9a369;
}

.more-button {
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid rgb(201, 163, 104);
  color: #c9a368;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.more-button:hover {
  background-color: #c9a368;
  color: white;
}

/* === FADE ANIMATIONS === */
@keyframes borderFadeIn {
  0% { opacity: 0; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeUpIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes borderFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
/* === TIMELINE WRAPPER === */
.timeline-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 60px 20px 40px;
  display: flex;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
 
}

/* === MAIN TIMELINE CONTAINER === */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  position: relative;
  padding-bottom: 40px;
  min-width: max-content;
}

/* === HORIZONTAL LINE WITH ARROW === */
.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  z-index: 0;
}

.timeline::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  z-index: 1;
}

/* === TIMELINE EVENT ITEM === */
.timeline-event {
  position: relative;
  text-align: center;
    justify-content: center;
  animation: fadeUp 1s ease both;
  z-index: 1;
}

/* === YEAR CIRCLE === */
.bubble {
  background-color: #fff;
  border: 2px solid #333;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  line-height: 90px;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;

}
/* Initial hidden state for both */
.timeline-event .bubble,
.timeline-event .label {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

/* Revealed state */
.timeline-event.reveal .bubble,
.timeline-event.reveal .label {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: hover effect only for bubble */
.timeline-event .bubble:hover {
  transform: scale(1.1) rotate(360deg);
}



/* === LABEL UNDER CIRCLE === */
.label {
  font-size: small;
  color: #333;
  margin-top: 5px;
  white-space: nowrap;
  padding: 0;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.brand-history-fullimage {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.brand-history-fullimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(8px) brightness(.4);
  display: block;
}
.brand-history-overlay {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;

}

.brand-history-left.overlay-version,
.vertical-catchcopy.overlay-version {
  pointer-events: auto;
 
}

.brand-history-left.overlay-version {
 
  padding: 2rem;
  border-radius: 10px;
  color: #fff;
}

.vertical-catchcopy.overlay-version {
  position: relative;
  right: 0;
  top: 0;
  transform: none;
  
}
.brand-history-left.overlay-version,
.brand-history-left.overlay-version .brand-heading,
.brand-history-left.overlay-version .brand-subtitle-img,
.brand-history-left.overlay-version .brand-points li,
.brand-history-left.overlay-version .more-button {
  color: #fff; /* or any other desired color */
}

.vertical-catchcopy.overlay-version .year-count,
.vertical-catchcopy.overlay-version .vertical-text {
  color: #fff; /* or adjust to any light/dark tone you want */
}

.brand-history-left.overlay-version .more-button {
  border-color: #fff;
}
.brand-history-left.overlay-version .more-button:hover {
  background-color: #fff;
  color: #000;
}
.brand-history-centered-text {
  position: absolute;
 top: 85%;
  left: 50%;
  transform: translate(-50%, -85%);
  color: white;
  text-align: left;
  max-width: 550px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.242);
  border-radius: 12px;
 
  z-index: 5;
  line-height: 1.8;
  font-size: 1rem;
}

.brand-history-centered-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fdf2dc;
  letter-spacing: 0.05em;
}

.brand-history-centered-text p {
  margin-bottom: 1.5rem;
}

.store-info {
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.174);
  padding: 1rem;
  border-radius: 8px;
  color: #ffe;
}
