/* === GENEL TEMA === */
:root {
  --black: #000000;
  --dark-gray: #1a1a1a;
  --blue: #1E3A8A;
  --blue-dark: #0F2D6B;
  --blue-light: #3B82F6;
  --yellow: #FBBF24;
  --yellow-dark: #F59E0B;
  --yellow-light: #FCD34D;
  --white: #FFFFFF;
  --light-gray: #f8fafc;
  --gray: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--light-gray);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === HEADER === */
.page-header {
  background: linear-gradient(to right, var(--blue), var(--yellow));
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 3px solid var(--yellow);
}

.page-header h1 {
  font-size: 2rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  word-wrap: break-word;
}

.page-header p {
  font-size: 1rem;
  margin-top: 1rem;
  opacity: 0.9;
  padding: 0 0.5rem;
}

/* === HERO SECTION === */
.service-hero {
  padding: 80px 15px;
  color: var(--white);
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(15, 45, 107, 0.85) 100%), url('yol2.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  z-index: 1;
  min-height: 60vh;
}

.hero-logo {
  max-width: 120px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  border: 2px solid var(--white);
  width: 100%;
  height: auto;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  color: var(--white);
  padding: 0 10px;
  word-wrap: break-word;
}

.hero-slogan {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 10px;
  opacity: 0.95;
  max-width: 100%;
  line-height: 1.5;
  color: var(--light-gray);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  padding: 0 15px;
}

/* === SERVICES OVERVIEW === */
.services-overview {
  padding: 2rem 1rem;
  background-color: var(--white);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.services-overview h2 {
  text-align: center;
  color: var(--blue);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 8px;
  display: inline-block;
  width: 90%;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: 100%;
}

.service-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  border: 2px solid var(--gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  border-color: var(--blue);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--yellow);
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 1.2rem 0.8rem 0.8rem;
  color: var(--blue);
  font-weight: 700;
}

.service-card p {
  font-size: 0.9rem;
  margin: 0 0.8rem 1.2rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

/* === SITE HEADER === */
.site-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 0.8rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--yellow);
  width: 100%;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: var(--blue-dark);
  border: 1px solid var(--yellow);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--blue);
  background-color: var(--yellow);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 5px;
}

/* === DROPDOWN STYLES === */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  color: var(--white);
  text-decoration: none;
  padding: 6px 12px;
  display: inline-block;
  border-radius: 6px;
  font-weight: 600;
  background-color: var(--blue-dark);
  border: 1px solid var(--yellow);
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 999;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  flex-direction: column;
  border: 2px solid var(--yellow);
  border-top: none;
}

.dropdown-menu a {
  padding: 10px 0.8rem;
  color: var(--white);
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
  background: transparent;
  border-radius: 0;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: var(--yellow);
  padding-left: 1.2rem;
  color: var(--blue);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* === SITE FOOTER === */
.site-footer {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 40px 15px;
  font-family: 'Segoe UI', sans-serif;
  border-top: 5px solid var(--yellow);
  width: 100%;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
  width: 100%;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 2px solid var(--yellow);
}

.footer-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
}

.slogan {
  font-style: italic;
  margin-top: 6px;
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 6px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 8px;
  border-left: 2px solid var(--yellow);
  transform: translateX(3px);
}

.footer-contact {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(10px);
  width: 100%;
}

.footer-contact a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--yellow-light);
  text-decoration: underline;
}

