/* ==========================================================================
   Enos Web Hizmetleri - Mobile-first, BEM, Logo uyumlu renk paleti
   ========================================================================== */

:root {
  /* Logo uyumlu: mavi (primary), turuncu/altın (secondary) */
  --color-primary: #1a5f7a;
  --color-primary-light: #2d7a96;
  --color-primary-dark: #0f3d4d;
  --color-secondary: #e07c24;
  --color-secondary-light: #f09a4a;
  --color-secondary-dark: #c26518;
  --color-text: #1f2937;
  --color-text-muted: #5c6b7a;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f9fc;
  --color-bg-warm: #fefaf6;
  --color-border: #e2e8f0;
  --color-border-light: #eef2f6;
  --color-white: #ffffff;
  /* Logo uyumlu vurgular */
  --color-primary-soft: rgba(26, 95, 122, 0.08);
  --color-secondary-soft: rgba(224, 124, 36, 0.08);
  --gradient-hero: linear-gradient(145deg, #f0f7fa 0%, #ffffff 45%, #fefaf6 100%);
  --gradient-section: linear-gradient(180deg, #f5f9fc 0%, #fefaf6 100%);
  --gradient-footer: linear-gradient(180deg, #0f3d4d 0%, #0a2d3a 100%);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body.page {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

/* Skip link (erişilebilirlik)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-2xl);
}

.section--alt {
  background: var(--gradient-section);
}

.section__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-full);
}

.section__lead {
  margin: 0 0 var(--space-xl);
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px var(--color-border-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: var(--space-md);
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.header__menu-btn:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
}

.header__menu-btn[aria-expanded="true"] .header__menu-icon {
  background: transparent;
}

.header__menu-btn[aria-expanded="true"] .header__menu-icon::before {
  transform: translateY(0) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] .header__menu-icon::after {
  transform: translateY(0) rotate(-45deg);
}

.header__menu-icon {
  position: relative;
  width: 1.25rem;
  height: 2px;
  background: var(--color-text);
  transition: background var(--transition);
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition);
}

.header__menu-icon::before {
  top: -6px;
}

.header__menu-icon::after {
  top: 6px;
}

.header__nav {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}

.header__nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

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

.header__nav-list li {
  border-bottom: 1px solid var(--color-border);
}

.header__nav-link {
  display: block;
  padding: var(--space-md);
  font-weight: 500;
  color: var(--color-text);
}

.header__nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

/* Hero
   ========================================================================== */
.hero {
  padding-block: var(--space-2xl);
  background: var(--gradient-hero);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.hero__content {
  width: 100%;
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.hero__subtitle {
  margin: 0 0 var(--space-xl);
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(26, 95, 122, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(26, 95, 122, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--color-white);
  padding-left: 2.75rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp::before {
  content: "";
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.btn--whatsapp:hover {
  background: #22c55e;
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.btn--whatsapp:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 2px;
}

/* Services / Cards
   ========================================================================== */

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(26, 95, 122, 0.12);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.card--sm {
  border-left: 4px solid var(--color-secondary);
  background: linear-gradient(90deg, var(--color-secondary-soft) 0%, var(--color-white) 12%);
}

.card--sm:hover {
  box-shadow: 0 8px 24px rgba(224, 124, 36, 0.15);
}

.card--sm .card__title {
  font-size: 1.125rem;
}

.card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.card__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.card__desc {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.card__price {
  margin: 0 0 var(--space-md);
  font-weight: 700;
  color: var(--color-secondary-dark);
  font-size: 1.0625rem;
}

.card__price:not([class*="Teklif"]) {
  background: linear-gradient(90deg, var(--color-secondary-dark), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card__link {
  display: inline-block;
  font-weight: 600;
  color: var(--color-primary);
}

.card__link:hover {
  text-decoration: underline;
}

/* Why section
   ========================================================================== */
.why__seo-figure {
  margin: 0 0 var(--space-xl);
  text-align: center;
}

.why__seo-img {
  margin-inline: auto;
  border-radius: var(--radius-lg);
  max-width: 100%;
}

.why__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.why__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.why__item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px var(--color-primary-soft);
}

.why__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.why__item-title {
  margin: 0 0 var(--space-xs);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.why__item-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* About
   ========================================================================== */
.about__content {
  max-width: 48rem;
}

.about__content p {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.about__content p:last-child {
  margin-bottom: 0;
}

/* Contact
   ========================================================================== */
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.contact__phone {
  margin: 0;
  font-size: 1.125rem;
}

.contact__link {
  font-weight: 600;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: border-color var(--transition);
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.contact__textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact__submit {
  align-self: flex-start;
}

/* Footer
   ========================================================================== */
.footer {
  padding-block: var(--space-xl);
  background: var(--gradient-footer);
  color: var(--color-white);
}

.footer a {
  color: var(--color-white);
  opacity: 0.9;
}

.footer a:hover {
  opacity: 1;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.footer__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer__nav-link {
  font-size: 0.9375rem;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

.footer__wa,
.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: opacity var(--transition), transform var(--transition);
}

.footer__wa:hover,
.footer__ig:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer__wa {
  background: #25d366;
  color: var(--color-white);
}

.footer__ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  color: var(--color-white);
}

/* Instagram float button (sağda, WhatsApp'ın üstünde)
   ========================================================================== */
.ig-float {
  position: fixed;
  bottom: calc(var(--space-xl) + 4rem);
  right: var(--space-xl);
  z-index: 40;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ig-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(221, 42, 123, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.95);
}

.ig-float:focus-visible {
  outline: 2px solid #dd2a7b;
  outline-offset: 3px;
}

.ig-float__icon {
  width: 2rem;
  height: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") center/contain no-repeat;
  text-indent: -999px;
  overflow: hidden;
}

/* WhatsApp float button
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 40;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.95);
}

.wa-float:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}

.wa-float__icon {
  width: 2rem;
  height: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  text-indent: -999px;
  overflow: hidden;
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */
@media (min-width: 48rem) {
  .section {
    padding-block: var(--space-3xl);
  }

  .section__title {
    font-size: 2rem;
  }

  .header__nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .header__menu-btn {
    display: none;
  }

  .header__nav-list {
    display: flex;
    gap: var(--space-xs);
  }

  .header__nav-list li {
    border-bottom: none;
  }

  .header__nav-link {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
  }

  .hero__inner {
    max-width: 42rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__wrap {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 64rem) {
  .hero__title {
    font-size: 2.5rem;
  }

  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
