/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Inter Light';
  src: url('fonts/Inter_24pt-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter ExtraLight';
  src: url('fonts/Inter_18pt-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Inter Light', sans-serif;
  font-weight: 300;
  background: #fff;
  color: #000;
}

/* Scroll container with snapping */
.scroll-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

/* Each panel = full screen, with scroll snap */
.panel {
  scroll-snap-align: start;
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inner frame (20px inset) */
.inner-frame {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Hero panel styles */
.hero {
  background:  #1D003e;
  color: #fff;
  text-align: left;
}
.hero h1 {
  font-family: 'Inter Light', sans-serif;
  font-size: 11vw;
  color: #ccff33;
  font-weight: 100;
  line-height: 1;
  margin-left: 7px;
}

.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.in-view h1 .line {
  opacity: 1;
  transform: translateY(0);
}

.hero.in-view h1 .line:nth-child(1) {
  transition-delay: 0.3s;
}
.hero.in-view h1 .line:nth-child(2) {
  transition-delay: 0.6s;
}
.hero.in-view h1 .line:nth-child(3) {
  transition-delay: 0.9s;
}

.hero-link {
  color: #ab20fd;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.hero-link:hover {
  color: #fff; /* optional hover effect */
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Logo */
.logo {
  position: fixed;
  top: 35px;
  left: 40px;
  font-size: 1rem;
  color: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Full image layout */
.single-image {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.single-image .inner-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* your white frame */
  height: 100%;
  box-sizing: border-box;
}

.single-image .image-col {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.single-image .image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Two-image layout */
.two-image .inner-frame {
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}
.image-col {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .two-image .inner-frame {
    flex-direction: column;
    align-items: stretch; /* stretch columns full width */
    gap: 20px; /* spacing between images */
  }

  .two-image .image-col {
    width: 100%;
    height: 100vh; /* allow for vertical centering */
    display: flex;
    align-items: center;       /* vertical centering */
    justify-content: center;   /* horizontal centering */
    overflow: hidden;
  }

  .two-image .image-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
  }
}

/* Initial state: hidden and transparent */
.image-col img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible: fade in and move into place */
.image-col img.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Floating arrow button */
.scroll-arrow {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  text-decoration: none;
}
.arrow-circle {
  background-color: #ccff33;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.arrow-circle:hover {
  transform: translateY(2px);
  background-color: #b6e62d;
}
.arrow-circle img {
  width: 23px;
  height: 23px;
  transition: transform 0.4s ease;
}
/* Rotate arrow when at bottom */
.scroll-arrow.up .arrow-circle img {
  transform: rotate(180deg);
}

/* Captions */
.caption {
  position: absolute;
  bottom: 35px;
  left: 40px;
  font-size: 0.9rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.4;
}

.single-image .caption {
  bottom: 15px;
  left: 20px;
}

/* Tighter positioning for two-image panels */
.two-image .caption {
  bottom: 15px;
  left: 20px;
}

.caption.light {
  color: #fff;
}
.caption.dark {
  color: #000;
}
.caption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px; /* Adjust this value as needed */
  transition: color 0.2s ease, opacity 0.2s ease;
}
.caption a:hover {
  opacity: 0.7;
}


/* Contact toggle styled like logo */
.contact-toggle {
  position: fixed;
  top: 35px;
  left: 160px;
  font-size: 1rem;
  color: #fff;
  font-family: 'Inter Light', sans-serif;
  z-index: 1002;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.contact-toggle:hover {
  color: #ccff33;
}

/* Toggle when panel is open */
.contact-toggle.open {
  color: #000;
}
.contact-toggle.open:hover {
  color: #333; /* dark grey hover */
}

/* Animate + to – */
.contact-toggle .symbol {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Optional: rotate or animate symbol */
.contact-toggle.open .symbol {
  transform: rotate(180deg);
}


/* Slide-up contact panel */
.contact-panel {
  position: fixed;
  bottom: -100vh;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ccff33;
  z-index: 1000;
  color: #000;
  transition: bottom 0.3s ease;
  overflow-y: auto;
  padding: 0; /* Remove padding if we're positioning child manually */
}

/* Show panel */
.contact-panel.active {
  bottom: 0;
}

/* Panel black logo (same position as white logo) */
.panel-logo {
  position: absolute;
  top: 35px;
  left: 40px;
  font-size: 1rem;
  color: #000;
  font-family: 'Inter Light', sans-serif;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}


/* Contact content layout */
.contact-content {
  position: absolute;
  top: 35px;
  left: 50%;
 width: 45vw; /* Adjust width as needed */
  font-family: 'Inter Light', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.info-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.info-label {
  width: 120px;
  min-width: 120px;
  font-size: 1rem;
  color: #000;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.info-text {
  flex: 1;
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
}

.info-text p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-text a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 5px; /* Adjust this value as needed */
  transition: color 0.2s ease, opacity 0.2s ease;
}

.info-text a:hover {
  opacity: 0.6;
}

.info-text.clients p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0; /* Reset p margin */
}

.info-text.clients span {
  background: none;
  display: flex;
  align-items: center;
  line-height: 1.2;
  font-size: 1rem;
  padding: 0;
}

.logo-signoff {
  margin-top: 2rem; /* spacing above the logo row */
}

.signoff-logo {
  width: 120px; /* or whatever size works nicely */
  height: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.signoff-logo:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .contact-content {
    position: static;
    top: auto;
    left: auto;
    margin-top: 150px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    gap: 24px;
  }

  .info-row {
    flex-direction: column;
    gap: 10px;
  }

  .info-label,
  .info-text {
    width: 100%;
    min-width: unset;
  }

  .info-label {
    text-align: left;
  }

  .info-text p {
    margin-bottom: 8px;
  }

.info-text.clients p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.info-text.clients span {
  display: inline;
  line-height: 1.4;
}
	
@media (max-width: 768px) {
  .single-image {
    height: auto; /* Allow height to adjust naturally */
  }

  .single-image .inner-frame {
    padding: 20px; /* Maintain white border */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .single-image .image-col {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
  }

  .single-image .image-col img {
    width: 153.85%; /* Zoom in to show center 65% (100 / 65 = ~1.5385) */
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-left: -26.925%; /* (153.85 - 100) / 2 = 26.925 to center the zoom */
  }

  .single-image .caption {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 10px;
    padding: 0 20px;
    font-size: 0.85rem;
  }
}
}