/* --------------------------------------------------
   RESET & BASE NORMALIZATION
---------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background-color: #F9FAFB;
  color: #334155;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #11517A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #25BFA8;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, .cta-btn {
  cursor: pointer;
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
input, textarea, select {
  font-family: inherit;
}

/* --------------------------------------------------
   SOFT PASTEL PALETTE (Brand + Pastel enhancement)
---------------------------------------------------*/
:root {
  --color-primary:    #11517A;
  --color-secondary:  #25BFA8;
  --color-accent:     #F5F5F5;
  --color-bg-main:    #F9FAFB;
  --color-bg-card:    #FBFDFF;
  --color-bg-pastel1: #EAF6FB;
  --color-bg-pastel2: #E9FDF3;
  --color-bg-pastel3: #FFF5F7;
  --color-cta:        #EFDDF6;
  --color-cta-hover:  #DAD0EA;
  --color-dark:       #334155;
  --color-light:      #fff;
  --color-muted:      #94A3B8;
  --shadow-card:      0 4px 16px 0 rgba(30, 70, 115, 0.06);
  --shadow-btn:       0 2px 8px 0 rgba(30, 70, 115, 0.10);
  --radius-md:        18px;
  --radius-sm:        12px;

  --font-display:     'Montserrat', Arial, Helvetica, sans-serif;
  --font-body:        'Open Sans', Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
}
p, li, address {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-dark);
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}
.text-section h2 {
  color: var(--color-secondary);
}
.text-section p{
  font-size:1.1rem;
}

/* Visual hierarchy, primary/secondary headline */
.text-section h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
}
.text-section h2 {
  color: var(--color-secondary);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h2:after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--color-secondary);
  margin-top: 8px;
  border-radius: 3px;
}

/* --------------------------------------------------
   LAYOUTS
---------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 32px;
  transition: box-shadow 0.18s, transform 0.15s;
  min-width: 260px;
}
.card:hover, .card:focus-visible {
  box-shadow: 0 2px 24px 0 rgba(30,70,115,0.16);
  transform: translateY(-3px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg-pastel3);
  box-shadow: var(--shadow-card);
  border-left: 5px solid var(--color-secondary);
  max-width: 550px;
  color: var(--color-dark);
}
.testimonial-card p {
  font-size: 1.18rem;
  color: var(--color-dark);
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Cards & Blog Preview */
.blog-preview {
  background: var(--color-bg-pastel1);
  border-radius: var(--radius-sm);
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-preview:hover {
  box-shadow: 0 2px 22px 0 rgba(30,70,115,0.11);
  transform: translateY(-2px) scale(1.015);
}
.blog-preview h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.service-card {
  background: var(--color-cta);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 28px 28px 18px 28px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-card:hover {
  box-shadow: 0 3px 18px 0 rgba(30,70,115,0.13);
  transform: translateY(-3px) scale(1.02);
}
.service-price {
  color: var(--color-primary);
  background: var(--color-secondary);
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 3px 13px;
  border-radius: 8px;
  align-self: flex-end;
}

/* Section ul icon list */
.content-wrapper ul li, .content-wrapper ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  color: var(--color-dark);
}
.content-wrapper ul li img, .content-wrapper ol li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --------------------------------------------------
   BUTTONS & CTA
---------------------------------------------------*/
.cta-btn, .btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 36px;
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: var(--shadow-btn);
  transition: background 0.18s, box-shadow 0.16s, transform 0.14s;
  border: none;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 3px 18px 0 rgba(30,70,115,0.15);
  transform: scale(1.04);
  text-decoration: none;
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-light);
}
.btn-secondary:hover {
  background: var(--color-secondary);
}
.btn-muted {
  background: var(--color-muted);
  color: var(--color-light);
}
.btn-muted:hover {
  background: var(--color-secondary);
}

/* --------------------------------------------------
   HEADER NAVIGATION
---------------------------------------------------*/
header {
  width: 100%;
  background: linear-gradient(90deg, var(--color-bg-pastel1) 0, var(--color-bg-pastel2) 100%);
  box-shadow: 0 2px 16px 0 rgba(30,70,115,0.03);
  position: relative;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  min-height: 64px;
  flex-wrap: wrap;
}
header nav > a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 28px;
  transition: background 0.13s, color 0.15s;
  font-size: 1.06rem;
  line-height: 1.4;
}
header nav > a.cta-btn {
  background: var(--color-cta);
  color: var(--color-primary);
  box-shadow: none;
  font-size: 1.08rem;
  padding: 10px 30px;
  margin-left: 8px;
  font-weight: 700;
}
header nav > a.cta-btn:hover {
  background: var(--color-secondary);
  color: var(--color-light);
}
header nav > a:hover, header nav > a:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
header nav img {
  height: 36px;
  width: auto;
  margin-right: 16px;
}

