/* SECTION: Design Tokens */
:root {
  /* Colors */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-accent: #0ea5e9;
  --color-border: #e2e8f0;

  /* Typography */
  --font-sans: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 8px rgba(15, 23, 42, 0.06),
    0 16px 32px rgba(15, 23, 42, 0.06);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
}

/* Google Font import */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

/* SECTION: Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-wrapper {
  min-height: 100vh;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.layout-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography helpers */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.page-title {
  font-size: clamp(1.9rem, 2.3vw + 1.4rem, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.lead-text {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--color-muted);
}

/* SECTION: Cards */
.card-tall,
.card-media-only,
.card-text-only {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  overflow: hidden;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-tall:hover,
.card-media-only:hover,
.card-text-only:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(56, 189, 248, 0.6);
}

/* Tall card: image + text */
.card-tall {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-tall-media-wrapper {
  flex: 1 1 50%;
  overflow: hidden;
}

.card-tall-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-tall-body {
  flex: 1 1 50%;
  padding: var(--space-lg);
}

.card-title {
  margin: 0 0 var(--space-sm);
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Media-only cards (just image) */
.card-media-only {
  border-radius: var(--radius-md);
}

.media-only-img {
  width: 100%;
  /* 4.5 : 6.5 oranına yakın sabit yükseklik için aspect-ratio kullan */
  aspect-ratio: 6.5 / 4.5;
  height: auto;
  object-fit: contain;
}

/* Text-only cards */
.card-text-only {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.card-text-only p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Layout tweaks */
.layout-grid {
  align-items: stretch;
}

/* Equal height for middle (images) and right (text) cards on large screens */
@media (min-width: 992px) {
  /* Her iki sütundaki dikey stack aynı yüksekliği paylaşsın */
  .layout-grid > .col-lg-4:nth-child(2) > .d-flex,
  .layout-grid > .col-lg-4:nth-child(3) > .d-flex {
    height: 100%;
  }

  /* İçteki kartlar eşit bölünsün */
  .layout-grid > .col-lg-4:nth-child(2) .card-media-only,
  .layout-grid > .col-lg-4:nth-child(3) .card-text-only {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
  }

  /* Metin kartlarının iç boşluğu korunurken içerik taşmasın */
  .layout-grid > .col-lg-4:nth-child(3) .card-text-only p {
    flex: 1 1 auto;
  }
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

/* Gradient mesh from visual-effects skill */
.gradient-mesh {
  background:
    radial-gradient(at 40% 20%, rgba(248, 250, 252, 0.9) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(14, 165, 233, 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(236, 72, 153, 0.08) 0px, transparent 50%);
  background-color: var(--color-bg);
}

.floating-shape {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0.12;
  filter: blur(70px);
  top: -60px;
  right: -40px;
  pointer-events: none;
}

.gradient-border {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(135deg, var(--color-accent), #ec4899) border-box;
}

/* Responsive behaviour */
@media (min-width: 768px) {
  .page-wrapper {
    padding: var(--space-2xl) var(--space-xl);
  }
}

@media (max-width: 575.98px) {



  .card-tall-body,
  .card-text-only {
    padding: var(--space-md);
  }

  .media-only-img {
    height: 200px;
  }
}

/* Accessibility focus states */
.card-tall:focus-within,
.card-media-only:focus-within,
.card-text-only:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35);
}

.whatsapp-float {
  position: fixed;
  bottom: 50px !important;
  right: 24px;
  background-color: #25d366;
  color: #fff;
  border-radius: 16px;
  text-align: center;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  transition: background 0.2s;
  text-decoration: none;

}
.whatsapp-float i {
  font-size: 2.2rem;
  text-decoration: none;
  
}
.whatsapp-float span {
  font-size: 1rem;
  margin-top: 4px;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  text-decoration: none;
    text-decoration: none;
}
@media (max-width: 700px) {
.card-title {
   text-align: center !important;
  }
.vacon-img{
    width: 100%;
    height: 350px !important; /* Sabit yükseklik */
    max-width: 30vw;      /* Ekranın yarısı kadar genişlik */
      
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
  }


  .urun-img {
    width: 100%;
    height: 350px !important; /* Sabit yükseklik */
    max-width: 50vw;      /* Ekranın yarısı kadar genişlik */
      
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
  }
}
