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

html, body {
  overflow-x: hidden;
  /* Remove height: 100%; if present */
}

body {
  font-family: "aktiv-grotesk-condensed", sans-serif;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.1rem;
  background: #fff;
  color: #000;
}

/* ========== Layout ========== */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 100px;
}

/* ========== Typography ========== */
.blurred-text {
  font-family: "aktiv-grotesk-condensed", serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 1.4rem;
  text-align: center;
  text-shadow: 0.3px 0.3px 0 rgba(0,0,0,0.8);
  filter: blur(0.5px);
  margin-top: 60px;
  margin-bottom: 8px;
}

.email-text {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.3rem;
  color: rgba(0,0,0,0.7);
  text-shadow: 0.3px 0.3px 0 rgba(0,0,0,0.8);
  filter: blur(0.5px);
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
}
.email-text a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.email-text a:hover,
.email-text a:focus {
  text-decoration: underline;
  color: #0059ff; /* or keep color: inherit; if you want no color change on hover */
}

/* ========== Slider ========== */
.slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
  gap: 8px;
  margin: 30px auto 20px auto;
}

.slider-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
}

.slider-image-and-captions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 1200px;
  max-width: 95vw;
}

.slider-image-container {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: 650px;
  position: relative;
  transition: opacity 0.4s;
  opacity: 1;
}
.slider-image-container.fading {
  opacity: 0;
}

/* Make image arrows overlay the image, not push captions down */
.image-arrows {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none; /* allow arrows to overlay but not block image */
  z-index: 10;
}

.image-arrows .arrow {
  pointer-events: auto; /* allow clicks on arrows */
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  margin: 0 8px;
}

.slider-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
  pointer-events: none;
  display: block;
}
.slider-image.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Arrows */
.arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(210, 210, 210);
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.arrow:hover { color: rgb(0, 89, 255); }

/* Project arrows */
.left-arrow, .right-arrow {}

/* Image arrows */
.image-arrows {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active {
  background: #333;
}

/* ========== Captions ========== */
.caption-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: -35px;
}

#slider-caption,
#slider-secondary-caption {
  font-size: 0.8rem;
  line-height: 1.5;
  width: 48%;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

#slider-caption { text-align: left; }
#slider-secondary-caption { text-align: right; }

/* ========== About Section ========== */
.about-caption,
.about-text {
  max-width: 700px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  filter: blur(0.3px);
  color: rgba(0,0,0,0.7);
}

.about-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  position: relative;
  left: auto;
  top: auto;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  pointer-events: none;
}

.about-caption {
  position: relative;
  margin-top: 200px;
  margin-left: 50px;
  margin-right: auto;
  max-width: 280px;
}

.about-heading {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  letter-spacing: 0.1rem;
  color: #000;
  text-shadow: 0.3px 0.3px 0 rgba(0,0,0,0.8);
}

.about-text {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0.3px 0.3px 0 rgba(0,0,0,0.8);
  filter: blur(0.3px);
}

/* ========== Menu ========== */
.top-menu {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 201;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.menu-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.3rem;
  color: rgba(0,0,0,0.7);
  text-shadow: 0.3px 0.3px 0 rgba(0,0,0,0.8);
  filter: blur(0.5px);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
  text-decoration: none;
}
.menu-toggle:visited,
.menu-toggle:active,
.menu-toggle:focus,
.menu-toggle:hover {
  text-decoration: none;
}
.menu-toggle:hover,
.menu-toggle.active {
  background: none;
  color: #0059ff;
  text-decoration: none;
}

/* ========== Dropdown Menu ========== */
.slide-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 24px;
  z-index: 300;
  font-family: inherit;
  min-width: 240px;
  padding: 10px 0;
  background: none;
  border: none;
  box-shadow: none;
}
.slide-menu ul {
  list-style: none;
  margin: 0 0 0 12px;
  padding: 0;
}
.slide-menu li { margin-bottom: 0; }
.slide-menu button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.3rem;
  color: rgba(231, 231, 231, 0.7);
  text-shadow: 0.3px 0.3px 0 rgba(0,0,0,0.8);
  filter: blur(0.5px);
  cursor: pointer;
  text-align: left;
  padding: 2px 0;
  width: 100%;
  transition: color 0.2s;
}
.slide-menu button:hover,
.slide-menu button.active {
  color: #0059ff;
  text-decoration: underline;
}

.dropdown-heading {
  font-size: 0.85rem;
  font-weight: 900;
  color: #b0b0b0;
  margin: 10px 0 2px 0;
  padding-left: 12px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

/* ========== Wobble Animation ========== */
/* Wobble animation for each letter */
.name-wobble span {
  display: inline-block;
  transition: transform 0.2s;
  cursor: pointer;
}

.name-wobble span:hover {
  animation: wobble 0.4s;
}

@keyframes wobble {
  0%   { transform: rotate(0deg) scale(1); }
  20%  { transform: rotate(-15deg) scale(1.2); }
  40%  { transform: rotate(10deg) scale(1.1); }
  60%  { transform: rotate(-10deg) scale(1.15); }
  80%  { transform: rotate(5deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); }
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .slider { width: 80vw; }
  .slider-image-container { width: 95vw; }
  .caption-row { max-width: 95vw; }
}

@media (max-width: 768px) {
  .main-container { padding: 40px 20px; }
  #slider-caption { text-align: left; margin-right: 0; }
  .slider-image-container { height: 300px; }
  .about-caption, .about-text { max-width: 95vw; }
}

/* Always reserve space for dots */
.slider-dots {
  min-height: 24px; /* Adjust to match your dot size + margin */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* When hidden, keep space but hide visually */
.slider-dots[style*="display: none"], 
.slider-dots.hidden {
  visibility: hidden !important;
  display: flex !important;
}

