/* Çınaraltı Toplu Yemek: tema üzerine eklenen stiller */
:root {
  --c-theme: #1f6e3f;
  --c-theme-dark: #164f2d;
  --c-whatsapp: #25d366;
  /* koyu zeminlerde vurgulu yazılar için açık yeşil */
  --c-theme-light: #7fd39b;
  /* Cookie fontunda ş, ğ, İ yok; Türkçe destekli el yazısı font */
  --theme-font3: "Dancing Script", cursive;
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id="hesapla"] {
  scroll-margin-top: 90px;
}

.text-font3,
.sec-title1.text-font3 {
  font-weight: 700;
}

/*---------- Yazı logo ----------*/
.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  text-decoration: none;
  color: var(--title-color);
}
.text-logo:hover {
  color: var(--title-color);
}
.text-logo__icon {
  font-size: 38px;
  color: var(--c-theme);
}
.text-logo__img {
  width: 56px;
  height: 56px;
  flex: none;
}
.text-logo--sm .text-logo__img {
  width: 46px;
  height: 46px;
}
.text-logo__text {
  display: flex;
  flex-direction: column;
}
.text-logo__name {
  font-family: var(--theme-font3);
  font-weight: 700;
  font-size: 38px;
  line-height: 0.95;
}
.text-logo__sub {
  font-family: var(--theme-font1);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 4px;
}
.text-logo--light,
.text-logo--light:hover {
  color: #ffffff;
}
.text-logo--sm .text-logo__name {
  font-size: 32px;
}
.text-logo--sm .text-logo__icon {
  font-size: 30px;
}
.header-logo .text-logo,
.logo .text-logo,
.mobile-logo .text-logo {
  white-space: nowrap;
}

/*---------- Header ----------*/
.header-layout4 .main-menu > ul > li > a {
  white-space: nowrap;
}
.header-layout4 .header-btn .vs-btn,
.header-layout4 .contact-info .h4 {
  white-space: nowrap;
}
@media (max-width: 1399px) {
  .header-layout4 .main-menu > ul > li {
    margin: 0 10px;
  }
}
/* seven menu items need ~1300px; below that use the hamburger menu */
@media (max-width: 1299px) {
  .header-layout4 .main-menu,
  .sticky-header .main-menu {
    display: none !important;
  }
  .ca-menu-btn {
    display: inline-flex !important;
  }
  .header-layout4 .ca-menu-btn {
    float: right;
  }
}

/*---------- Mobil menü ----------*/
.ca-menu-btn {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--c-theme);
  cursor: pointer;
}
.ca-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}
.ca-menu-btn span:nth-child(2) {
  width: 14px;
}
.ca-menu-btn:focus-visible {
  outline: 2px solid var(--title-color);
  outline-offset: 2px;
}
.ca-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}
.ca-drawer.is-open {
  visibility: visible;
  transition: none;
}
.ca-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ca-drawer.is-open .ca-drawer__backdrop {
  opacity: 1;
}
.ca-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 22px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.ca-drawer.is-open .ca-drawer__panel {
  transform: none;
}
.ca-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ca-drawer__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--smoke-color);
  color: var(--title-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ca-drawer__nav {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.ca-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--title-color);
}
.ca-drawer__nav a i {
  width: 22px;
  text-align: center;
  font-size: 18px;
  color: var(--c-theme);
}
.ca-drawer__nav a.is-active {
  background: rgba(31, 110, 63, 0.1);
  color: var(--c-theme);
}
.ca-drawer__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ca-drawer__cta .vs-btn {
  width: 100%;
  height: 52px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ca-drawer__two {
  display: flex;
  gap: 10px;
}
.ca-drawer__two .vs-btn i {
  margin-right: 8px;
}
.vs-btn.ca-btn-dark-outline {
  background: #ffffff;
  color: var(--title-color);
  border: 2px solid var(--title-color);
}
.ca-drawer__info {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
}
body.ca-drawer-open {
  overflow: hidden;
}
@media (min-width: 1300px) and (max-width: 1399px) {
  .header-layout4 .main-menu > ul > li {
    margin: 0 7px;
  }
  .header-layout4 .main-menu a {
    font-size: 15px;
  }
}
/* the phone block only fits next to the menu on wide screens */
@media (max-width: 1599px) {
  .header-layout4 .header-right .contact-info {
    display: none !important;
  }
}

/*---------- Telefon hero (LayerSlider telefonda çok küçülüyor) ----------*/
.ca-mhero {
  position: relative;
  height: 72vh;
  height: 72svh;
  min-height: 440px;
  max-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: #111;
}
.ca-mhero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: ca-mhero-fade 18s infinite;
}
.ca-mhero__slide--1 {
  background-image: url(../img/cinaralti/hero-1.jpg);
  animation-delay: 0s;
}
.ca-mhero__slide--2 {
  background-image: url(../img/cinaralti/hero-2.jpg);
  animation-delay: 6s;
}
.ca-mhero__slide--3 {
  background-image: url(../img/cinaralti/hero-3.jpg);
  animation-delay: 12s;
}
@keyframes ca-mhero-fade {
  0% { opacity: 0; transform: scale(1.08); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ca-mhero__slide {
    animation: none;
  }
  .ca-mhero__slide--1 {
    opacity: 1;
  }
}
.ca-mhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}
.ca-mhero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.ca-mhero__sub {
  font-family: var(--theme-font3);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
}
.ca-mhero__title {
  font-family: var(--theme-font2);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  margin: 8px 0 14px;
  color: #ffffff;
}
.ca-mhero__title small {
  display: block;
  font-size: 0.5em;
  margin-top: 8px;
}
.ca-mhero__text {
  max-width: 320px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}
