/* ============================================
   Hasat Emlak - Kurumsal Tanıtım Sitesi
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #0d1b2a;
  --color-primary-light: #1b2d45;
  --color-accent: #c9a227;
  --color-accent-hover: #b08d1e;
  --color-accent-green: #2d6a4f;
  --color-text: #333333;
  --color-text-muted: #6c757d;
  --color-white: #ffffff;
  --color-light: #f8f9fa;
  --color-border: #e9ecef;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 4px 20px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 27, 42, 0.16);
  --transition: 0.3s ease;
  --navbar-height: 76px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Typography Utilities --- */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.section-padding {
  padding: 5rem 0;
}

.bg-light-section {
  background-color: var(--color-light);
}

.bg-dark-section {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
  color: var(--color-white);
}

.bg-dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Buttons --- */
.btn-accent {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  transition: all var(--transition);
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-accent {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-light-custom:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: var(--color-white);
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  transition: all var(--transition);
}

.btn-whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar-main {
  background-color: var(--color-white);
  padding: 0.875rem 0;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar-main.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-border);
  padding: 0.625rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.navbar-brand .brand-name {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

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

.navbar-brand .brand-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(13, 27, 42, 0.12));
}

.nav-link {
  font-weight: 500;
  color: var(--color-primary) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link.active {
  color: var(--color-accent) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #243b55 100%);
  overflow: hidden;
  padding-top: calc(var(--navbar-height) + 1.5rem);
  max-width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-pattern.svg') repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 27, 42, 0.95) 40%, rgba(13, 27, 42, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 2rem 0 4rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-content h1 .highlight {
  color: var(--color-accent);
}

.hero-content .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
}

.hero-stat-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(201, 162, 39, 0.3);
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-pattern.svg') repeat;
  opacity: 0.05;
}

.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  position: relative;
  z-index: 1;
  justify-content: center;
  margin-bottom: 0;
  margin-top: 1rem;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.page-header .breadcrumb-item.active {
  color: var(--color-accent);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* --- Service Cards --- */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--color-accent);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* --- Feature / Why Us Cards --- */
.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  height: 100%;
  transition: all var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.25rem;
}

.feature-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --- Process Steps --- */
.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem;
}

.process-number {
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.process-connector {
  display: none;
}

@media (min-width: 992px) {
  .process-connector {
    display: block;
    position: absolute;
    top: 48px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: linear-gradient(to right, var(--color-accent), rgba(201, 162, 39, 0.3));
    z-index: 1;
  }

  .process-step:last-child .process-connector {
    display: none;
  }
}

/* --- About Section --- */
.about-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  max-width: 100%;
}

.about-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.about-experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 1.25rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-experience-badge strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-heading);
  line-height: 1;
}

.about-experience-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mission-vision-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
  border-left: 4px solid var(--color-accent);
}

.mission-vision-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.mission-vision-card h3 i {
  color: var(--color-accent);
}

/* --- FAQ Accordion --- */
.faq-accordion .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-white);
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(201, 162, 39, 0.08);
  color: var(--color-primary);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-accent);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c9a227'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* --- Contact Section --- */
.contact-info-card {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 0.75rem;
  padding: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.25rem;
}

.contact-info-item h3 {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card .form-label {
  font-weight: 500;
  color: var(--color-primary);
  font-size: 0.875rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  transition: border-color var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.15);
}

.map-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 1rem;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-pattern.svg') repeat;
  opacity: 0.05;
}

.cta-banner h2 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-banner .btn-group-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Footer --- */
.footer-main {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand .brand-accent {
  color: var(--color-accent);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  color: #ffffff;
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.footer-contact-item a,
.footer-contact-item a:visited {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.45);
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-copyright {
  margin: 0;
}

.footer-credit {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-credit span {
  color: rgba(255, 255, 255, 0.65);
}

.devira-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: opacity var(--transition);
}

.devira-brand:hover {
  opacity: 0.85;
}

.devira-logo {
  height: 22px;
  width: auto;
  mix-blend-mode: lighten;
}

.devira-text {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.devira-text .devi {
  color: #22d3ee;
}

.devira-text .ra {
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Values Grid (About page) --- */
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  height: 100%;
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* --- Service Detail (Hizmetler page) --- */
.service-detail-card {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.05));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent);
}

.service-detail-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.service-detail-card p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-detail-list li {
  background: var(--color-light);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .service-detail-card {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  :root {
    --navbar-height: 80px;
  }

  .navbar-nav .nav-link {
    display: inline-block;
    width: auto;
  }

  .navbar-nav .nav-link::after {
    left: 0;
    transform: none;
  }

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

  .navbar-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 2rem);
    padding-bottom: 2.5rem;
  }

  .hero-content {
    text-align: center;
    padding: 1.5rem 0 2rem;
  }

  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0;
  }

  .hero-image-wrapper {
    margin-top: 0.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.5rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .page-header {
    padding: calc(var(--navbar-height) + 2.5rem) 0 3rem;
  }

  /* Yatay taşmayı önle */
  .fade-in-left,
  .fade-in-right {
    transform: translateY(24px);
  }

  .fade-in-left.visible,
  .fade-in-right.visible {
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  :root {
    --navbar-height: 76px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-main {
    padding: 0.75rem 0;
  }

  .navbar-brand {
    font-size: 1.125rem;
    gap: 0.5rem;
    max-width: calc(100% - 3rem);
  }

  .navbar-brand .brand-name {
    font-size: 1.125rem;
  }

  .navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
  }

  .hero-section {
    padding-top: calc(var(--navbar-height) + 1.75rem);
  }

  .hero-content h1 {
    font-size: 1.75rem;
    word-break: break-word;
  }

  .hero-content .lead {
    font-size: 0.9375rem;
  }

  .hero-image-wrapper {
    border-width: 2px;
  }

  .hero-image-wrapper img {
    min-height: 200px;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 1.75rem;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }

  .btn-group-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group-cta .btn {
    width: 100%;
  }
}