/* --------------------------------------------------
   MOBILE MENU
---------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 14px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 2px 6px #A5E7DA55;
  align-items: center;
  justify-content: center;
  z-index: 110;
  border: none;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus {
  box-shadow: 0 2px 10px #25BFA855;
  outline: 2px solid var(--color-primary);
}
/* Slideover --- Mobile nav */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(249,250,251,0.94);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.9,.01,0,1);
  z-index: 160;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  min-height: 100vh;
  box-shadow: 0 3px 22px 0 rgba(41,108,119,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 20px 14px 6px 18px;
  align-self: flex-end;
  transition: background 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100vw;
  margin: 0;
  padding: 0 38px 20px 38px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  padding: 16px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  color: var(--color-primary);
  background: transparent;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------------------------------------------------
   MAIN/HERO SECTIONS
---------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  padding: 0 18px;
}
.text-section {
  /* dreamy section backgrounds */
  background: linear-gradient(90deg, #EAF6FB 0%, #E9FDF3 100%);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 3px 20px 0 rgba(30,70,115,0.07);
  margin-bottom: 20px;
}
address {
  font-size: 1rem;
  margin-top: 14px;
  color: var(--color-primary);
  font-style: normal;
}
address ul {
  margin-top: 6px;
  margin-bottom: 0;
  padding-left: 8px;
}
address ul li {
  padding-bottom: 5px;
}

.map-placeholder {
  height: 220px;
  background: linear-gradient(90deg, var(--color-bg-pastel2), var(--color-cta));
  border: 2px dashed var(--color-secondary);
  border-radius: var(--radius-md);
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 1.18rem;
}

/* Blog categories */
.blog-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.blog-categories strong {
  color: var(--color-secondary);
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-left: 0px;
  margin: 0;
}
.blog-categories li {
  font-size: 1rem;
  color: var(--color-primary);
  background: var(--color-cta);
  padding: 6px 16px;
  border-radius: 10px;
}

/* --------------------------------------------------
   FOOTER
---------------------------------------------------*/
footer {
  background: linear-gradient(90deg, #E9FDF3 0, #FBFDFF 100%);
  box-shadow: 0 -1px 16px 0 rgba(41,108,119,0.045);
  margin-top: 40px;
  padding: 40px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 0 20px;
}
.footer-logo {
  margin-bottom: 10px;
}
.footer-logo img {
  width: 148px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.98rem;
}
.footer-nav a {
  color: var(--color-primary);
  opacity: .85;
  padding: 5px 15px;
  border-radius: 12px;
  transition: background 0.13s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px #25BFA822;
  transition: background 0.15s;
  color: #fff;
}
.footer-social a:hover {
  background: var(--color-primary);
}
footer address {
  color: var(--color-dark);
  font-size: 1rem;
  margin-top: 0;
  font-style: normal;
}
footer address a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
}
footer address div {
  color: var(--color-muted);
  margin: 6px 0 0 0;
  font-size: 0.95rem;
}


/* --------------------------------------------------
   RESPONSIVE & MOBILE STYLES
---------------------------------------------------*/
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 8px;
  }
  .text-section {
    padding: 26px 8px;
    border-radius: 14px;
  }
  .card, .service-card, .blog-preview, .testimonial-card {
    padding: 18px 10px;
    border-radius: 14px;
    min-width: unset;
    max-width: 100%;
  }
  header nav {
    display: none !important;
  }
  .section {
    margin-bottom: 34px;
    padding: 30px 6px;
  }
  .content-wrapper,.card-container, .content-grid {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 13px 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .footer-logo img {
    width: 112px;
  }
}

/* --------------------------------------------------
   COOKIE CONSENT STYLES
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: var(--color-bg-pastel3);
  box-shadow: 0 -2px 22px 0 rgba(45,105,139,0.13);
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 38px;
  gap: 30px;
  font-size: 1.08rem;
  border-top: 2px solid var(--color-secondary);
  animation: cookieBannerShow 0.45s cubic-bezier(.9,.03,0,1);
}
@keyframes cookieBannerShow {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  color: var(--color-dark);
  margin-right: 12px;
  line-height: 1.5;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  padding: 7px 22px;
  color: var(--color-light);
  background: var(--color-secondary);
  border-radius: 99px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin-left: 3px;
  transition: background 0.13s, box-shadow 0.15s;
  box-shadow: 0 2px 8px #25BFA811;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-muted);
  color: var(--color-light);
}
.cookie-btn.reject:hover {
  background: #ffaec9;
  color: #444;
}
.cookie-btn.settings {
  background: var(--color-cta);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-btn.settings:hover {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    padding: 12px 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 1rem;
  }
  .cookie-banner-message {
    margin-right: 0;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,81,122,0.18);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.4s;
}
@keyframes cookieModalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: var(--color-bg-pastel1);
  border-radius: var(--radius-md);
  box-shadow: 0 7px 32px 0 #0f707044;
  padding: 44px 32px 30px 32px;
  min-width: 320px;
  max-width: 96vw;
  color: var(--color-dark);
  position: relative;
  z-index: 410;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalPop 0.38s cubic-bezier(.8,.01,0,1);
}
@keyframes cookieModalPop {
  from{ transform: scale(0.96); opacity:0; } to { transform:scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  color: var(--color-primary);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal-title {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: bold;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}
.cookie-modal-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  accent-color: var(--color-secondary);
}
.cookie-modal-category.essential label:after {
  content: " (Zorunlu)";
  color: var(--color-muted);
  font-size: .97em;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 24px 8px 18px 8px;
  }
}

/* --------------------------------------------------
   MISC & UTILITY
---------------------------------------------------*/
/* Spacing helpers */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }
.gap-16 { gap: 16px; }

/* Hide visually (for accessible menu overlays) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Micro-interaction: subtle fade-link */
.fade-link {
  transition: opacity 0.16s, color 0.13s;
}
.fade-link:hover, .fade-link:focus {
  opacity: .7;
}

/* Micro-interaction: slight-lift */
.slight-lift:hover, .slight-lift:focus {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 2px 20px 0 #36bfa813;
}

/* --------------------------------------------------
   FORM FIELDS (if added later)
---------------------------------------------------*/
input[type="text"], input[type="email"], textarea, select {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  box-shadow: 0 2px 10px #36bfa807;
  outline: none;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-primary);
}

/* --------------------------------------------------
   PRINT STYLES - HIDE UI
---------------------------------------------------*/
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}