/* Base Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --border-radius: 5px;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #217dbb;
}

/* Header & Navigation */
.navbar {
  box-shadow: var(--box-shadow);
  padding: 15px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--box-shadow);
}

.dropdown-item:hover {
  background-color: #f1f8fe;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #f1f1f1;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 50px 0;
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header .lead {
  font-size: 1.25rem;
}

/* Traffic Map */
.traffic-map {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.traffic-map h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.map-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.map-container iframe {
  width: 100%;
  border: none;
}

/* Info Blocks */
.info-blocks {
  padding: 60px 0;
}

.info-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.info-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* Cities Section */
.cities-section {
  padding: 60px 0;
}

.cities-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.city-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 0 0 30px 0;
  margin-bottom: 30px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

.city-card:hover {
  transform: translateY(-5px);
}

.city-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.city-card h3 {
  color: var(--secondary-color);
  margin: 20px 20px 10px;
}

.city-card p {
  margin: 0 20px 20px;
}

.city-card .btn {
  margin: 0 20px;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 8px 20px;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cities Overview */
.cities-overview {
  padding: 60px 0;
}

.cities-overview h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* Traffic Info */
.traffic-info {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.traffic-info h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* City Info */
.city-info {
  padding: 60px 0;
}

.city-info h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* Traffic Tips */
.traffic-tips {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.traffic-tips h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.tip-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tip-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Contact Info */
.contact-info {
  padding: 60px 0;
}

.contact-info h2 {
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  width: 30px;
  text-align: center;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

/* Privacy Policy & Disclaimer */
.privacy-content,
.disclaimer-content {
  padding: 40px 0 60px;
}

.last-updated {
  margin-bottom: 30px;
  color: #6c757d;
  font-style: italic;
}

.privacy-content h2,
.disclaimer-content h2 {
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.privacy-content ul,
.disclaimer-content ul {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer p {
  margin-bottom: 20px;
}

.social-icons {
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer address p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer address i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer address a {
  color: #ddd;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  color: #ddd;
  margin: 0 10px;
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .page-header {
    padding: 30px 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .map-container iframe {
    height: 400px;
  }

  .footer {
    text-align: center;
  }

  .footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  .footer address p {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .map-container iframe {
    height: 300px;
  }
}
