/* Page Content Styles */
body {
  padding-top: 90px;
}

.page-header {
  background: linear-gradient(135deg, #001145 0%, #002966 50%, #0055aa 100%);
  padding: 80px 0 60px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="20" cy="20" r="0.5" fill="white" opacity="0.05"/><circle cx="80" cy="30" r="0.8" fill="white" opacity="0.08"/></svg>');
  animation: float 20s infinite linear;
  opacity: 0.1;
  z-index: 1;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.offices-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.office-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 4px solid #001145;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.office-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #001145, #002966, #0055aa);
}

.office-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 85, 170, 0.2);
  border-left-color: #0055aa;
}

.office-type-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.badge-merkez {
  background: linear-gradient(135deg, #ff6b35, #ff8f00);
  color: white;
}

.badge-sube {
  background: linear-gradient(135deg, #001145, #002966);
  color: white;
}

.badge-operasyon {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.badge-tesis {
  background: linear-gradient(135deg, #6f42c1, #8e44ad);
  color: white;
}

.office-card h4 {
  color: #001145;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.office-info {
  margin-bottom: 1.5rem;
}

.office-info p {
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.office-info i {
  color: #001145;
  width: 20px;
  text-align: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.office-services {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.office-services h6 {
  color: #001145;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  background: rgba(0, 17, 69, 0.1);
  color: #001145;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.map-section {
  padding: 80px 0;
  background: white;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 500px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.1rem;
  position: relative;
}

.map-placeholder {
  text-align: center;
  padding: 2rem;
}

.map-placeholder i {
  font-size: 4rem;
  color: #001145;
  margin-bottom: 1rem;
}

.stats-grid {
  margin-top: 60px;
}

.stat-card {
  background: linear-gradient(135deg, #001145, #002966);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 17, 69, 0.3);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.contact-cta {
  background: linear-gradient(135deg, #001145, #002966);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-top: 80px;
}

.contact-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-btn {
  background: white;
  color: #001145;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: #001145;
  text-decoration: none;
}

/* RESPONSIVE BREAKPOINTS */

.page-header h1 {
  font-size: 2.8rem;
}

.offices-section {
  padding: 60px 0;
}

@media screen and (max-width: 1024px) {
  .offices-section {
    padding: 60px 0;
  }

  .office-card {
    padding: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .map-section {
    padding: 60px 0;
  }

  .contact-cta {
    padding: 50px 0;
  }
}

.page-header {
  padding: 60px 0 40px;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 90%;
}

.offices-section {
  padding: 40px 0;
}

/* Page Header Extra Small Mobile */
.page-header {
  padding: 50px 0 30px;
}

.page-header h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.page-header p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 95%;
}

.office-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.office-card h4 {
  font-size: 1.2rem;
}

.office-info p {
  font-size: 0.9rem;
  align-items: flex-start;
}

.service-tags {
  gap: 4px;
}

.service-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
}

.map-section {
  padding: 40px 0;
}

.map-container {
  height: 300px;
}

.map-placeholder {
  padding: 1rem;
}

.map-placeholder i {
  font-size: 2.5rem;
}

.stats-grid {
  margin-top: 40px;
}

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2rem;
}

.contact-cta {
  padding: 40px 0;
  margin-top: 40px;
}

.contact-cta h3 {
  font-size: 1.5rem;
  padding: 0 15px;
}

.contact-cta p {
  font-size: 1rem;
  padding: 0 15px;
}

.cta-btn {
  padding: 12px 30px;
  font-size: 1rem;
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.office-card {
  animation: fadeIn 0.6s ease-out;
}

.office-card:nth-child(1) {
  animation-delay: 0.1s;
}

.office-card:nth-child(2) {
  animation-delay: 0.2s;
}

.office-card:nth-child(3) {
  animation-delay: 0.3s;
}

.office-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .office-card:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .nav-links li a:hover {
    transform: none;
  }

  .cta-btn:hover {
    transform: none;
  }
}
