@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  background: #fafafa;
  overflow: hidden;
}

nav {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  background: #fafafa;
  padding-top: 8px;
  z-index: 100;
}
nav .wrapper{
  position: sticky;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 50px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a{
  color: #f9ca24;
  font-size: 40px;
  font-weight: 800;
  font-family: "Playfair Display";
  text-decoration: none;
}
.wrapper .logo a:hover{
  content: url(../kaleidoscope.png);
  width: 6%;
  position: absolute;
  top: 0px;
  left: 20px;
}

.wrapper .nav-links{
  display: inline-flex;
  position: relative;
}
.nav-links li{
  list-style: none;
  position: relative;
}
.nav-links li a{
  color: #f0932b;
  text-decoration: none;
  font-size: 1.15em;
  font-weight: 700;
  display: inline;
  padding-left: 100px;
  width: 175px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.nav-links li a:hover{
  color: #f9ca24;
}

.nav-links .dot {
  width: 8px;
  height: 8px;
  background: #f9ca24;
  border-radius: 50%;
  opacity: 0;
  position: absolute;
  bottom: -1px; /* positions dot below text */
  left: 20%;
  transform: translateX(-50%);
  opacity: 0; /* hidden by default */
  transition: opacity 0.2s ease-in-out;
}

.nav-links a:nth-child(1):hover ~ .dot {
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 1;
}

.nav-links a:nth-child(2):hover ~ .dot {
  -webkit-transform: translateX(210px);
  transform: translateX(210px);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  opacity: 1;
}

.nav-links a:nth-child(3):hover ~ .dot {
  -webkit-transform: translateX(380px);
  transform: translateX(380px);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  opacity: 1;
}

.about-container {
  display: flex;
  padding: 2rem;
  gap: 2rem;
  margin-top: 70px; /* space below fixed nav */
  position: relative;
}

/* LEFT COLUMN (unchanged) */
.left-column {
  width: 50%;
  display: flex;
  padding-left: 50px;
  flex-direction: column;
  justify-content: center;
  padding-right: 1rem;
  position: sticky;
  top: 0;
  height: 85vh;
}

.left-column h1{
  font-family: "Poppins", sans-serif;
  font-size: 2.5vw;
  color: #bf2c6a;
  font-weight: 700;
  padding-left: 15px;
  padding-top: 20px;
}

.left-column p{
  padding-left: 15px;
  color: #2c5a23;
  font-size: 1.0vw;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  padding-top: 30px;
  margin-bottom: 2rem;
}

.hyperlink {
  color: #c79c97;
  font-weight: 800;
}

.button-group {
  display: flex;
  gap: 2rem;
  padding-top: 1px;
  padding-left: 15px;
}

.btn {
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background: #bf2c6a;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #f9ca24;
}

.btn.secondary {
  background: transparent;
  color: #bf2c6a;
  border: 2px solid #bf2c6a;
}

.btn.secondary:hover {
  background: #f9ca24;
  color: #fff;
  border: 2px solid #f9ca24;
}

/* RIGHT COLUMN: MODEL VIEWER SPACE */
/*.right-column {
  width: 50%;
  position: relative;
  height: 80vh;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}*/

/* Wrapper for the 3D viewer */
.model-viewer-wrapper {
  width: 40vw;
  max-width: 40vw;
  aspect-ratio: 3 / 4; /* vertical portrait-ish */
  border-radius: 20px;
  overflow: hidden;
/*  border: 2px solid #d6b4b0;*/
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
  background: #fafafa;
}

/* Make <model-viewer> fill the wrapper */
model-viewer {
  width: 100%;
  height: 100%;
  align-items: center;
}

/* Little caption under the viewer */
.model-caption {
  margin-top: 1.5rem;
  color: #c79c97;
  font-size: 0.85rem;
  text-align: center;
  max-width: 520px;
}


.right-column {
  width: 50%;
  position: relative;
  height: 100vh;
  overflow-y: auto;
  padding-left: 1rem;
}

.image-deck {
  height: 1500vh;
  position: relative;
}

.deck-img {
  position: sticky;
  top: 2.5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  z-index: 1;
  transform: scale(0.95);
  transition: transform 0.4s ease, z-index 0.2s ease;
}

.deck-img img {
  max-width: 60%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.deck-img:hover {
  transform: scale(1.01);
}

/* Image stacking z-index */
.img1  { z-index: 1; }
.img2  { z-index: 2; }
.img3  { z-index: 3; }
.img4  { z-index: 4; }
.img5  { z-index: 5; }
.img6  { z-index: 6; }
.img7  { z-index: 7; }
.img8  { z-index: 8; }
.img9  { z-index: 9; }
.img10 { z-index: 10; }
.img11 { z-index: 11; }
.img12 { z-index: 12; }
.img13 { z-index: 13; }
.img14 { z-index: 14; }
.img15 { z-index: 15; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
  margin: 0 0 1.5rem 0;
  color: #bf2c6a;              /* matches your heading pink */
  font-size: 0.9vw;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scroll-arrow {
  width: 26px;
  height: 26px;
  border-right: 3px solid #bf2c6a;
  border-bottom: 3px solid #bf2c6a;
  transform: rotate(45deg);    /* arrow pointing toward the image deck */
  animation: arrowBounce 1.8s infinite ease-in-out;
}

@keyframes arrowBounce {
  0%   { transform: translateX(0) rotate(45deg); }
  50%  { transform: translateX(8px) rotate(45deg); }
  100% { transform: translateX(0) rotate(45deg); }
}

.kaleido-shape {
  position: absolute;
  background-image: url('../kaleidoscope.png');
  background-size: cover;
  background-position: center;
  border-radius: 40%;
  opacity: 0.2;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
  pointer-events: none;   /* don’t block clicks */
  z-index: 0;
}

/* Around the heading / left column */
.k1 {
  width: 220px;
  height: 220px;
  top: 90px;
  left: -60px;
  transform: rotate(-10deg);
}

/* Between text and image deck */
.k2 {
  width: 260px;
  height: 260px;
  top: 280px;
  right: 20%;
  transform: rotate(15deg);
}

/* Behind lower part of image deck */
.k3 {
  width: 220px;
  height: 220px;
  bottom: -40px;
  right: -40px;
  transform: rotate(-25deg);
}
