/* ==========================================================================
   KUVARS — HAKKIMIZDA (ABOUT) EDITORIAL LAYOUT STYLE
   Silent Luxury Architecture - Awwwards Standards
   No generic templates, pure grid-based typographic rhythm.
   ========================================================================== */

:root {
  --bg-color: #F7F6F3;         /* Warm Travertine Plaster / Cream */
  --text-primary: #111111;     /* Dark Charcoal Ink */
  --accent-bronze: #B08A5A;    /* Inlaid Architectural Bronze */
  --border-light: rgba(17, 17, 17, 0.08);
  --border-bronze: rgba(176, 138, 90, 0.35);
  
  /* Fluid Spacing & Grid System */
  --margin-left: 8vw;
  --margin-right: 8vw;
  --fluid-gap: clamp(1.5rem, 3.5vw, 4.5rem);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

/* Base resets for Hakkımızda sections */
.moment-intro,
.moment-narrative,
.moment-landscape,
.moment-matrix,
.moment-closing {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  box-sizing: border-box;
}

/* Custom Cursor & Follower */
.cursor {
  width: 6px;
  height: 6px;
  background-color: var(--accent-bronze);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(176, 138, 90, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.3s ease, height 0.3s ease;
}

/* Matrix Follower (Floating Hover Thumbnails) */
.matrix-follower {
  position: fixed;
  width: 240px;
  height: 160px;
  pointer-events: none;
  z-index: 150;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0) scale(0.85);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

/* ── MOMENT 1: THE MONOLITHIC HEADER (DARK MODE) ── */
.moment-intro {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--fluid-gap);
  padding: 24vh var(--margin-right) 20vh var(--margin-left);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color); /* Light cream/white background */
  color: var(--text-primary);
}

/* ── ARCHITECTURAL DIVIDER ── */
.architectural-divider {
  width: 100%;
  height: 60px;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.divider-line {
  width: 1px;
  height: 100px;
  background-color: rgba(17, 17, 17, 0.15);
  display: block;
}

.intro-bg-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 18vw;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(17, 17, 17, 0.02); /* Extremely subtle dark watermark */
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.intro-content {
  grid-column: 4 / 13;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.intro-marker-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marker-line {
  width: 60px;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.2);
}

.intro-marker-top span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(17, 17, 17, 0.5);
  text-transform: uppercase;
}

.intro-statement {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary); /* Dark charcoal text */
}

.intro-statement em.highlight {
  font-style: italic;
  color: var(--accent-bronze);
}

.intro-sub-statement {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.65); /* Dark grey text */
  max-width: 600px;
  margin-left: auto; /* Aligns to the right of the container for asymmetric tension */
}

/* ── MOMENT 2: THE TACTILE JUXTAPOSITION ── */
.moment-narrative {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--fluid-gap);
  align-items: center; /* Fotoğrafla metni dikeyde ortalar */
  padding: 10vh var(--margin-right) 20vh var(--margin-left);
}

.narrative-body {
  grid-column: 2 / 7;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.narrative-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(17, 17, 17, 0.5);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.narrative-body p {
  font-size: clamp(1rem, 1.15vw, 1.4rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.8);
  margin: 0;
}

.narrative-image-wrapper {
  grid-column: 8 / 12;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* transform: translateY(120px);  <-- Kaldırıldı ki ortalama bozulmasın */
}

.narrative-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-image-wrapper {
  overflow: hidden;
  position: relative;
}

.narrative-image-wrapper:hover .narrative-image {
  transform: scale(1.03);
}

.image-caption {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
}

/* ── MOMENT 3: THE PARALLAX LANDSCAPE ── */
.moment-landscape {
  position: relative;
  width: 100vw;
  padding: 15vh 0;
  overflow: hidden;
}

.parallax-bg-text {
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 16vw;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(176, 138, 90, 0.05); /* Very soft bronze outline/tint */
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.landscape-wrapper {
  position: relative;
  z-index: 2;
  margin: 0 auto; /* Sayfada ortalar */
  max-width: 1000px; /* Yatay format için genişlik artırıldı */
  width: calc(100% - var(--margin-left) - var(--margin-right));
}

.landscape-image {
  width: 100%;
  aspect-ratio: 16 / 10; /* Yatay genişlik formatı */
  object-fit: cover;
  object-position: bottom; /* Görseli alttan hizalar, üstten kırpar */
  filter: contrast(1.05);
  display: block;
}

/* ── MOMENT 4: INTERACTIVE MONOGRAPH MATRIX ── */
.moment-matrix {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 8vw;
  padding: 18vh var(--margin-right) 18vh var(--margin-left);
  background-color: var(--bg-color);
  color: var(--text-primary);
  align-items: center;
  border-top: 1px solid var(--border-light);
}

.matrix-left {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.matrix-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
}

.matrix-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(247, 246, 243, 0.5);
  text-transform: uppercase;
}

.matrix-main-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.matrix-subtitle {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.60);
  margin: 0;
}

