/* ======================================================================
   UstaEv Tamir Merkezi - Professional Corporate CSS by Senior CSS / UI Dev
   Brand: Blue/Gray, Structured, Modern, Business Formal, Flexbox ONLY
   ====================================================================== */
/* 1. CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  color: #19314B;
  background: #F7F9FA;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #156082;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #0e425a;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #143D56;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -1px;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; }

strong { font-weight: 700; }

p { margin-bottom: 16px; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================
   FLEXBOX CORPORATE SPACING LAYOUTS
   ===================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(21, 96, 130, 0.05);
  padding: 28px 22px;
  transition: box-shadow 0.2s;
  flex: 1 1 250px;
  min-width: 220px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(21, 96, 130, 0.12);
}
.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;
  background: #fff;
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: 0 2px 16px rgba(21,96,130,.08);
  margin-bottom: 24px;
  min-width: 220px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Other wrappers */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 750px;
}

/* SERVICE PREVIEW/LIST for Index & Hizmetler */
.service-preview-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service-card {
  flex: 1 1 230px;
  background: #F3F7FA;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(21,96,130,0.04);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 200px;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 3px 18px rgba(21,96,130,0.11);
  transform: translateY(-3px) scale(1.02);
}

/* CTA BUTTONS and MINI-CTA */
.cta,.mini-cta {
  display: inline-block;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 999px;
  background: #156082;
  color: #fff;
  box-shadow: 0 2px 8px rgba(21,96,130,0.11);
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.16s, transform 0.16s, box-shadow .16s;
  margin-top: 12px;
  outline: none;
}
.mini-cta {
  font-size: 1rem;
  padding: 9px 28px;
  background: #C6D24A;
  color: #19314B;
  box-shadow: none;
}
.cta:hover, .cta:focus {
  background: #104256;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 16px rgba(21,96,130,0.13);
}
.mini-cta:hover, .mini-cta:focus {
  background: #b8c642;
  color: #102334;
}

/* ========== MAIN NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 24px rgba(21, 96, 130, 0.03);
  z-index: 20;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #143D56;
  opacity: 0.92;
  position: relative;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a.cta {
  margin-left: 16px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F3F7FA;
  color: #156082;
}
.main-nav img {
  height: 38px;
  margin-right: 16px;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 110;
  background: #156082;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #104256;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(21,96,130,0.96);
  z-index: 9999;
  padding: 40px 28px 24px 24px;
  box-shadow: 0 4px 40px rgba(21,96,130,0.19);
  transform: translateX(-100vw);
  transition: transform .32s cubic-bezier(0.67,0,0.33,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 16px;
  margin-right: 2px;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #C6D24A;
}
.mobile-nav {
  display: flex;
  gap: 0;
  flex-direction: column;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: #fff;
  padding: 15px 0 15px 6px;
  margin-bottom: 6px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  letter-spacing: 0.03rem;
  border-radius: 7px;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C6D24A;
  color: #102334;
}
@media (max-width: 992px) {
  .main-nav a:not(:first-child) { /* Hide logo */
    font-size: 0.97rem;
    padding: 4px 5px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    padding: 13px 0;
  }
  .main-nav a {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== HERO & GENERAL SECTIONS ========== */
section {
  background: #F7F9FA;
  border-radius: 14px;
  margin-bottom: 44px;
}
section .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* ====== TESTIMONIALS ======== */
.testimonial-card {
  border-left: 6px solid #156082;
  background: #FAFDFF;
  color: #19314B;
  box-shadow: 0 6px 24px rgba(21,96,130,0.09);
  margin-bottom: 24px;
  font-size: 1.02rem;
  position: relative;
  min-width: 210px;
}
.testimonial-card strong {
  color: #143D56;
  margin-top: 10px;
  font-size: 1rem;
}
.testimonial-card span {
  color: #C6D24A;
  font-size: 1.13rem;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  letter-spacing: 1px;
}
/* Ensure text is readable on testimonials (contrast requirement) */
.testimonial-card p,
.testimonial-card strong,
.testimonial-card span {
  color: #19314B;
  background: transparent;
}

/* ========== FOOTER =========== */
footer {
  background: #143D56;
  color: #fff;
  padding: 32px 0 18px 0;
  margin-top: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
footer img {
  height: 50px;
  margin-bottom: 5px;
}
footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}
footer nav a {
  color: #C6D24A;
  opacity: 0.99;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  transition: color .13s, border .16s;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  border-bottom: 2px solid #C6D24A;
}
footer p {
  font-size: .97rem;
  text-align: center;
  margin: 10px 0 0 0;
  opacity: 0.92;
}

/* ========== FORMS & DEFINITION LISTS ======== */
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 6px;
  color: #143D56;
}
dd {
  margin-bottom: 10px;
  color: #19314B;
  margin-left: 0.7em;
}

