/* TreeSpark Media — Instagram brand */
:root {
  --ts-cream: #f7f3ee;
  --ts-cream-deep: #efe8df;
  --ts-burgundy: #5a1521;
  --ts-burgundy-deep: #3d0e16;
  --ts-gold: #c9a227;
  --ts-gold-soft: #d4b84a;
  --ts-ink: #2a181c;
}

body {
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  color: var(--ts-ink);
}

/* Slides: cream base, blurred post images as texture only */
.slide.whiteSlide {
  background: var(--ts-cream);
  color: var(--ts-ink);
}

.slide .background {
  top: -32px;
  left: -32px;
  width: calc(100% + 64px);
  height: calc(100% + 64px);
  filter: blur(18px) saturate(0.85);
}

.slide .content {
  position: relative;
  z-index: 2;
}

h1, h2, h3, .huge {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ts-burgundy);
}

.progress-bar.blue,
.button.blue,
.button.blue.gradient,
.button.green,
.button.green.gradient {
  background: linear-gradient(135deg, var(--ts-burgundy), var(--ts-burgundy-deep)) !important;
  color: #fff !important;
}

.button.hollow {
  border-color: var(--ts-gold) !important;
  color: var(--ts-burgundy) !important;
}

.dot.selected,
.controller .dot.selected {
  background: var(--ts-burgundy) !important;
}

.brand-logo {
  max-width: 140px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(90, 21, 33, 0.18);
}

.brand-logo-sm {
  max-height: 40px;
  width: auto;
  border-radius: 50%;
}

.sidebar .brand-logo-sm {
  max-height: 56px;
  margin-bottom: 1rem;
}

.tagline-gold {
  color: var(--ts-gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.service-icon {
  font-size: 1.75rem;
  color: var(--ts-gold);
  margin-bottom: 0.4rem;
}

.cell-73 {
  background: rgba(247, 243, 238, 0.92) !important;
}

.grid-83 li {
  border-top: 2px solid var(--ts-gold);
}

.ts-quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-style: italic;
  color: var(--ts-burgundy);
  line-height: 1.35;
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--ts-gold);
  margin: 1rem auto;
  border: 0;
}

/* Hero motion icons */
.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.slide[data-name="anasayfa"] .background {
  z-index: 0;
}

.slide[data-name="anasayfa"] .content {
  z-index: 3;
}

.motion-icon {
  position: absolute;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(201, 162, 39, 0.48);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(90, 21, 33, 0.9), rgba(61, 14, 22, 0.76));
  box-shadow: 0 18px 42px rgba(90, 21, 33, 0.24);
  opacity: 0.9;
  backdrop-filter: blur(8px);
  animation: heroFloat 18s ease-in-out infinite;
}

.motion-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.motion-icon i {
  font-size: 35px;
}

.motion-instagram {
  left: 20%;
  top: 28%;
  animation-duration: 19s;
}

.motion-facebook {
  right: 20%;
  top: 28%;
  width: 68px;
  height: 68px;
  animation-name: heroFloatAlt;
  animation-duration: 21s;
}

.motion-tiktok {
  left: 28%;
  bottom: 24%;
  width: 64px;
  height: 64px;
  color: var(--ts-gold);
  animation-duration: 16s;
  animation-delay: -4s;
}

.motion-camera {
  right: 28%;
  bottom: 24%;
  animation-name: heroFloatAlt;
  animation-duration: 20s;
  animation-delay: -7s;
}

.motion-video {
  left: 16%;
  bottom: 42%;
  width: 62px;
  height: 62px;
  animation-duration: 22s;
  animation-delay: -9s;
}

.motion-drone {
  right: 16%;
  bottom: 42%;
  width: 66px;
  height: 66px;
  color: var(--ts-gold);
  animation-name: heroFloatWide;
  animation-duration: 24s;
  animation-delay: -3s;
}

.motion-ads {
  left: 34%;
  top: 22%;
  width: 58px;
  height: 58px;
  animation-name: heroFloatAlt;
  animation-duration: 18s;
  animation-delay: -11s;
}

