:root {
  --background: #eee0d7;
  --fonts: #04384b;
  --accent-bright: #03607e;
  --accent: #48cae4;
  --white: #ffffff;
  --sandy: #e7c9af;
  --red: #8f0707;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 200vh; 
  overflow-x: hidden;
  font-family: "Libre Franklin", sans-serif;
  background-color: var(--background);
  transition: background-color 0.4s ease;
}

@font-face {
  font-family: 'GT Super';
  src: url('/fonts/GT-Super/GT-Super-Display-Light-Trial.otf') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT Super';
  src: url('/fonts/GT-Super/GT-Super-Display-Light-Italic-Trial.otf') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

.rentals-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.rentals-left-panel,
.rentals-right-panel {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'GT Super';
  font-weight: 300;
  color: var(--sandy);
  text-transform: uppercase;
  background-color: var(--fonts);
  z-index: 2;
}

.rentals-left-panel {
  left: 0;
}

.rentals-right-panel {
  right: 0;
}

.rentals-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.rentals-letter {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  font-size: clamp(32px, 3vw, 60px);
  will-change: transform, opacity;
}

.hero-ampersand {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'GT Super';
  display: flex;
  justify-content: center;
  color: var(--sandy);
  align-items: center;
  z-index: 999;
}

.rentals-video {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0;
  z-index: 1;
}


.terms {
  background: var(--background);
  padding: 100px 20px;
}

.terms .container {
  max-width: 1800px;
  margin: 0 auto;
}

.terms h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--fonts);
  font-family: 'GT Super';
}

.terms-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.term {
  background: var(--white);
  padding: 30px;
  /* border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1); */
  flex: 1 1 45%;
  max-width: 800px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p{
  margin-top: 10px;
  line-height: 25px;
  color: var(--fonts);
  font-weight: 300;
  font-family: "Libre Franklin", sans-serif;
font-size: 18px;
}
.highlight {
  color: var(--fonts);
  font-weight: bold;
}
/* .term:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
} */

.term h3 {
  font-size: 50px;
  margin-bottom: 60px;
  font-weight: 300;
  font-family: 'GT Super';
  text-transform: uppercase;
  text-align: center;
  color: var(--fonts);
}
.term h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-bright);
  margin: 10px auto 0;
}

.term ul {
  list-style: disc inside;
  line-height: 1.8;
  color: #333;
}

.term li {
  margin-bottom: 10px;
}

.accordion-toggle {
  cursor: pointer;
  user-select: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-left: 20px;
}
.panel .title .letter,
.panel .text,
.panel .image {
  will-change: transform, opacity;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-down {
  position: fixed;      
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--sandy);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
  opacity: 0.6;   
  z-index: 5;         
  pointer-events: none;
  
}

.scroll-down span {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--sandy);
  border-radius: 50%;
    opacity: 0.6;  
  animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
  60% {
    transform: translateY(6px);
  }
}

/* 
@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(20px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 0.8; }
}

@keyframes fadeIn {
  to { opacity: 1; }
} */


@media (max-width: 1024px) {
  .hero-left, .hero-right {
    font-size: 25px;
  }

}
@media (max-width: 1024px) {
  .hero-left, .hero-right {
    font-size: 25px;
  }

}
@media (max-width: 940px) {

.hero-left, .hero-right {
  font-size: 20px; 
}
.hero-center{
  font-size: 64px;
}
}

@media (max-width: 768px) {
  .rentals-left-panel,
  .rentals-right-panel {
    width: 100%;
    height: 50%;
  }

  .rentals-left-panel { top: 0; }
  .rentals-right-panel { top: 50%; }
  .ampersand {
    font-size: 5rem;
  }

  .hero-left .hero-title,
  .hero-right .hero-title {
    font-size: 2rem;
  }

  .terms {
    padding: 60px 15px;
  }

  .terms h2 {
    font-size: 2rem;
  }

  .term {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .p{
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-left, .hero-right {
    font-size: 1.8rem;
  }

  .terms h2 {
    font-size: 1.8rem;
  }

  .term h3 {
    font-size: 1.5rem;
  }
}