/* ======= LISTS ======= */
ul, ol {
  margin-bottom: 14px;
  padding-left: 24px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 8px;
  color: #19314B;
  line-height: 1.6;
}
ul li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #C6D24A;
  margin-right: 10px;
  position: relative;
  top: 1px;
}

/* ============= TABLES ============= */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #e3ebef;
  color: #143D56;
  font-weight: 700;
}
td {
  border-top: 1px solid #e5e5e5;
}

/* ========== RESPONSIVE ADAPTATION ========== */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 992px) {
  .service-card,
  .testimonial-card,
  .card {
    min-width: 180px;
    padding: 18px 14px;
  }
  .service-preview-list,
  .service-list,
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section,
  section {
    padding: 24px 5px;
    margin-bottom: 32px;
    border-radius: 8px;
  }
  .content-grid,
  .card-container,
  .service-list,
  .service-preview-list {
    flex-direction: column;
    gap: 15px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .testimonial-card,
  .service-card,
  .card {
    min-width: 0;
    padding: 12px 9px;
    font-size: 0.97rem;
  }
  .text-image-section { flex-direction: column; gap: 22px; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 530px) {
  header {
    padding-bottom: 15px;
  }
  .footer nav { flex-direction: column; gap: 10px; }
  .container { padding-left: 0; padding-right: 0; }
}

/* ========== MICRO INTERACTIONS ========== */
button, .cta, .mini-cta {
  transition: background .2s, box-shadow .16s, color .16s, transform .13s;
}
button:active, .cta:active, .mini-cta:active {
  transform: scale(0.97);
}
.service-card, .testimonial-card, .card {
  transition: box-shadow .18s, transform .18s;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11999;
  background: #143D56;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 18px 25px;
  box-shadow: 0 -3px 18px rgba(21,96,130,0.11);
  font-size: 1rem;
  opacity: 0.97;
  animation: slideUpCookie .6s cubic-bezier(.24, .72, .27, 1);
}
@keyframes slideUpCookie {
  0% { transform: translateY(110%); opacity:0.3; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  margin-left: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: #156082;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 24px;
  font-size: 1rem;
  margin-right: 6px;
}
.cookie-banner button.accept {
  background: #C6D24A;
  color: #143D56;
}
.cookie-banner button.reject {
  background: #fff;
  color: #143D56;
  border: 1px solid #156082;
}
.cookie-banner button.settings {
  background: transparent;
  color: #C6D24A;
  border: 1.5px solid #C6D24A;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  filter: brightness(0.92);
  outline: none;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    padding: 13px 8px;
    gap: 13px;
    text-align: center;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12001;
  background: rgba(16,33,52,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalBg .21s cubic-bezier(.63,.08,.77,.98);
}
@keyframes fadeModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #143D56;
  border-radius: 13px;
  max-width: 98vw;
  width: 412px;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 6px 44px rgba(21,96,130,.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  animation: scaleInCookie .29s cubic-bezier(.51,.11,.41,1.12);
}
@keyframes scaleInCookie {
  0% { transform: scale(.77); opacity: 0.15; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: transparent;
  border: none;
  color: #143D56;
  font-size: 1.66rem;
  cursor: pointer;
  line-height: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #C6D24A;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 11px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .98rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #156082;
  width: 20px;
  height: 20px;
}
.cookie-category.essential {
  color: #19314B;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 7px 24px;
  border-radius: 999px;
  border: none;
  background: #156082;
  color: #fff;
  font-size: 1rem;
  transition: background .14s;
}
.cookie-modal-actions button.save {
  background: #C6D24A;
  color: #143D56;
}
.cookie-modal-actions button.cancel {
  background: #fff;
  color: #143D56;
  border: 1.5px solid #19314B;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  filter: brightness(.91);
  outline: none;
}

/* ========== ACCESSIBLE FOCUS ========== */
a, button, .cta, .mini-cta, input, textarea, select {
  outline: none;
}
a:focus, button:focus, .cta:focus, .mini-cta:focus, input:focus, textarea:focus, select:focus {
  outline: 2.5px solid #C6D24A;
  outline-offset: 1px;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.mt-20 { margin-top: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 12px;
  background: #e6edea;
}
::-webkit-scrollbar-thumb {
  background: #B4BEC9;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #156082;
}

/* ========== BRAND COLORS ========== */
:root {
  --color-primary: #156082;
  --color-secondary: #C6D24A;
  --color-accent: #FFFFFF;
  --color-background: #F7F9FA;
  --color-text-dark: #19314B;
  --color-text-light: #fff;
  --color-gray: #B4BEC9;
}

/* ========== FONT FACE (Google Fonts Fallback) ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');


/* ------ END OF MAIN CSS ------ */