.matrix-menu {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 480px;
}

.matrix-menu-item {
  display: flex;
  align-items: center;
  gap: 3vw;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.matrix-menu-item:hover,
.matrix-menu-item.active {
  opacity: 1;
  transform: translateX(10px);
}

.menu-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(247, 246, 243, 0.25);
}

.menu-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* Right Column Viewer */
.matrix-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.matrix-viewer {
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.viewer-images {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
}

.viewer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.viewer-img.active {
  opacity: 1;
  transform: scale(1.00);
  z-index: 2;
}

.viewer-details {
  position: absolute;
  bottom: -40px;
  right: -30px;
  background-color: var(--bg-color); /* Cream */
  border: 1px solid var(--border-light);
  padding: 2rem;
  width: 90%;
  height: 160px; /* Fixed height to support absolute positioning of details and prevent jumpy animations */
  z-index: 10;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.details-slide {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.details-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.details-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.details-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.7);
  margin: 0;
}

/* ── MOMENT 5: THE LETTERBOX CLOSE ── */
.moment-closing {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--fluid-gap);
  padding: 10vh var(--margin-right) 24vh var(--margin-left);
}

.closing-shutter {
  grid-column: 1 / 13;
  width: 100%;
  height: 25vh; /* Animated dynamically to 65vh via GSAP */
  overflow: hidden;
  position: relative;
  background-color: var(--text-primary);
}

.shutter-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.closing-inquiry-box {
  grid-column: 8 / 13;
  margin-top: 5rem;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.inquiry-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-bronze);
  text-transform: uppercase;
}

.inquiry-link {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-bronze);
  padding-bottom: 0.6rem;
  transition: border-bottom-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-link:hover {
  border-bottom-color: var(--text-primary);
  color: var(--accent-bronze);
}

/* ── MOMENT 4.5: THE SERVICES CATALOG ── */
.moment-services-catalog {
  display: flex;
  flex-direction: column;
  gap: 12vh;
  padding: 18vh var(--margin-right) 18vh var(--margin-left);
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-light);
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
}

.catalog-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-bronze);
  text-transform: uppercase;
}

.catalog-main-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 16vh;
}

.catalog-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--fluid-gap);
  align-items: center;
}

.catalog-text {
  grid-column: 2 / 7;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.catalog-row.alt .catalog-text {
  grid-column: 7 / 12;
}

.catalog-visual {
  grid-column: 8 / 12;
}

.catalog-row.alt .catalog-visual {
  grid-column: 2 / 6;
}

.catalog-image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.catalog-image-wrapper.portrait {
  aspect-ratio: 4 / 5;
}

.catalog-image-wrapper.landscape {
  aspect-ratio: 16 / 10;
}

.catalog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-bronze);
  display: block;
}

.catalog-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 1.8vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.25;
}

.catalog-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.75);
}

.catalog-sub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.catalog-sub-list li {
  font-size: clamp(0.75rem, 0.85vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.catalog-sub-list li::before {
  content: '—';
  color: rgba(17, 17, 17, 0.15);
}

  .moment-projects {
  background-color: #111111;
  color: #F7F6F3;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(247, 246, 243, 0.05);
}

.projects-teaser-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Space for vertical scroll parallax */
  opacity: 0.45; /* Brighter background visual */
}

.teaser-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-teaser-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.projects-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-bronze);
  text-transform: uppercase;
}

.teaser-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #F7F6F3;
  margin: 0;
  line-height: 1.15;
}

.teaser-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  font-weight: 300;
  color: rgba(247, 246, 243, 0.6);
  line-height: 1.6;
  max-width: 550px;
}