.footer-map {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-map iframe {
  border-radius: 10px;
  width: 100%;
  max-width: 90%;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border: 2px solid var(--yellow);
  height: 250px;
}

/* === FLOATING CONTACT === */
.floating-contact {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-icon {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--blue);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid var(--white);
}

.contact-icon:hover {
  transform: scale(1.1);
  background-color: var(--blue-dark);
}

.contact-icon i {
  font-size: 22px;
  color: var(--white);
}

.contact-icon.whatsapp {
  background-color: var(--yellow);
}

.contact-icon.whatsapp:hover {
  background-color: var(--yellow-dark);
}

.contact-icon.phone::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  pointer-events: none;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.whatsapp-form {
  display: none;
  flex-direction: column;
  gap: 5px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  width: 220px;
  border: 2px solid var(--blue);
}

.whatsapp-form textarea {
  resize: none;
  height: 50px;
  padding: 6px;
  border-radius: 5px;
  border: 1px solid var(--gray);
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}

.whatsapp-form button {
  background-color: var(--blue);
  color: var(--white);
  border: none;
  padding: 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
  font-weight: bold;
  font-size: 0.9rem;
  width: 100%;
}

.whatsapp-form button:hover {
  background-color: var(--blue-dark);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

/* === MASAÜSTÜ GÖRÜNÜM === */
@media (min-width: 1025px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

/* === TABLET GÖRÜNÜM === */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-header {
    padding: 2.5rem 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .service-hero {
    padding: 100px 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
}

/* === MOBİL UYUMLULUK === */
@media (max-width: 768px) {
  .page-header {
    padding: 1.5rem 1rem;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .page-header p {
    font-size: 0.9rem;
  }
  
  .service-hero {
    padding: 60px 10px;
    min-height: 50vh;
  }
  
  .hero-logo {
    max-width: 100px;
    margin-bottom: 15px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-slogan {
    font-size: 1rem;
  }
  
  .services-overview {
    padding: 1.5rem 0.8rem;
  }
  
  .services-overview h2 {
    font-size: 1.5rem;
    width: 85%;
  }
  
  .services-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  
  .service-card img {
    height: 160px;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    position: absolute;
    top: 100%;
    right: 0.5rem;
    width: 250px;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border: 2px solid var(--yellow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    margin-top: 8px;
    min-width: auto;
    width: 100%;
  }

  .dropdown-menu a {
    background-color: rgba(251, 191, 36, 0.2);
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-col {
    margin-bottom: 25px;
    width: 100%;
  }

  .footer-map iframe {
    height: 200px;
  }
  
  .floating-contact {
    bottom: 10px;
    right: 10px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-icon i {
    font-size: 20px;
  }
  
  .whatsapp-form {
    width: 200px;
  }
}

/* === KÜÇÜK MOBİL EKRANLAR === */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .page-header p {
    font-size: 0.85rem;
  }
  
  .hero-title {
    font-size: 1.4rem;
  }
  
  .hero-slogan {
    font-size: 0.9rem;
    padding: 0 10px;
  }
  
  .services-overview h2 {
    font-size: 1.3rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
  }
  
  .footer-contact {
    font-size: 0.85rem;
    padding: 15px;
  }
  
  .footer-map iframe {
    height: 180px;
  }
  
  .nav-menu {
    width: 220px;
    right: 10px;
  }
  
  .floating-contact {
    bottom: 8px;
    right: 8px;
  }
  
  .contact-icon {
    width: 38px;
    height: 38px;
  }
  
  .contact-icon i {
    font-size: 18px;
  }
  
  .whatsapp-form {
    width: 180px;
  }
}

/* === ÇOK KÜÇÜK EKRANLAR === */
@media (max-width: 360px) {
  .page-header {
    padding: 1rem 0.5rem;
  }
  
  .page-header h1 {
    font-size: 1.3rem;
  }
  
  .service-hero {
    padding: 50px 5px;
  }
  
  .hero-title {
    font-size: 1.2rem;
  }
  
  .hero-slogan {
    font-size: 0.85rem;
  }
  
  .services-overview {
    padding: 1rem 0.5rem;
  }
  
  .services-overview h2 {
    font-size: 1.2rem;
  }
  
  .service-card {
    margin: 0 auto;
    max-width: 300px;
  }
  
  .footer-contact {
    font-size: 0.8rem;
    padding: 10px;
  }
  
  .floating-contact {
    bottom: 5px;
    right: 5px;
  }
}

/* === YATAY MOBİL EKRANLAR === */
@media (max-height: 500px) and (orientation: landscape) {
  .service-hero {
    padding: 40px 15px;
    min-height: 70vh;
  }
  
  .hero-logo {
    max-width: 80px;
    margin-bottom: 10px;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  .hero-slogan {
    font-size: 0.9rem;
    margin-top: 5px;
  }
}

/* === YÜKSEK ÇÖZÜNÜRLÜKLÜ EKRANLAR === */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}