/* =========================================================
   Sky Binicilik — Global Stylesheet
   Equestrian palette: deep racing green + gold + cream
   ========================================================= */

:root {
  --green: #1f4035;
  --green-dark: #142a22;
  --green-darker: #0d1b16;
  --gold: #c9a24b;
  --gold-light: #e0c688;
  --cream: #f6f2e9;
  --cream-dark: #ece5d6;
  --text: #1c241f;
  --text-soft: #4a534c;
  --white: #ffffff;
  --shadow: 0 18px 50px -20px rgba(13, 27, 22, 0.45);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  font-weight: 700;
  color: var(--green-dark);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-darker);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(201, 162, 75, 0.7);
  background: var(--gold-light);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--green);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(20, 42, 34, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-darker);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px -6px rgba(201,162,75,0.8);
}
.logo-text { line-height: 1.1; }
.logo-text strong { font-family: "Playfair Display", serif; font-size: 1.2rem; display:block; letter-spacing: 0.5px;}
.logo-text span { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-light); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.2); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,22,0.92) 0%, rgba(20,42,34,0.7) 50%, rgba(13,27,22,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-content h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 22px;
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(246,242,233,0.88);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue .mouse {
  width: 24px; height: 40px;
  border: 2px solid var(--gold-light);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:7px} 40%{opacity:1} 80%{opacity:0;top:20px} 100%{opacity:0} }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 180px 0 90px;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.page-banner .hero-bg { animation: none; transform: scale(1.05); }
.page-banner::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,27,22,0.85), rgba(20,42,34,0.8));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-banner p { color: rgba(246,242,233,0.85); max-width: 560px; margin: 0 auto; }
.breadcrumb { margin-top: 18px; font-size: 0.85rem; color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--green-dark);
  color: var(--cream);
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold);
  font-weight: 700;
}
.stat .label { font-size: 0.9rem; letter-spacing: 0.05em; color: rgba(246,242,233,0.8); margin-top: 6px; }

/* ---------- Feature / about split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.split p { color: var(--text-soft); margin-bottom: 16px; }
.check-list { list-style: none; margin: 22px 0; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; font-weight: 500;
}
.check-list li::before {
  content: "✓";
  width: 26px; height: 26px;
  background: var(--green);
  color: var(--gold-light);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px -24px rgba(13,27,22,0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  border: 1px solid rgba(20,42,34,0.06);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}
.card-img {
  height: 220px;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-img img { transform: scale(1.1); }
.card-body { padding: 26px; }
.card-body h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card-body p { color: var(--text-soft); font-size: 0.97rem; }
.card-tag {
  display:inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px -22px rgba(13,27,22,0.5);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 45%, rgba(13,27,22,0.85));
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--cream);
  font-weight: 600;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .overlay { opacity: 1; }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 14px 40px -28px rgba(13,27,22,0.4);
  border-top: 4px solid var(--gold);
}
.quote p { font-style: italic; color: var(--text-soft); margin-bottom: 18px; }
.quote .author { font-weight: 700; color: var(--green-dark); }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 90px 0;
  overflow: hidden;
}
.cta-band .hero-bg { animation: none; }
.cta-band::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(rgba(13,27,22,0.9), rgba(20,42,34,0.92));
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cream); font-size: clamp(2rem,4vw,3rem); margin-bottom: 16px; }
.cta-band p { color: rgba(246,242,233,0.85); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: 0 12px 36px -28px rgba(13,27,22,0.4);
  transition: transform 0.35s var(--ease);
}
.info-card:hover { transform: translateX(6px); }
.info-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--green);
  color: var(--gold-light);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-card h4 { margin-bottom: 4px; }
.info-card p { color: var(--text-soft); font-size: 0.95rem; }

.form-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:0.9rem; margin-bottom:8px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: border 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.2);
  background: var(--white);
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-darker);
  color: rgba(246,242,233,0.8);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid h4 { color: var(--cream); margin-bottom: 18px; font-size: 1.05rem; }
.footer-grid p { font-size: 0.92rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.92rem; transition: color 0.3s, padding 0.3s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(246,242,233,0.08);
  display: grid; place-items: center;
  color: var(--cream);
  transition: background 0.3s, transform 0.3s;
}
.footer-social a:hover { background: var(--gold); color: var(--green-darker); transform: translateY(-4px); }
.footer-bottom {
  border-top: 1px solid rgba(246,242,233,0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Floating buttons ---------- */
.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  box-shadow: 0 10px 28px -8px rgba(0,0,0,0.45);
  transition: transform 0.3s var(--ease);
  position: relative;
}
.float-btn:hover { transform: scale(1.12); }
.float-btn svg { width: 28px; height: 28px; }
.float-wa { background: #25d366; }
.float-tel { background: var(--gold); color: var(--green-darker); }
.float-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulseRing 2s var(--ease) infinite;
  opacity: 0.6;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 75%;
    max-width: 320px;
    background: var(--green-dark);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav-links.open { right: 0; }
  .menu-toggle { display: flex; z-index: 110; }
  .menu-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
  .menu-toggle.active span:nth-child(2){ opacity:0;}
  .menu-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}
  .cards, .quotes, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