/* ── MOMENT 6: EDITORIAL CONTACT ── */
.moment-contact {
  background-color: var(--bg-color); /* Cream background */
  color: var(--text-primary);
  padding: 18vh var(--margin-right) 8vh var(--margin-left);
  display: flex;
  flex-direction: column;
  gap: 10vh;
  border-top: 1px solid var(--border-light);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--fluid-gap);
  align-items: start;
}

.contact-info-panel {
  grid-column: 2 / 6;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.contact-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-bronze);
  text-transform: uppercase;
  display: block;
}

.contact-main-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.details-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.details-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-bronze);
}

.details-value {
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  font-weight: 400;
  color: var(--text-primary);
}

.details-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s ease;
}

.details-value a:hover {
  border-bottom-color: var(--text-primary);
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 1rem;
}

.social-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-bronze);
  border-bottom-color: var(--accent-bronze);
}

.social-sep {
  font-size: 10px;
  color: rgba(17, 17, 17, 0.15);
}

/* Interactive Form Panel */
.contact-form-panel {
  grid-column: 7 / 12;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  background-color: rgba(17, 17, 17, 0.02);
  border: 1px solid var(--border-light);
  padding: 4.5rem 3.5rem;
}

.form-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-bronze);
  text-transform: uppercase;
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 300;
  padding: 10px 0;
  box-sizing: border-box;
  outline: none;
  resize: none;
}

.form-group textarea {
  min-height: 90px;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: clamp(0.75rem, 0.85vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(17, 17, 17, 0.35);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left top;
}

/* Float label up when active/focused */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-26px) scale(0.85);
  color: var(--accent-bronze);
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.1);
  transition: background-color 0.4s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
  background-color: var(--accent-bronze);
}

/* Submit Button & Interactive Success Transition */
.submit-btn {
  background-color: var(--text-primary);
  color: var(--bg-color);
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  padding: 1.2rem 2.8rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.submit-btn:hover {
  background-color: var(--accent-bronze);
  color: var(--text-primary);
}

.btn-success-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  color: white;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease;
}

/* Success State Override class */
.submit-btn.success {
  background-color: #B08A5A !important;
  color: transparent !important;
  pointer-events: none;
}

.submit-btn.success .btn-success-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Footer bottom bar */
.contact-footer {
  margin-top: 10vh;
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-footer p {
  font-size: 10px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.4);
  letter-spacing: 0.05em;
}

.contact-footer span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-bronze);
}

/* ── FLOATING WHATSAPP BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 1px solid #25d366;
  animation: pulseWhatsApp 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulseWhatsApp {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── RESPONSIVE ADAPTABILITY ── */




