/* =========================================
   URTH — Architecture Studio
   style.css
   ========================================= */

/* ── Google Font import fallback ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:        #c8a96e;
  --gold-light:  #dfc18f;
  --bg-dark:     #1a1a1a;
  --bg-footer:   #1c1c1c;
  --text-white:  #ffffff;
  --text-muted:  #8a8a8a;
  --text-nav:    #aaaaaa;
  --text-active: #ffffff;

  --footer-h:    85px;
  --transition:  1.2s cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:    0.4s ease-out;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   CAROUSEL WRAPPER
   ========================================= */
.carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #ffffff;
}

/* =========================================
   TRACK
   ========================================= */
.carousel-track-outer {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  height: 100%;
  align-items: flex-start;
  gap: 30px;
  will-change: transform;
  transition: transform var(--transition);
}

/* =========================================
   SLIDES
   ========================================= */
.carousel-slide {
  position: relative;
  flex: 0 0 686px;
  width: 686px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}

/* Side slides: desaturated */
.carousel-slide:not(.active) .slide-img {
  filter: grayscale(1) brightness(0.8);
}

/* Active (center) slide: dominant */
.carousel-slide.active .slide-img {
  filter: grayscale(0) brightness(1);
}

/* Image container */
.slide-img-wrap {
  flex: 0 0 376px;
  height: 376px;
  overflow: hidden;
  position: relative;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease, filter var(--transition);
  user-select: none;
}

.carousel-slide:hover .slide-img {
  transform: scale(1.035);
}

/* ── Label beneath image ── */
.slide-label {
  background: #ffffff;
  padding: 58px 24px 49px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.slide-title {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  color: rgb(17, 17, 17);
  background-color: rgba(0, 0, 0, 0);
  margin: 10px 0px 0px;
  padding: 0px;
  border: 0px none rgb(17, 17, 17);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.slide-category {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 24px;
  color: #cccccc;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Gold underline decoration */
.slide-line {
  display: block;
  width: 28px;
  height: 1px;
  background: #e0e0e0;
  margin-top: 8px;
  transition: width 0.4s ease, background 0.4s ease;
}

.carousel-slide.active .slide-line {
  width: 36px;
  background: #111111;
}

.carousel-slide.active .slide-title {
  color: #111111;
}

.carousel-slide.active .slide-category {
  color: #555555;
}

/* =========================================
   ARROWS
   ========================================= */
.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 20;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #111;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  outline: none;
}

.carousel-arrow:hover {
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-50%) scale(1.02);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

/* Arrow is disabled state */
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* =========================================
   FOOTER / NAV BAR
   ========================================= */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-h);
  background: var(--bg-footer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}

/* ── Logo ── */
.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ── Navigation ── */
.footer-nav {
  position: absolute;
  top: 37px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.footer-nav__link {
  display: inline-block;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-nav);
  text-decoration: none;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 18px;
  margin: 0px;
  padding: 5px 15px;
  background-color: rgba(0, 0, 0, 0);
  border: 0px none rgb(255, 255, 255);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.footer-nav__link:hover {
  color: rgb(255, 255, 255);
}

/* active state styling */
.footer-nav__link.active {
  color: rgb(255, 255, 255);
}

/* ── Socials ── */
.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social__link {
  color: var(--text-nav);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.footer-social__link svg {
  width: 14px;
  height: 14px;
}

.footer-social__link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(200, 169, 110, 0.08);
}

/* =========================================
   TRANSITIONS & ANIMATIONS
   ========================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-footer {
  animation: fadeIn 0.7s ease 0.1s both;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  :root {
    --footer-h: 110px;
  }

  .site-footer {
    flex-direction: column;
    padding: 10px 16px;
    gap: 8px;
    height: auto;
  }

  .footer-logo {
    display: none;
  }

  .footer-nav {
    position: static;
    transform: none;
    top: auto;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Make carousel fluid on mobile */
  .carousel-wrapper {
    min-height: calc(100vh - 70px);
    padding-bottom: 120px;
    align-items: center;
  }
  
  .carousel-track {
    align-items: center;
  }

  .carousel-slide {
    flex: 0 0 90vw;
    width: 90vw;
  }

  .slide-img-wrap {
    flex: 0 0 auto;
    height: 60vw;
  }

  .slide-label {
    padding: 10px 8px;
    min-height: 64px;
  }

  .slide-title {
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }

  .slide-category {
    display: block;
    font-size: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    margin-top: 4px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
}

@media (max-width: 480px) {
  .footer-nav__link {
    font-size: 0.58rem;
  }

  .footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
    padding-bottom: 5px;
  }
}

/* Hide Webflow watermark badge */
.w-webflow-badge {
  display: none !important;
  visibility: hidden !important;
}
