/* ==========================================================================
   Design System & CSS Variables (Bright, Trustworthy & Warm)
   ========================================================================== */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette (Strictly Light Mode - Bright & Clean) */
  --bg-pure: #ffffff;           /* Saf Beyaz */
  --bg-section: #f8f9fa;        /* Açık Kurumsal Gri */
  --bg-card: #ffffff;
  --bg-badge: #eff6ff;          /* Açık Mavi */

  --text-dark: #1e293b;         /* Koyu Slate (Ana Metinler) */
  --text-muted: #475569;        /* Orta Slate (Açıklamalar) */
  --text-light: #64748b;        /* Açık Slate (Dipnotlar) */

  --primary-blue: #1e3a8a;      /* Derin Teknoloji Mavisi (Primary Button & Titles) */
  --primary-blue-hover: #1e40af;
  --accent-teal: #0d9488;       /* Profesyonel Turkuaz/Teal (Accents) */
  --accent-teal-hover: #0f766e;
  
  --whatsapp-green: #10b981;    /* WhatsApp Yeşili */
  --whatsapp-green-hover: #059669;

  --border-light: #e2e8f0;      /* İnce Gri Kenarlık */
  --shadow-sm: 0 4px 12px rgba(30, 41, 59, 0.03);
  --shadow-md: 0 12px 24px rgba(30, 41, 59, 0.05);
  --shadow-lg: 0 20px 40px rgba(30, 41, 59, 0.08);

  --container-width: 1200px;
}

/* ==========================================================================
   Base resets & layouts
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-pure);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Common Layout Container */
.section-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Spacing */
section {
  padding: 100px 0;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 80px; /* 2x larger logo */
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--accent-teal);
}

.nav-cta {
  background-color: var(--primary-blue);
  color: white !important;
  padding: 10px 24px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.nav-cta:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 90px 0;
  background-color: var(--bg-pure);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 16px;
  background-color: var(--bg-badge);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 99px;
  margin-bottom: 20px;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.badge-success {
  background-color: #d1fae5;
  color: var(--whatsapp-green);
  border-color: rgba(16, 185, 129, 0.1);
}

.hero-text-block h1 {
  font-size: 3.25rem;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--primary-blue);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 8px 16px rgba(30, 58, 138, 0.12);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.2);
}

.btn-whatsapp-secondary {
  background-color: var(--bg-pure);
  color: var(--whatsapp-green);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp-secondary:hover {
  background-color: #f0fdf4;
  border-color: var(--whatsapp-green);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footnote-hero {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Hero image visual side */
.hero-image-block {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-section);
  padding: 20px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.hero-laptop-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ==========================================================================
   Why Section (Educational)
   ========================================================================== */
.why-section {
  background-color: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 650px;
  margin: 0 auto 56px auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.why-card {
  background-color: var(--bg-card);
  padding: 44px 36px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Comparison visual box */
.comparison-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.comparison-header {
  text-align: center;
  margin-bottom: 36px;
}

.comparison-header h3 {
  font-size: 1.5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.comp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background-color: var(--bg-section);
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.comp-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.label-bad {
  background-color: #fee2e2;
  color: #ef4444;
}

.label-good {
  background-color: #d1fae5;
  color: var(--whatsapp-green);
}

.comp-image-placeholder {
  width: 100%;
  height: 180px;
  background-color: white;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

/* CSS illustrations for paste comparison */
.paste-illustration {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Dry paste styling */
.paste-illustration.dry {
  background-color: #cbd5e1;
  border: 2px dashed #94a3b8;
}

.crack {
  position: absolute;
  background-color: #94a3b8;
  height: 2px;
}

.c1 { width: 40px; top: 30px; left: 20px; transform: rotate(15deg); }
.c2 { width: 30px; bottom: 40px; right: 25px; transform: rotate(-30deg); }
.c3 { width: 25px; top: 60px; right: 40px; transform: rotate(45deg); }

/* Fresh paste styling */
.paste-illustration.fresh {
  background-color: #f1f5f9;
  border: 2px solid #cbd5e1;
}

.fresh-gel {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, #2dd4bf 0%, #0d9488 100%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.paste-text {
  position: absolute;
  bottom: -28px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.comp-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   3. Transparent Process Section (Timeline)
   ========================================================================== */
.process-section {
  background-color: var(--bg-pure);
  border-bottom: 1px solid var(--border-light);
}

.timeline-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 60px;
}

/* Timeline Horizontal Line connector */
.timeline-container::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-marker {
  margin-bottom: 24px;
}

.marker-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-pure);
  border: 3px solid var(--primary-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.timeline-step:hover .marker-circle {
  background-color: var(--primary-blue);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.timeline-step .step-card {
  background-color: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  width: 100%;
}

.timeline-step:hover .step-card {
  background-color: white;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Media placeholder styling */
.step-media-placeholder {
  width: 100%;
  height: 130px;
  background-color: #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
}

.placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

.media-icon {
  font-size: 2.2rem;
}

.media-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  background-color: white;
  border-radius: 4px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.step-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ==========================================================================
   4. Delivery & Shipping Options
   ========================================================================== */
.delivery-section {
  background-color: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.delivery-card {
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.delivery-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-4px);
}

.delivery-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.delivery-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.4px;
}

.delivery-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  flex: 1;
}

.delivery-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.delivery-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   5. Contact Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-pure);
}

.contact-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  border-radius: 32px;
  padding: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.contact-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
}

.btn-whatsapp-large {
  background-color: var(--whatsapp-green);
  color: white;
  font-size: 1.1rem;
  padding: 18px 44px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp-large:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.4);
}

.btn-icon-large {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.phone-display-large {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-section); /* Clean light grey background */
  border-top: 1px solid var(--border-light);
  padding: 60px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  height: 76px; /* 2x larger logo */
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-statement {
  max-width: 700px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  width: 100%;
}

/* ==========================================================================
   Persistent Floating WhatsApp Widget
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp-widget svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-whatsapp-widget:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
}

/* Pulse animation */
.widget-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-green);
  opacity: 0;
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ==========================================================================
   Responsive Configurations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text-block h1 {
    font-size: 2.5rem;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-container::after {
    display: none; /* Hide horizontal connector on mobile */
  }

  /* Vertical Connector Line for Mobile */
  .timeline-container::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 24px;
    width: 2px;
    background-color: var(--border-light);
    z-index: 1;
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .step-marker {
    margin-bottom: 0;
  }

  .marker-circle {
    width: 48px;
    height: 48px;
  }

  .timeline-step .step-card {
    text-align: left;
    margin-left: 0;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0;
  }

  .site-header .main-nav {
    display: none; /* Simplify header navigation on tiny viewports */
  }

  .hero-text-block h1 {
    font-size: 2rem;
  }

  .contact-card {
    padding: 40px 20px;
  }

  .contact-card h2 {
    font-size: 1.8rem;
  }

  .contact-card p {
    font-size: 1rem;
  }

  .floating-whatsapp-widget {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .floating-whatsapp-widget svg {
    width: 26px;
    height: 26px;
  }
}
