/* === CSS Variables: Global Colors === */
:root {
  --white: #ffffff;
  --black: #000000;
}


/* === Body Styling === */
body {
  color: var(--black);
  overflow-x: hidden;
}

p {
  font-size: 16px;
}


/* === Main Content Wrapper === */
main {
  position: relative;
}

.ptz-banner-container {
  height: 51rem;
  /* background-color: pink; */
  z-index: 100;
}

.ptz-banner-inner-container {
  height: 100%;
  background-image: url(./aniston-ptz-camera-banner.jpg);
  background-size: cover;
  background-position-y: 80%;
  /* padding: 0 0 0 25rem; */
  position: relative;
  opacity: 0;
  animation: fadeInBg 2s ease-in forwards;
}

.ptz-banner-heading {
  position: absolute;
  bottom: 10rem;
  left: 25rem;
  opacity: 0;
  width: 35rem;
  transform: translateY(20px);
  animation: textEntrance 1s ease forwards;
  animation-delay: 2s;
  /* Wait until background is done */
}

.ptz-banner-heading p {
  color: #000000a9;
  /* font-size: 16px; */
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes textEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width:640px) {

  .ptz-banner-container {
    height: 70rem;
  }

  .ptz-banner-inner-container {
    background-position-x: 70%;    
  }

  .ptz-banner-heading {
    bottom: 0;
    top:10rem;
    left: 8rem;
    width: 15rem;
  }

  .ptz-banner-heading p {
    visibility: hidden;
  }

}



@media (min-width:641px) and (max-width:1100px) {

  .ptz-banner-container {
    height: 51rem;
  }

  .ptz-banner-inner-container {
    background-position-x: 70%;    
  }

  .ptz-banner-heading {
    /* top:0; */
    bottom: 5rem;
    left: 8rem;
    width: 25rem;
  } 

}



/* Bottle wrapper for scroll animation */
.scroll-movable-object-wrapper {
  position: absolute;
  left: 0;
  top: 10rem;
  height: 12rem;
  width: 100%;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* z-index: 90; */
  /* background-color: pink; */
}


.scroll-movable-object-img {
  height: 50%;
}



@media (min-width:769px) and (max-width:1199px) {

  .scroll-movable-object-wrapper {
    height: 15rem;
    display: flex;
    flex-direction: column;
  }
}

/* === Intro Section (below hero) === */
.section-intro {
  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-weight: 100;
  font-size: 4.5rem;
  line-height: 1.2;
  /* color: white; */
  margin-bottom: 1.5rem;
}

/* Intro Paragraph Description */
.description {
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 2rem;
}



/* === 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;
  }
}


/* === Timeline Section === */
.timeline-section {
  padding: 6rem 0rem 3rem;
  border-top: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  /* background-color: pink; */
  /* z-index: 100; */
}

/* 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%;
  /* background-color: yellow; */
}

/* Alternate Entry Layout (odd/even) */
.timeline-entry:nth-child(odd) {
  margin-left: auto;
}

.timeline-entry:nth-child(odd) .timeline-left {
  /* border:1px solid black; */
  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  */
.timeline-main-title {
  padding: 0 2rem 0rem;
  font-weight: 100;
  text-align: center;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 2.5rem;
}

/* Left Side of Timeline: Image */
.timeline-left {
  flex: 0 0 350px;
  text-align: center;
}


.timeline-img {
  max-width: 340px;
  padding: 0.5rem;
  filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.457));

}

/* Right Side of Timeline: Text Content */
.timeline-right {
  flex: 1;
  max-width: 400px;
}

.timeline-title {
  color: var(--black);
  margin-bottom: 1rem;
}

.timeline-description {
  color: var(--black);
  line-height: 1.6;
  width: 25rem;

}

.timeline-right-btn {
  display: inline-block;
  border: 1px solid var(--black);
  padding: 0.8rem 1rem;
  margin-top: 2rem;
  border-radius: 10px;
  transition-duration: 1s;
  /* z-index: 100; */
}

.timeline-right-btn:hover {
  background-color: black;
  color: white;
  cursor: pointer;
}



@media(min-width:769px) and (max-width:1199) {
  .timeline-entry {
    height: 400px;
  }
}


/* === Responsive Timeline Section === */
@media (max-width: 768px) {

  .timeline-entry {
    flex-direction: column;
    text-align: center;
    margin: 0 auto 4rem;
    gap: 0.1rem;
    max-width: 100%;
    padding: 6rem 0;
  }

  .timeline-section {
    padding: 3rem 0rem 3rem;
  }

  .timeline-main-title {
    font-size: 4rem;
    text-align: center;
  }


  .timeline-img {
    max-width: 240px;
    /* border: 1px solid black; */
  }

  .timeline-left {
    /* margin-bottom: 2rem; */
    flex: 0 0 0px;
  }

  .timeline-entry:nth-child(odd) .timeline-right {
    order: 2;
  }

}