@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-blue: #0A2540; /* Trustworthy dark blue */
  --secondary-blue: #1C3D5A;
  --accent-orange: #FF6600; /* Energetic tracking orange */
  --accent-orange-hover: #E55B00;
  --text-dark: #333333;
  --text-light: #F8F9FA;
  --bg-light: #F4F7F6;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-orange);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-orange);
}

.contact-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--accent-orange);
  color: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: 
    linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.7)),
    url('assets/hero_bg.png?v=3') center/cover no-repeat;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent-orange);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Tracking Form Overlay */
.tracking-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.tracking-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.tracking-form {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media(min-width: 576px) {
  .tracking-form {
    flex-direction: row;
  }
}

.tracking-input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.tracking-btn {
  background-color: var(--accent-orange);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tracking-btn:hover {
  background-color: var(--accent-orange-hover);
}

/* Tracking Result Section */
#trackingResult {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  background-color: var(--white);
  color: var(--text-dark);
  display: none;
  text-align: left;
  border-left: 5px solid var(--accent-orange);
}

/* Services */
.services {
  padding: 5rem 5%;
  background-color: var(--white);
  text-align: center;
}

.section-title {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent-orange);
  bottom: -10px;
  left: 25%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-light);
  padding: 2.5rem 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-top-color: var(--accent-orange);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* Footer */
footer {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 3rem 5% 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.footer-section h4 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--accent-orange);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  nav ul {
    display: none; /* In a real app, implement hamburger menu */
  }
}

/* Dark Mode Overrides */
body.dark-mode {
  --bg-light: #18191A;
  --white: #242526;
  --text-dark: #E4E6EB;
  /* Metin renklerinde uyumluluk */
  color: var(--text-dark);
}

body.dark-mode .logo {
  color: var(--text-dark);
}

body.dark-mode nav ul li a {
  color: var(--text-dark);
}

body.dark-mode .section-title {
  color: var(--text-dark);
}

body.dark-mode .service-card h3 {
  color: var(--text-dark);
}

/* Footer her zaman en koyu alan kalsın diye */
body.dark-mode footer {
  background-color: #0d1117;
  border-top: 1px solid #30363d;
}

body.dark-mode .contact-btn {
  background-color: var(--accent-orange);
}

body.dark-mode .contact-btn:hover {
  background-color: var(--accent-orange-hover);
}

/* Map Container for Subelerimiz */
.map-container {
  height: 500px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: 2rem;
  border: 4px solid var(--white);
}

body.dark-mode .map-container {
  border-color: #242526;
}

.dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-blue);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-mode .dark-mode-toggle {
  color: var(--accent-orange);
}
