/* ===============================
   GLOBAL RESET
==================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f6f8fb;
  color: #1b1f26;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1350px;
  margin: auto;
}

/* ===============================
   NAVBAR
==================================*/
nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 22px 0;
  z-index: 999;
  transition: 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 20, 40, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}

nav .nav-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a.logo {
  color: white;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav ul li a {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  transition: 0.2s;
}

nav ul li a:hover {
  color: #4db7ff;
}

/* ===============================
   HERO SECTION
==================================*/
.hero {
  position: relative;
  height: 620px;
  width: 100%;
  background: url('https://images.pexels.com/photos/358220/pexels-photo-358220.jpeg') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
    rgba(0, 33, 72, 0.75),
    rgba(0, 123, 255, 0.45));
}

.hero-content {
  position: absolute;
  top: 55%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 5;
  max-width: 600px;
}

.hero-content h1 {
  color: #fff;
  font-size: 58px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-content p {
  color: #e7e7e7;
  font-size: 18px;
  margin-top: 15px;
}

.search-box {
  margin-top: 30px;
}

.search-box input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 18px;
}

/* ===============================
   SECTION TITLES
==================================*/
.section-title {
  text-align: left;
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 800;
  color: #0a1733;
}

/* ===============================
   SERVICE CARDS – Premium Style
==================================*/
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.service-card {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0a1733;
}

.service-card p {
  color: #4e5a70;
}

/* ===============================
   FOOTER
==================================*/
footer {
  margin-top: 0px;
  background: #081321;
  padding: 70px 0;
  color: #d0d6e0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
}

footer h4 {
  color: white;
  font-size: 20px;
  margin-bottom: 15px;
}

footer a {
  display: block;
  margin-bottom: 10px;
  color: #b7c2d4;
  transition: 0.2s;
}

footer a:hover {
  color: #4db7ff;
}
/* =========================================================
   RESPONSIVE GLOBAL REFINEMENTS
   ========================================================= */

/* HERO */
.hero {
  padding: 120px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 40px;
}
.hero p {
  font-size: 18px;
  max-width: 650px;
  margin: auto;
}

/* SEARCH BOX */
.search-box input {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

/* SECTIONS GLOBAL */
.container {
  padding-left: 20px;
  padding-right: 20px;
}

/* SERVICE CARDS */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
.service-card {
  flex: 1;
  min-width: 260px;
  padding: 20px;
}

/* IMAGES (ABOUT, OPERATIONAL, EXTENDED) */
section img {
  width: 100%;
  border-radius: 12px;
}

/* CONTACT FORM AREA */
#contactForm, 
section form {
  width: 100%;
}

/* ===== GLOBAL MOBILE CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;
}

/* ===== SERVICES CARD GRID ===== */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Kartlar mobilde taşmasın */
.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e8ef;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Tüm kartlardaki resimleri bozmadan eşitle */
.service-card img {
    width: 100%;
    height: 160px;     /* SENİN KULLANDIĞIN HEIGHT KALDI */
    object-fit: cover; /* SENİN ÖZELLİĞİN */
    border-radius: 10px;
}

/* ===== MOBILE BREAKPOINTS ===== */
@media (max-width: 992px) {
    /* Tablet görünümü = 2 sütun */
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* Mobil görünümü = 1 sütun */
    .services {
        grid-template-columns: repeat(1, 1fr);
		  width: 100%;
    }

    /* Uzun img veya metin taşmasın */
    img {
        max-width: 100%;
        height: auto;
    }

    .hero h1 {
        font-size: 26px !important;
    }

    .hero p {
        font-size: 16px !important;
    }
}

	/* Masaüstü için card image boyutu */
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* Mobil için optimize edilmiş daha düşük yükseklik */
@media (max-width: 576px) {
  .service-card img {
    height: 120px !important; /* mobilde daha kısa */
    object-fit: cover;
  }
}

/* Tablet boyutları */
@media (max-width: 768px) {
  .service-card img {
    height: 140px !important;
  }
}