.motion-code {
  right: 34%;
  top: 22%;
  width: 58px;
  height: 58px;
  animation-duration: 17s;
  animation-delay: -6s;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  35% {
    transform: translate3d(32px, -24px, 0) rotate(8deg) scale(1.06);
  }
  70% {
    transform: translate3d(-22px, 28px, 0) rotate(-6deg) scale(0.96);
  }
}

@keyframes heroFloatAlt {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  40% {
    transform: translate3d(-34px, 26px, 0) rotate(-9deg) scale(1.05);
  }
  75% {
    transform: translate3d(24px, -30px, 0) rotate(7deg) scale(0.97);
  }
}

@keyframes heroFloatWide {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  30% {
    transform: translate3d(-48px, -18px, 0) rotate(-7deg) scale(1.05);
  }
  68% {
    transform: translate3d(34px, 32px, 0) rotate(8deg) scale(0.98);
  }
}

.aidator-badge {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--ts-burgundy), var(--ts-burgundy-deep));
  letter-spacing: 0.18em;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 12px 28px rgba(90, 21, 33, 0.16);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.project-card {
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(90, 21, 33, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.72);
  box-shadow: 0 28px 64px rgba(90, 21, 33, 0.2);
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ts-cream-deep);
}

.project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.project-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(61, 14, 22, 0.18), rgba(61, 14, 22, 0.44));
}

.project-media strong {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  padding: 0.25rem 1rem 0.35rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  background: rgba(90, 21, 33, 0.72);
  box-shadow: 0 16px 36px rgba(61, 14, 22, 0.34);
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.project-copy {
  padding: 24px 26px 26px;
  text-align: left;
}

.project-copy h3 {
  margin: 0 0 0.55rem;
  font-size: 34px;
  line-height: 1;
}

.project-copy p {
  margin: 0;
  color: rgba(42, 24, 28, 0.74);
  font-size: 15px;
  line-height: 1.55;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}

.partner-card {
  position: relative;
  min-height: 252px;
  padding: 22px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 238, 0.78)),
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.18), transparent 42%);
  box-shadow: 0 14px 34px rgba(90, 21, 33, 0.11);
  text-align: center;
  transform: translateY(0) scale(1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.54) 42%, transparent 74%);
  opacity: 0;
  transform: translateX(-55%);
  transition: opacity 0.28s ease, transform 0.45s ease;
}

.partner-card:hover {
  z-index: 5;
  border-color: rgba(201, 162, 39, 0.72);
  box-shadow: 0 24px 58px rgba(90, 21, 33, 0.18);
  transform: translateY(-10px) scale(1.045);
}

.partner-card:hover::before {
  opacity: 1;
  transform: translateX(55%);
}

.partner-logo-wrap {
  position: relative;
  height: 112px;
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease;
}

.partner-logo-wrap img {
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(42, 24, 28, 0.12));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.partner-card:hover .partner-logo-wrap {
  transform: translateY(-4px);
}

.partner-card:hover .partner-logo-wrap img {
  transform: scale(1.12);
  filter: drop-shadow(0 12px 22px rgba(42, 24, 28, 0.18));
}

.partner-card h3 {
  margin-bottom: 0.5rem;
  font-size: 22px;
  line-height: 1.05;
}

.partner-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(42, 24, 28, 0.76);
}