.slide-num {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(247, 246, 243, 0.5);
  margin-bottom: 1rem;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.slide-desc {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(247, 246, 243, 0.85);
}

@media (max-width: 900px) {
  :root {
    --margin-left: 6vw;
    --margin-right: 6vw;
  }
  
  .moment-intro {
    padding: 12vh var(--margin-left) 10vh var(--margin-left);
  }
  .intro-content {
    grid-column: 1 / 13;
    gap: 2rem;
  }
  .intro-statement {
    font-size: 1.7rem;
    line-height: 1.45;
  }
  .intro-statement br {
    display: none; /* Let text wrap naturally on narrow screens */
  }
  .intro-sub-statement {
    margin-left: 0;
    font-size: 14px;
    line-height: 1.75;
  }
  .intro-bg-text {
    display: none !important; /* Hide to prevent overlapping white text on mobile */
  }
  
  .moment-narrative {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
    padding: 10vh var(--margin-left) 8vh var(--margin-left);
  }
  .narrative-body, .narrative-image-wrapper {
    grid-column: 1 / 13;
  }
  .narrative-body {
    gap: 1.2rem;
  }
  .narrative-body p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.75);
  }
  .narrative-image-wrapper {
    transform: translateY(0);
  }
  .narrative-image {
    aspect-ratio: 16 / 10; /* Change portrait to landscape ratio for balanced mobile height */
  }

  .moment-landscape {
    padding: 6vh 0;
  }
  .landscape-wrapper {
    width: calc(100% - 2 * var(--margin-left));
    max-width: 100%;
  }
  .parallax-bg-text {
    display: none !important; /* Hide to prevent horizontal overflow */
  }
  
  .moment-matrix {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    padding: 10vh var(--margin-left);
  }
  .matrix-left {
    gap: 4rem;
  }
  .matrix-menu {
    gap: 1.5rem;
    width: 100%;
  }
  .matrix-menu-item {
    padding: 8px 0;
    gap: 1.5rem;
  }
  .matrix-menu-item:hover,
  .matrix-menu-item.active {
    transform: translateX(5px);
  }
  .matrix-viewer {
    max-width: 100%;
  }
  .viewer-images {
    aspect-ratio: 4 / 5;
  }
  .viewer-details {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 180px; /* Explicit height for mobile details box as well */
    margin-top: -1px;
    box-shadow: none;
    border-top: none;
  }

  .moment-services-catalog {
    padding: 10vh var(--margin-left);
    gap: 3rem;
  }

  .catalog-header {
    padding: 0;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .catalog-list {
    gap: 5rem;
  }

  .catalog-row, .catalog-row.alt {
    grid-template-columns: 1fr !important;
    row-gap: 2.5rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .catalog-text, .catalog-row.alt .catalog-text,
  .catalog-visual, .catalog-row.alt .catalog-visual {
    grid-column: 1 / 13 !important;
  }

  .catalog-visual {
    order: -1;
  }

  .catalog-image-wrapper.portrait, 
  .catalog-image-wrapper.landscape {
    aspect-ratio: 4 / 3 !important;
    width: 100%;
    border-radius: 4px;
  }

  .catalog-image {
    height: 100% !important;
    top: 0 !important;
  }

  .catalog-text {
    padding: 0;
    gap: 1.2rem !important;
    text-align: center;
    align-items: center;
  }

  .catalog-num {
    font-size: 10px;
    margin-bottom: 0.2rem;
  }

  .catalog-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .catalog-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 95%;
  }

  .catalog-sub-list {
    padding-top: 1.5rem;
    gap: 10px;
    border-top: 1px solid var(--border-light);
    width: 80%;
    margin: 0 auto;
    align-items: center;
  }

  .catalog-sub-list li {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .moment-projects {
    height: 70vh;
  }

  .projects-teaser-bg {
    height: 120%;
    top: -10%;
  }

  .projects-teaser-content {
    padding: 0 6vw;
  }

  .teaser-title {
    font-size: 2.8rem;
  }

  .teaser-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .moment-contact {
    padding: 12vh var(--margin-left) 6vh var(--margin-left);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .contact-info-panel, .contact-form-panel {
    grid-column: 1 / 13 !important;
  }

  .contact-form-panel {
    padding: 3rem 2rem;
  }

  .contact-footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 6vh;
  }
  
  .moment-closing {
    grid-template-columns: 1fr;
    padding-bottom: 15vh;
  }
  .closing-shutter, .closing-inquiry-box {
    grid-column: 1 / 13;
  }
  .closing-inquiry-box {
    align-items: flex-start;
  }
}

/* ==========================================================================
   NEW FULLSCREEN VALUES SEQUENCE (MOMENT 4)
   ========================================================================== */
.moment-values-fullscreen {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #111111;
  overflow: hidden;
  color: #F7F6F3;
}

.values-bg-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.values-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
}

.values-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.6) 40%, rgba(17,17,17,0.1) 100%);
  z-index: 2;
}

@media (max-width: 900px) {
  .values-overlay {
    background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.7) 50%, rgba(17,17,17,0.3) 100%);
  }
}

.values-content-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 var(--margin-left);
}

.values-header {
  margin-bottom: 8vh;
  max-width: 600px;
}

.values-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(247, 246, 243, 0.5);
  display: block;
  margin-bottom: 2rem;
}

.values-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.2;
}

.values-slides-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
}

.values-slide {
  position: absolute;
  top: 0; left: 0;
  max-width: 500px;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .values-header {
    position: absolute;
    top: 15vh;
    left: var(--margin-left);
    right: var(--margin-right);
  }
  .values-slides-wrapper {
    position: absolute;
    bottom: 8vh;
    left: var(--margin-left);
    right: var(--margin-right);
    width: auto;
    height: auto;
    min-height: 200px;
  }
  .values-slide {
    background: rgba(17, 17, 17, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
  .slide-title {
    font-size: 2rem; /* Much smaller on mobile */
    margin-bottom: 0.5rem;
  }
  .slide-num {
    font-size: 11px;
    margin-bottom: 0.5rem;
  }
  .slide-desc {
    font-size: 0.9rem;
  }
}
