/* ========================================
   HALKON DEKOR — Premium Website Styles
   Light Theme · Modern · Professional
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* --- Primary Colors --- */
  --navy: #0f172a;
  --navy-light: #1e293b;
  --dark-text: #1a1a2e;
  --body-text: #475569;
  --muted-text: #64748b;
  --light-text: #94a3b8;

  /* --- Backgrounds --- */
  --bg-primary: #f8fafc;
  --bg-secondary: #f0f4f8;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-footer: #0f172a;

  /* --- Accent (Steel Blue — Masculine) --- */
  --accent: #2563eb;
  --accent-hover: #3b82f6;
  --accent-dark: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-soft-2: rgba(37, 99, 235, 0.15);
  --gradient-accent: linear-gradient(135deg, #1e40af, #3b82f6);

  /* --- Shadows --- */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 20px var(--accent-glow);

  /* --- Border --- */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* --- Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* --- Transition --- */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Fonts --- */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
}


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--body-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 40px 0;
}


/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-text);
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 560px;
  margin: 0 auto;
}


/* ===== SCROLL ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   1. NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  color: var(--accent);
}

/* --- Nav Links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted-text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--dark-text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA button in navbar */
.nav-links .nav-cta {
  background: var(--gradient-accent);
  color: var(--bg-white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.nav-links .nav-cta:hover::before {
  left: 120%;
}

.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

/* --- Mobile Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* ================================================================
   2. HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 90px 0 40px;
  background: linear-gradient(165deg, #f0f4f8 0%, #e8edf5 40%, #eef2ff 100%);
}

/* Subtle paint brush texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(15, 23, 42, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Brush stroke decorative element */
.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-xs);
}

.hero-slogan {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--muted-text);
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--bg-white);
  box-shadow: var(--shadow-glow);
}

/* Shine sweep animation */
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-outline {
  background: var(--bg-white);
  color: var(--dark-text);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* --- Paint Drip Button (Fiyat Al CTA) --- */
.btn-paint {
  background: var(--gradient-accent);
  color: var(--bg-white);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: visible;
}

.btn-paint::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-paint:hover::before {
  left: 120%;
}

.btn-paint::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20%;
  width: 12px;
  height: 0;
  background: var(--accent);
  border-radius: 0 0 6px 6px;
  transition: height 0.4s ease;
  opacity: 0;
}

.btn-paint:hover::after {
  height: 14px;
  opacity: 1;
}

/* Extra drip elements via JS-added spans */
.btn-paint .drip {
  position: absolute;
  bottom: -8px;
  width: 8px;
  height: 0;
  background: var(--accent-hover);
  border-radius: 0 0 5px 5px;
  transition: height 0.5s ease 0.1s;
  opacity: 0;
}

.btn-paint .drip:nth-child(2) {
  left: 45%;
  width: 10px;
  transition-delay: 0.15s;
}

.btn-paint .drip:nth-child(3) {
  left: 70%;
  width: 7px;
  transition-delay: 0.25s;
}

.btn-paint:hover .drip {
  height: 10px;
  opacity: 0.8;
}

.btn-paint:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--accent-glow);
}


/* --- Hero Image --- */
.hero-image {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-float-card .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bg-white);
}

.hero-float-card .card-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-text);
}

.hero-float-card .card-text strong {
  color: var(--dark-text);
  font-size: 1rem;
}


/* ================================================================
   3. HİZMETLERİMİZ
   ================================================================ */
.services {
  background: var(--bg-white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 93, 38, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: background var(--transition), transform var(--transition);
}

.service-icon svg {
  stroke: var(--accent);
  transition: stroke var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  transform: scale(1.08);
}

.service-card:hover .service-icon svg {
  stroke: #fff;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted-text);
  line-height: 1.6;
}

.service-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}


/* ================================================================
   4. NEDEN BİZ? + HAKKIMIZDA
   ================================================================ */

/* --- Hakkımızda Block --- */
.about-block {
  margin-bottom: 20px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--body-text);
  line-height: 1.8;
  padding: 0 20px;
}

.why-us {
  background: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--accent-soft-2);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-icon svg {
  stroke: var(--accent);
  transition: stroke var(--transition);
}

.why-card:hover .why-icon {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted-text);
}


/* ================================================================
   5. İSTATİSTİK SAYACI
   ================================================================ */
.stats {
  background: var(--navy);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.stat-number .accent {
  color: var(--accent-hover);
}

.stat-label {
  font-size: 1rem;
  color: var(--light-text);
  font-weight: 500;
}


/* ================================================================
   6. REFERANSLAR / ÖNCESİ-SONRASI GALERİ
   ================================================================ */
.gallery {
  background: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  width: fit-content;
}

.gallery-tag.before {
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
}

.gallery-tag.after {
  background: rgba(34, 197, 94, 0.85);
  color: #fff;
}

.gallery-overlay p {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}


/* ================================================================
   7. MÜŞTERİ YORUMLARI
   ================================================================ */
.testimonials {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-soft-2);
  font-family: Georgia, serif;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.stars span {
  color: #facc15;
  font-size: 1.1rem;
}

.testimonial-card .review-text {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark-text);
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--muted-text);
}


/* ================================================================
   8. HIZLI FİYAT AL FORMU
   ================================================================ */
.quote-section {
  background: var(--bg-secondary);
  position: relative;
}

.quote-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition);
}

.quote-wrapper:hover {
  box-shadow: var(--shadow-xl);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-text);
}

.form-group input,
.form-group textarea {
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--dark-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light-text);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Validation error */
.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-msg {
  display: none;
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
}

.form-group.error .error-msg {
  display: block;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  background: var(--bg-primary);
}

.file-upload-area:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-area .upload-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.file-upload-area p {
  font-size: 0.92rem;
  color: var(--body-text);
  font-weight: 500;
}

.file-upload-area .file-hint {
  font-size: 0.78rem;
  color: var(--muted-text);
  margin-top: 4px;
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.file-preview-item {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.file-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-item .remove-file {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(239, 68, 68, 0.9);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.file-preview-item .remove-file:hover {
  transform: scale(1.15);
}

.btn-submit {
  background: var(--gradient-accent);
  color: var(--bg-white);
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-submit:hover::before {
  left: 120%;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-top: 18px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted-text);
}


/* ================================================================
   9. İLETİŞİM
   ================================================================ */
.contact {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  border-color: rgba(232, 93, 38, 0.2);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.contact-item a {
  color: var(--accent);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
  box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ================================================================
   10. FOOTER
   ================================================================ */
.footer {
  background: var(--bg-footer);
  border-top: 3px solid var(--accent);
  padding: 48px 0 28px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo span {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--light-text);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-hover);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--light-text);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.social-links a:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--light-text);
}

.footer-bottom a {
  color: var(--accent);
}


/* ================================================================
   11. WHATSAPP SABİT BUTON
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes pulse-wp {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 460px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 90px 32px 40px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--dark-text);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 14px 24px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-image-wrapper img {
    height: 280px;
  }

  .hero-float-card {
    bottom: -10px;
    left: 10px;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-wrapper {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats {
    padding: 50px 0;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Mobile Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}


/* ================================================================
   SCROLL TO TOP BUTTON
   ================================================================ */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
}