/* Reset and Base Theme */
:root {
  --primary-color: #002244; /* Darker shade for better contrast */
  --accent-color: #007060;  /* Slightly deeper tone */
  --bg-color: #f4f7fa;
  --text-color: #222;
  --light-color: #fff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Accessibility Enhancements */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--light-color);
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: block;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  z-index: 1000;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a {
  color: white;
  padding: 1rem;
  display: block;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
  background-color: #005580;
}

/* Contact Banner */
.contact-banner {
  background: var(--accent-color);
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

/* Headline */
h1 {
  text-align: center;
  margin: 2rem 1rem 1rem;
  font-size: 2rem;
  color: var(--primary-color);
}

/* Ads Section */
.ads-section {
  display: grid;
  gap: 2rem;
  padding: 2rem 1rem;
}

.ad-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ad-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.ad-content {
  padding: 1rem;
}

.ad-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.ad-icons {
  margin-top: 0.75rem;
}

.ad-icons a img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.ad-icons a img:hover {
  transform: scale(1.2);
}

/* Info Section */
.info-section {
  background: white;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
}

.info-section h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.paraline {
  padding: 20px;
}

/* Contact Form */
.contact-form {
  background: #e3f2f1;
  padding: 2rem 1rem;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-form form {
  max-width: 600px;
  margin: auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-color);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #004d66;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .ads-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
  }

  .ad-card {
    flex-direction: column;
    display: flex;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .ad-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .ad-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }

}

.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-icons a {
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
}

.floating-icons a:last-child {
  background-color: #007bff;
}

.floating-icons a:hover {
  transform: scale(1.2);
}

@media (min-width: 1024px) {
  .ads-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* main CSS file */
/* Base styles */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

/* Show nav in mobile when active */
.nav-links.active {
  display: flex;
}

/* Desktop styles */
@media (min-width: 768px) {
  #hamburger {
    display: none; /* Hide hamburger on desktop */
  }

  .nav-links {
    display: fle !important;
    flex-direction: row;
    justify-content: flex-end;
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    color: #222;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background-color: #f2f2f2;
    border-radius: 5px;
    outline: none;
  }
}

/* Ads Section Styles */
.ads-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Each Ad Card */
.ad-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.ad-card:hover {
  transform: scale(1.01);
}

/* Ad Image */
.ad-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

/* Ad Content */
.ad-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Ad Icons */
.ad-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

/* Icons */
.ad-icons a {
  display: inline-flex;
}

.more-locations{
  background: white;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
}

/* Added css for more locations */
.more-locations {
  background: white;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  max-width: 1100px;
  margin: 2rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.more-locations h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.more-locations ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.more-locations ul li {
  background-color: var(--bg-color);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.more-locations ul li:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.more-locations ul li a {
  display: block;
  padding: 12px 16px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  background-color: var(--light-color);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.more-locations ul li a:hover,
.more-locations ul li a:focus {
  background-color: var(--accent-color);
  color: var(--light-color);
  outline: none;
  box-shadow: 0 0 6px var(--accent-color);
}