.ca-mhero__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 340px;
}
.ca-mhero__btns .vs-btn,
.ca-quick-contact .vs-btn {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}
.vs-btn.ca-btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}
.vs-btn.ca-btn-outline:hover {
  background: #ffffff;
  color: var(--title-color);
}
@media (max-width: 767px) {
  .vs-hero-layout4 {
    display: none;
  }
}

/*---------- Arka plan görselleri ----------*/
/* tema bg-fluid ile görseli kutuya esnetiyor; oranı koru */
.background-image.bg-fluid {
  background-size: cover !important;
  background-position: center center;
}
/* telefonlarda sabit (parallax) arka plan desteklenmiyor, görsel devasa büyüyor */
@media (max-width: 991px) {
  .bg-fixed {
    background-attachment: scroll !important;
  }
}
@media (max-width: 767px) {
  #menu.background-image,
  #teklif.background-image {
    background-image: none !important;
    background-color: #0d0c0b;
  }
  .vs-cta-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(13, 12, 11, 0), #0d0c0b);
    pointer-events: none;
  }
  .vs-cta-wrapper .container {
    position: relative;
    z-index: 2;
  }
}

/*---------- Hakkımızda ----------*/
.vs-about-layout6 .about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.ca-highlight .counter-number {
  display: block;
  font-family: var(--theme-font2);
  font-size: 34px;
  line-height: 1.1;
  color: var(--title-color);
}

