/* ===========================================================
   Crema Catering — Tema Stilleri
   Palet: Krem tonları + sütlü çikolata / kahve rengi
   =========================================================== */

:root {
  --cream: #F7F0E4;
  --cream-light: #FBF6ED;
  --cream-dark: #EFE3CE;
  --coffee: #6F4E37;
  --coffee-dark: #4A2E22;
  --coffee-light: #A67B5B;
  --text-dark: #3B2A20;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-body);
}

h1, h2, h3, h4, .brand-font, .slide-title {
  font-family: var(--font-heading);
  color: var(--coffee-dark);
}

a {
  color: var(--coffee);
}
a:hover {
  color: var(--coffee-dark);
}

/* ---------- Topbar ---------- */
.topbar {
  background-color: var(--coffee-dark);
  color: var(--cream-dark);
  font-size: .82rem;
  padding: .55rem 0;
}
.topbar a {
  color: var(--cream-dark);
  text-decoration: none;
  margin-right: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s ease;
}
.topbar a:last-child {
  margin-right: 0;
}
.topbar a:hover {
  color: var(--cream-light);
}
.topbar-social a {
  margin-right: 0;
  margin-left: 1rem;
}

/* ---------- Navbar ---------- */
.navbar-crema {
  background-color: rgba(251, 246, 237, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.navbar-crema.scrolled {
  background-color: rgba(251, 246, 237, 0.98);
  box-shadow: 0 4px 14px rgba(74, 46, 34, 0.12);
}
.navbar-crema .navbar-brand img {
  height: 60px;
  width: auto;
}
.navbar-crema .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.02rem;
  margin-left: 1.4rem;
  position: relative;
}
.navbar-crema .btn-nav-cta {
  background-color: var(--coffee);
  color: var(--cream-light);
  font-weight: 600;
  font-size: .95rem;
  padding: .55rem 1.5rem;
  border-radius: 50px;
  transition: background-color .2s ease, transform .2s ease;
}
.navbar-crema .btn-nav-cta:hover {
  background-color: var(--coffee-dark);
  color: var(--cream-light);
  transform: translateY(-1px);
}
.navbar-crema .nav-link.active,
.navbar-crema .nav-link:hover {
  color: var(--coffee);
}
.navbar-crema .nav-link.active::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 0;
  height: 2px;
  background: var(--coffee-light);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee) 55%, var(--coffee-light) 100%);
  color: var(--cream-light);
  padding: 6rem 0;
}
.hero h1 {
  color: var(--cream-light);
  font-size: 3rem;
}
.hero p.lead {
  color: var(--cream-dark);
}
.hero .btn-crema,
.hero-carousel .btn-crema {
  background-color: var(--cream-light);
  color: var(--coffee-dark);
  border: none;
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 50px;
  transition: transform .2s ease, background-color .2s ease;
}
.hero .btn-crema:hover,
.hero-carousel .btn-crema:hover {
  background-color: var(--cream);
  transform: translateY(-2px);
  color: var(--coffee-dark);
}
.hero .btn-outline-crema,
.hero-carousel .btn-outline-crema {
  border: 2px solid var(--cream-light);
  color: var(--cream-light);
  font-weight: 600;
  padding: .7rem 2rem;
  border-radius: 50px;
  transition: all .2s ease;
}
.hero .btn-outline-crema:hover,
.hero-carousel .btn-outline-crema:hover {
  background-color: var(--cream-light);
  color: var(--coffee-dark);
}

