﻿:root {
  --theme-primary: #1B3A2D;
  --theme-accent: #E8773A;
  --theme-surface: #FBF8F3;
  --theme-heading: #1B3A2D;
  --theme-primary-rgb: 27, 58, 45;
  --theme-accent-rgb: 232, 119, 58;
}
/* =========================================
   SOFRA | Yeme & İçme Sektörü
   Ana CSS Dosyası
   ========================================= */

/* --- Tipografi --- */
body {
  font-family: 'Inter', sans-serif;
  color: #2B2B2B;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--theme-primary);
}

.text-accent {
  color: var(--theme-accent) !important;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--theme-accent);
  transition: all 0.3s ease-in-out;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- Butonlar --- */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-accent {
  background-color: var(--theme-accent);
  color: #ffffff;
  border: 1px solid var(--theme-accent);
}

.btn-accent:hover {
  background-color: var(--theme-accent);
  border-color: var(--theme-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb), 0.14);
}

.btn-outline-light:hover {
  color: var(--theme-primary);
  background-color: #ffffff;
}

.btn i.arrow-icon {
  transition: all 0.3s ease-in-out;
}

.btn:hover i.arrow-icon {
  transform: translateX(5px);
}

/* --- Navbar --- */
.navbar-custom {
  background-color: transparent;
  padding: 1.5rem 0;
  transition: all 0.3s ease-in-out;
}

.navbar-custom .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #ffffff !important;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.navbar-custom .navbar-brand span {
  color: var(--theme-accent);
}

.navbar-custom .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  position: relative;
  opacity: 0.9;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--theme-accent);
  transition: all 0.3s ease-in-out;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 100%;
}

.navbar-custom .nav-link:hover {
  opacity: 1;
}

.navbar-custom.scrolled {
  background-color: var(--theme-primary);
  padding: 1rem 0;
  box-shadow: 0 2px 12px rgba(var(--theme-primary-rgb), 0.2);
}

@media (max-width: 991px) {
  .navbar-custom {
    background-color: var(--theme-primary);
  }
}

/* --- Hero --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.78) 0%, rgba(10, 30, 20, 0.58) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .hero-title {
  color: #ffffff;
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .hero-section .hero-title {
    font-size: 2.6rem;
  }
}

.hero-section .hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(var(--theme-accent-rgb), 0.18);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.4);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-badge i {
  color: var(--theme-accent);
}

/* --- Feature Strip --- */
.feature-strip {
  background-color: var(--theme-accent);
  padding: 1.2rem 0;
}

.feature-strip .strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-weight: 500;
}

.feature-strip .strip-item i {
  font-size: 1.25rem;
}

/* --- About Section --- */
.about-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--theme-primary), #0f2518);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Service Cards --- */
.service-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(var(--theme-primary-rgb), 0.06);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid transparent;
  height: 100%;
}

.service-card .icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(var(--theme-accent-rgb), 0.12);
  color: var(--theme-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease-in-out;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb), 0.14);
  border-bottom-color: var(--theme-accent);
}

.service-card:hover .icon-wrapper {
  background-color: var(--theme-accent);
  color: #ffffff;
}