@media (max-width: 575px) {
  .ca-highlight {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ca-highlight .media-icon {
    margin: 0 0 8px;
  }
  .ca-highlight .counter-number {
    font-size: 26px;
  }
  .ca-highlight h3 {
    font-size: 15px;
  }
}

/*---------- Hizmetler ----------*/
.vs-service-layout2 .service-text {
  min-height: 78px;
}

/*---------- Menü kartları ----------*/
.ca-menu-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.ca-menu-card:hover {
  transform: translateY(-6px);
}
.ca-menu-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #222;
}
.ca-menu-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ca-menu-card__price {
  position: absolute;
  right: 15px;
  bottom: -22px;
  background: var(--c-theme);
  color: #ffffff;
  font-family: var(--theme-font2);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.ca-menu-card__price small {
  display: block;
  font-family: var(--theme-font1);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 3px;
}
.ca-menu-card__body {
  padding: 35px 25px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ca-menu-card__title {
  font-size: 24px;
  margin-bottom: 8px;
}
.ca-menu-card__main {
  color: var(--c-theme);
  font-weight: 500;
  margin-bottom: 12px;
}
.ca-menu-card__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 6px;
  margin-bottom: 24px;
  flex: 1;
}
.ca-chip {
  font-size: 13px;
  line-height: 1;
  color: var(--title-color);
  background: var(--smoke-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 6px 12px;
}
.ca-menu-card .vs-btn {
  align-self: center;
}
.ca-menu-note {
  color: #ffffff;
  opacity: 0.85;
}

/*---------- Fiyat hesaplama ----------*/
.ca-calc {
  background: var(--smoke-color);
  border-radius: 6px;
  padding: 50px;
}
.ca-calc label {
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: 8px;
}
.ca-calc .nice-select,
.ca-calc .form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.ca-calc .nice-select {
  width: 100%;
  line-height: 58px;
  float: none;
}
.ca-calc .nice-select .list {
  width: 100%;
}
.ca-people-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.ca-people-quick button {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--title-color);
  transition: all 0.2s ease;
}
.ca-people-quick button:hover {
  background: var(--c-theme);
  border-color: var(--c-theme);
  color: #ffffff;
}
.ca-result {
  background: var(--title-color);
  color: #ffffff;
  border-radius: 6px;
  padding: 35px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ca-result__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ca-result__row span:last-child {
  font-weight: 500;
}
.ca-result__total {
  margin-top: 20px;
  text-align: center;
}
.ca-result__total small {
  display: block;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.ca-result__total strong {
  display: block;
  font-family: var(--theme-font2);
  font-size: 46px;
  line-height: 1.2;
  color: var(--c-theme);
}
.ca-result__items {
  font-size: 14px;
  opacity: 0.75;
  text-align: center;
  min-height: 21px;
  margin: 6px 0 20px;
}
.ca-result .vs-btn {
  margin-top: auto;
}
@media (max-width: 767px) {
  .ca-calc {
    padding: 30px 20px;
  }
  .ca-result__total strong {
    font-size: 36px;
  }
}

/*---------- Butonlar ----------*/
.vs-btn.ca-btn-whatsapp,
.vs-btn.ca-btn-whatsapp:hover {
  background-color: var(--c-whatsapp);
  color: #ffffff;
}
.vs-btn.ca-btn-whatsapp i {
  margin-right: 8px;
  font-size: 1.2em;
  vertical-align: -2px;
}
.form-control.is-invalid,
.form-group.is-invalid .nice-select {
  border: 1px solid #dc3545 !important;
}

/*---------- Teklif formu ----------*/
.ca-quote-form .nice-select {
  width: 100%;
  line-height: 58px;
  float: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.ca-quote-form .nice-select .list {
  width: 100%;
}
/* an open dropdown must sit above the fields below it */
.ca-quote-form .form-group:has(.nice-select.open),
.ca-calc .form-group:has(.nice-select.open) {
  z-index: 60;
}
.nice-select.open {
  z-index: 60;
}
.nice-select.open .list {
  z-index: 61;
}
.ca-quote-form textarea.form-control {
  height: 110px;
  padding-top: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.ca-quote-form .form-control[readonly] {
  background-color: #ffffff;
  cursor: pointer;
}
.ca-quote-form.bg-smoke .form-control,
.ca-quote-form.bg-smoke .nice-select {
  background-color: #ffffff;
}
.ca-contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
}
.ca-quote-form {
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}
.ca-quick-contact {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.ca-quick-contact .vs-btn i {
  margin-right: 8px;
}
/* telefonda iletişim bilgileri kutusuz, koyu zemin üzerinde */
@media (max-width: 991px) {
  #teklif .ca-contact-panel {
    background: transparent !important;
    padding: 0 6px !important;
    color: rgba(255, 255, 255, 0.85);
  }
  #teklif .ca-contact-panel .box-title,
  #teklif .ca-contact-panel a {
    color: #ffffff;
  }
  #teklif .ca-contact-panel .icon i {
    color: var(--c-theme);
    font-size: 2em;
  }
  #teklif .ca-contact-panel .icon-contact-box {
    margin-bottom: 22px !important;
  }
  #teklif .ca-contact-panel .ca-quick-contact a {
    color: #ffffff;
  }
}
.ca-quote-form .form-hint {
  font-size: 13px;
  margin: 12px 0 0;
  text-align: center;
}

/*---------- WhatsApp sabit buton ----------*/
.ca-wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.ca-wa-float:hover {
  color: #ffffff;
  transform: scale(1.08);
}

/*---------- Footer ----------*/
.footer-layout1 .footer-widget-wrapper.ca-footer {
  padding-top: 90px;
}
@media (max-width: 991px) {
  .footer-layout1 .footer-widget-wrapper.ca-footer {
    padding-top: 50px;
  }
}
.ca-footer .contact-info i {
  color: var(--c-theme);
}

/*---------- İletişim sayfası ----------*/
.ca-page-head .breadcumb-content {
  padding-top: 200px;
}
@media (max-width: 991px) {
  .ca-page-head .breadcumb-content {
    padding-top: 65px;
  }
}
.ca-contact-box {
  background: #ffffff;
  border-radius: 6px;
  padding: 35px 30px;
  height: 100%;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
  text-align: center;
}
.ca-contact-box i {
  font-size: 40px;
  color: var(--c-theme);
  margin-bottom: 18px;
}
.ca-contact-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.ca-contact-box p {
  margin: 0;
}
.ca-map-col {
  display: flex;
  flex-direction: column;
}
.ca-contact-box.ca-address {
  height: auto;
}
.ca-map {
  flex: 1;
  min-height: 400px;
}
.ca-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: 6px;
}

/*---------- Koyu zeminlerde okunurluk ----------*/
.vs-cta-wrapper .text-theme,
#menu .section-title .text-theme,
#teklif .section-title .text-theme,
.ca-result__total strong,
.dark-footer .contact-info i,
.dark-footer .widget_nav_menu a:before,
.text-logo--light .text-logo__icon {
  color: var(--c-theme-light) !important;
}
@media (max-width: 991px) {
  #teklif .ca-contact-panel .icon i {
    color: var(--c-theme-light);
  }
}
