/* Maputo Airport Styles - Modern, responsive design with SEO optimizations */

/* Base Styles & Reset */
:root {
  --primary-color: #0066cc;
  --secondary-color: #005299;
  --accent-color: #ff9900;
  --text-color: #333333;
  --light-text: #ffffff;
  --light-bg: #f5f7fa;
  --dark-bg: #2c3e50;
  --border-radius: 6px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: var(--light-text);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--border-radius);
}

nav a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

/* Mobile Menu Button (hidden by default) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: 100px 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
}

/* Flight Information Section */
.flights-section {
  background-color: var(--light-text);
}

.flight-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.flight-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 280px;
  text-align: center;
  transition: var(--transition);
}

.flight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.flight-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn:hover {
  background: var(--secondary-color);
  color: white;
}

/* Services Section */
.services-section {
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  background: var(--light-text);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.service-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Transport Section */
.transport-section {
  background-color: var(--light-text);
}

.transport-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.transport-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.transport-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* About Section */
.about-section {
  background-color: var(--light-bg);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* Entertainment Section */
.entertainment-section {
  background-color: var(--light-text);
}

.entertainment-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.link-item {
  background: var(--light-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.link-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.link-item a {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 10px;
}

.link-item p {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-icon {
  width: 80px;
  height: 80px;
  margin-top: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul a {
  color: var(--light-text);
  opacity: 0.8;
}

.footer-column ul a:hover {
  opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  nav ul {
    display: none; /* Hide navigation links on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  nav.mobile-active ul {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .flight-info, 
  .transport-options {
    flex-direction: column;
  }
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flight-card,
.service-item,
.transport-card,
.link-item {
  animation: slideIn 0.6s ease-out;
}

/* Accessibility Improvements */
:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