@media (max-width: 1180px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-media strong {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .motion-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    opacity: 0.42;
  }

  .motion-icon svg {
    width: 21px;
    height: 21px;
  }

  .motion-icon i {
    font-size: 23px;
  }

  .motion-ads,
  .motion-code,
  .motion-video {
    display: none;
  }

  .motion-instagram {
    left: 8%;
    top: 18%;
  }

  .motion-facebook {
    right: 8%;
    top: 22%;
  }

  .motion-tiktok {
    left: 12%;
    bottom: 18%;
  }

  .motion-camera {
    right: 12%;
    bottom: 18%;
  }

  .motion-drone {
    right: 44%;
    bottom: 10%;
  }

  .project-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    gap: 18px;
    padding-bottom: 10px;
  }

  .project-card {
    flex: 0 0 295px;
    scroll-snap-align: start;
  }

  .project-media {
    aspect-ratio: 16 / 9;
  }

  .project-media strong {
    font-size: 34px;
  }

  .project-copy {
    padding: 18px;
  }

  .project-copy h3 {
    font-size: 28px;
  }

  .project-copy p {
    font-size: 13px;
  }

  .partners-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    gap: 14px;
    padding-bottom: 10px;
  }

  .partner-card {
    flex: 0 0 240px;
    min-height: 236px;
    padding: 18px 14px 16px;
    scroll-snap-align: start;
  }

  .partner-logo-wrap {
    height: 92px;
    margin-bottom: 0.75rem;
  }

  .partner-logo-wrap img {
    max-height: 92px;
  }

  .partner-card h3 {
    font-size: 20px;
    margin-bottom: 0.38rem;
  }

  .partner-card p {
    font-size: 13px;
    line-height: 1.42;
  }
}

/* Contact form */
#contact-form.slides-form input.stroke,
#contact-form.slides-form textarea.stroke {
  border-color: rgba(90, 21, 33, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ts-ink);
}

#contact-form.slides-form input.stroke:focus,
#contact-form.slides-form textarea.stroke:focus {
  border-color: var(--ts-burgundy);
  background: #fff;
}

#contact-form.slides-form textarea.stroke {
  min-height: 110px;
  resize: vertical;
}

#contact-form .form-field {
  margin-bottom: 0.65rem;
  text-align: left;
}

#contact-form .form-label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ts-burgundy);
}

#contact-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#contact-form .form-status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

#contact-form .form-status.is-success {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.28);
}

#contact-form .form-status.is-error {
  background: rgba(183, 28, 28, 0.1);
  color: #7f1d1d;
  border: 1px solid rgba(183, 28, 28, 0.25);
}

#contact-form input[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

#contact-form input.form-submit-success {
  background: linear-gradient(135deg, #2e7d32, #1b5e20) !important;
}

/* Team */
.team-kicker {
  width: min(92%, 1120px);
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  gap: 22px;
}

.team-kicker span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ts-burgundy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(90, 21, 33, 0.16);
}

.team-kicker i {
  width: 72px;
  height: 1px;
  background: rgba(201, 162, 39, 0.48);
}

.team-kicker strong {
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ts-burgundy-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  letter-spacing: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  text-align: left;
}

.team-member {
  position: relative;
}

.team-member img {
  width: 100%;
  aspect-ratio: 4 / 4.75;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 18px 42px rgba(90, 21, 33, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.team-member:hover img {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(201, 162, 39, 0.72);
  box-shadow: 0 28px 62px rgba(90, 21, 33, 0.2);
}

.team-member h3 {
  margin: 1.05rem 0 0.28rem;
  font-size: 31px;
  line-height: 1;
  text-transform: uppercase;
}

.team-member p {
  margin: 0;
  color: rgba(42, 24, 28, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .team-kicker {
    margin-bottom: 1rem;
    gap: 12px;
  }

  .team-kicker i {
    width: 42px;
  }

  .team-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .team-member {
    flex: 0 0 245px;
    scroll-snap-align: start;
  }

  .team-member h3 {
    font-size: 23px;
  }

  .team-member p {
    font-size: 15px;
  }
}

.panel .sections .menu.uppercase li {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.panel .sections .menu li a {
  opacity: 0.95;
}

.site-credit {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: rgba(42, 24, 28, 0.85);
}

.site-credit strong {
  color: var(--ts-burgundy);
  font-weight: 700;
  font-size: 1.15em;
}

.panel-credit {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.6rem 1rem 0.8rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ts-burgundy);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}

.sidebar-credit {
  margin-top: 2rem;
  font-size: 1.1rem;
}