/* ---------- Hero Carousel (Anasayfa) ---------- */
.hero-carousel .carousel-item {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
}
.hero-carousel .carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
.hero-carousel .carousel-item.active .carousel-bg {
  animation: heroKenBurns 7s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(59, 42, 32, 0.78) 0%, rgba(59, 42, 32, 0.45) 48%, rgba(59, 42, 32, 0.15) 100%);
}
.hero-carousel .slide-counter {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: 2.4rem;
  color: var(--cream-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  opacity: .85;
}
.hero-carousel .slide-counter .current {
  font-size: 1.6rem;
  font-weight: 700;
}
.hero-carousel .scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4.6rem;
  transform: translateX(-50%);
  color: var(--cream-light);
  opacity: .8;
  animation: scrollCueBounce 2s ease-in-out infinite;
}
@keyframes scrollCueBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
.hero-carousel .carousel-caption-custom {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 620px;
  color: var(--cream-light);
  text-align: left;
}
.hero-carousel .carousel-caption-custom .eyebrow {
  color: var(--cream-dark);
}
.hero-carousel .carousel-caption-custom .slide-title {
  color: var(--cream-light);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
}
.hero-carousel .carousel-caption-custom p {
  color: var(--cream-dark);
}
.hero-carousel .carousel-indicators {
  z-index: 3;
  margin-bottom: 1.5rem;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--cream-light);
  width: 34px;
  height: 4px;
  border-radius: 2px;
  opacity: .5;
}
.hero-carousel .carousel-indicators .active {
  opacity: 1;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 6%;
  z-index: 3;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 2.4rem;
  height: 2.4rem;
  background-color: rgba(251, 246, 237, 0.15);
  border-radius: 50%;
  padding: .6rem;
  background-size: 1.2rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1.is-visible { transition-delay: .1s; }
.reveal-delay-2.is-visible { transition-delay: .2s; }
.reveal-delay-3.is-visible { transition-delay: .3s; }

/* ---------- Image-top service cards ---------- */
.card-crema-img {
  background-color: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-crema-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(74, 46, 34, 0.14);
}
.card-crema-img .card-img-top-wrap {
  height: 190px;
  overflow: hidden;
  background-color: var(--cream-dark);
}
.card-crema-img .card-img-top-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.card-crema-img:hover .card-img-top-wrap img {
  transform: scale(1.08);
}
.card-crema-img .card-body-crema {
  padding: 1.6rem 1.5rem;
}

/* ---------- Gallery grid ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .9rem 1rem;
  background: linear-gradient(0deg, rgba(59, 42, 32, 0.82), rgba(59, 42, 32, 0));
  color: var(--cream-light);
  font-weight: 600;
  font-size: .95rem;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ---------- Hizmet kontrol listesi ---------- */
.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .3rem 0;
  font-size: .93rem;
  color: var(--text-dark);
}
.service-checklist svg {
  color: var(--coffee-light);
  flex-shrink: 0;
  margin-top: .15rem;
}

/* ---------- Süreç adımları ---------- */
.process-step {
  background-color: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  position: relative;
}
.process-step-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cream-dark);
  -webkit-text-stroke: 1.5px var(--coffee-light);
  margin-bottom: .75rem;
}

/* ---------- Section helpers ---------- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background-color: var(--cream-dark);
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  display: inline-block;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--coffee-light);
  font-weight: 600;
  margin-bottom: .5rem;
}

/* ---------- Cards ---------- */
.card-crema {
  background-color: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-crema:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(74, 46, 34, 0.12);
}
.card-crema .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--coffee);
  color: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

/* ---------- Stats ---------- */
.stat-box {
  text-align: center;
}
.stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--coffee);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.cta-band {
  background-color: var(--coffee-dark);
  color: var(--cream-light);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--cream-light);
}

/* ---------- Contact info blocks ---------- */
.contact-box {
  background-color: var(--cream-light);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
}
.contact-box .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--coffee-light);
  color: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}
.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
  filter: sepia(15%);
}

/* ---------- Footer ---------- */
.footer-crema {
  background-color: var(--coffee-dark);
  color: var(--cream-dark);
  padding: 3rem 0 1.5rem;
}
.footer-crema h5 {
  color: var(--cream-light);
}
.footer-crema a {
  color: var(--cream-dark);
  text-decoration: none;
}
.footer-crema a:hover {
  color: var(--cream-light);
}
.footer-crema .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--coffee-light);
  margin-right: .5rem;
}
.footer-crema .social-icons a:hover {
  background-color: var(--coffee-light);
}
.footer-link-btn {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1.1rem;
  border: 1px solid var(--coffee-light);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--cream-dark) !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.footer-link-btn:hover {
  background-color: var(--coffee-light);
  color: var(--coffee-dark) !important;
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(247, 240, 228, 0.15);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: .85rem;
  color: var(--coffee-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .9rem;
}

/* ---------- Misc ---------- */
.divider-icon {
  color: var(--coffee-light);
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* ---------- WhatsApp sabit buton ---------- */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1030;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}

/* ---------- Footer iletişim ---------- */
.footer-crema .footer-contact li,
.footer-crema .footer-contact a {
  color: inherit;
}