/* --- Stats Section --- */
.stats-section {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.stats-section .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(var(--theme-primary-rgb), 0.88);
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-box .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--theme-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box .stat-title {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

/* --- Project Cards --- */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card .project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(var(--theme-primary-rgb), 0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: all 0.3s ease-in-out;
}

.project-card .project-overlay h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.project-card .project-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.project-card .project-overlay .badge-category {
  display: inline-block;
  background-color: var(--theme-accent);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.project-card:hover img {
  transform: scale(1.08);
}

/* --- Testimonials --- */
.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(var(--theme-primary-rgb), 0.06);
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  background-color: var(--theme-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease-in-out;
}

.testimonial-nav-btn:hover {
  background-color: var(--theme-accent);
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 1;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--theme-accent);
  opacity: 0.4;
  border: none;
}

.carousel-indicators button.active {
  opacity: 1;
}

/* --- Footer --- */
.footer-custom {
  background-color: #1a1a1a;
  color: #a0a0a0;
  padding: 5rem 0 2rem;
}

.footer-custom h5 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.footer-custom h4 {
  font-family: 'Playfair Display', serif;
}

.footer-custom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-custom ul li {
  margin-bottom: 0.75rem;
}

.footer-custom ul li a {
  color: #a0a0a0;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.footer-custom ul li a:hover {
  color: var(--theme-accent);
  padding-left: 5px;
}

.footer-custom .footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-custom .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ===== SERVICES LIST PAGE ===== */
.svc-row {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(var(--theme-primary-rgb),0.07);
}
.svc-img-col {
  overflow: hidden;
  min-height: 460px;
}
.svc-img-col img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.svc-row:hover .svc-img-col img {
  transform: scale(1.03);
}
.svc-text-col { background: #fff; }
.svc-text-alt { background: var(--theme-surface); }
.svc-text { padding: 3.5rem; }
.svc-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(var(--theme-accent-rgb),0.13);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.svc-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(var(--theme-accent-rgb),0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--theme-accent);
}
.svc-feature-item {
  background: var(--theme-surface);
  border: 1px solid #eee;
  transition: box-shadow 0.25s;
}
.svc-feature-item:hover {
  box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb),0.08);
}
.svc-detail-cta { background: var(--theme-primary); }
@media (max-width: 991px) {
  .svc-img-col { min-height: 260px; }
  .svc-text { padding: 2rem 1.5rem; }
}

/* ===== ABOUT / SERVICE DETAIL PAGE ===== */
.about-sidenav { position: sticky; top: 100px; }
.about-nav { border-left: 2px solid #e8e8e8; }
.about-nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all 0.25s ease;
  border-radius: 0 4px 4px 0;
}
.about-nav-link:hover {
  color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb),0.04);
  border-left-color: var(--theme-accent);
}
.about-nav-link.active {
  color: var(--theme-accent);
  border-left-color: var(--theme-accent);
  background: rgba(var(--theme-accent-rgb),0.07);
}
.about-sidenav-cta { background: var(--theme-primary); color: #fff; }
.about-full-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(var(--theme-primary-rgb),0.12);
}
.about-full-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-full-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--theme-primary) 0%, #0f2518 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(var(--theme-accent-rgb),0.4);
}
.about-stat-box {
  background: var(--theme-surface);
  border: 1px solid #eee;
  transition: box-shadow 0.25s;
}
.about-stat-box:hover { box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb),0.08); }
.about-value-card {
  background: var(--theme-surface);
  border: 1px solid #eee;
  height: 100%;
  transition: box-shadow 0.25s;
}
.about-value-card:hover { box-shadow: 0 4px 18px rgba(var(--theme-primary-rgb),0.08); }
@media (max-width: 991px) {
  .about-sidenav { position: static; border-bottom: 1px solid #eee; padding-bottom: 1.5rem; margin-bottom: 1rem; }
  .about-nav { flex-direction: row !important; flex-wrap: wrap; border-left: none; border-bottom: 2px solid #e8e8e8; gap: 0.25rem; }
  .about-nav-link { border-left: none; border-bottom: 2px solid transparent; margin-left: 0; margin-bottom: -2px; border-radius: 4px 4px 0 0; font-size: 0.82rem; padding: 0.4rem 0.75rem; }
  .about-nav-link.active, .about-nav-link:hover { border-left-color: transparent; border-bottom-color: var(--theme-accent); }
}

/* badge */
.bg-accent { background-color: var(--theme-accent) !important; }

/* --- Utilities --- */
.bg-surface {
  background-color: var(--theme-surface);
}

.bg-primary {
  background-color: var(--theme-primary) !important;
}

.hover-accent:hover {
  color: var(--theme-accent) !important;
  transition: all 0.3s ease-in-out;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}
