/* privacy.css
   ----------------------------------------------------------------------------
   This file mirrors the layout and design of mainservices.css, adapted for
   privacy.html. It reuses classes such as .services-hero, .blog-articles,
   .blog-post, etc., to maintain a cohesive style across your site.
   ----------------------------------------------------------------------------
*/

/* 1) Basic Reset / Body Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  padding-top: 60px; /* Account for fixed nav bar if needed */
  background-color: #fafafa;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0.9rem;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


nav a {
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
}

.nav-logo {
  flex: 1;
  align-items: center;
}

.nav-account a {
  color: white;
  background-color: black;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-links {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-account {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav a:hover {
  color: white;
  background-color: #f01212;
}

nav a.active {
  color: white;
  background-color: black;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
}

/* MOBILE NAVIGATION (max-width: 768px) */
@media (max-width: 768px) {
  nav {
      flex-direction: column;
      align-items: flex-start;
      padding: 0.5rem;
  }
  .nav-links {
      display: flex;        /* stack vertically */
      flex-direction: column;
      position: absolute;   /* so it appears below the nav */
      top: 60px;
      left: 0;
      width: 100%;
      background-color: white;
      max-height: 0;        /* collapsed by default */
      overflow: hidden;     /* hide the menu */
      transition: max-height 0.3s ease;
      z-index: 1000;        /* ensures the menu appears on top */
  }
  .nav-links.active {
      max-height: 500px;    /* or enough to show all links */
  }
  .nav-links a {
      padding: 0.5rem 1rem;
      width: 100%;
      text-align: left;
      border-bottom: 1px solid #ddd;
  }
  .nav-account {
      width: 100%;
      justify-content: flex-start;
  }
  .nav-logo {
      width: 100%;
      text-align: left;
  }
  .hamburger {
      display: block;
  }
  .nav-dropdown:hover .nav-dropdown-content {
    display: none; /* Ensure no hover effect on small screens */
  }

  /* On mobile, when JS toggles .active-submenu, show the sub-menu. */
  .nav-dropdown-content.active-submenu {
    display: block;
    position: static;  /* So it stacks under "About Us" */
    box-shadow: none;  /* Up to you - might look better or worse */
    margin-left: 1rem; /* If you want an indentation, optional */
  }
}
/* Example nav dropdown styles */
/* Position parent */
.nav-dropdown {
  position: relative; 
  display: inline-block;
}

/* Top-level link styling */
.nav-dropbtn {
  text-decoration: none;
  color: #000; /* Adjust to your existing nav color */
  padding: 0.5em 1em;
  display: inline-block;
}

/* Dropdown content hidden by default */
.nav-dropdown-content {
  display: none;
  position: absolute; /* So it floats below the parent */
  background-color: #fff; /* Match your site's header color or brand style */
  min-width: 180px;       /* Adjust to taste */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Slight shadow for clarity */
  z-index: 999;           /* Ensures it appears on top */
}

/* Individual link in dropdown */
.nav-dropdown-content a {
  color: #000;  /* Adjust text color to match theme */
  padding: 0.75em 1em;
  text-decoration: none;
  display: block;
}

/* Show dropdown on hover (desktop) */
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

/* Hover effect for links */
.nav-dropdown-content a:hover {
  background-color: #f01212; /* Light hover effect */
}

/* 2) Hero / Intro Section (reuses .services-hero) */
.services-hero {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2rem;
  box-sizing: border-box;
}
.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap; /* Let it wrap on smaller screens */
  gap: 2rem;
}
.hero-text {
  flex: 1;
  min-width: 300px;
}
.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}
.hero-text h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #555;
}
.hero-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #444;
}
.book-now-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  background-color: #f01212;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}
.book-now-btn:hover {
  background-color: #d30c0c;
}
.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* 3) Main Content Container (reuses .blog-articles) */
.blog-articles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* 4) Individual Post Sections (reuses .blog-post) */
.blog-post {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.blog-post.alt-layout {
  flex-direction: row-reverse; /* Alternate the layout for variety */
}
.post-image {
  flex: 1;
  min-width: 280px;
}
.post-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.post-content {
  flex: 1;
  min-width: 280px;
}
.post-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #111;
}
.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}
.post-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}
.read-more-link {
  display: inline-block;
  color: #f01212;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
}
.read-more-link:hover {
  text-decoration: underline;
}

/* 5) Contact Section */
.contact-section {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}
.contact-header {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.contact-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-form {
  flex: 1;
  min-width: 280px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  background-color: #f01212;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.contact-form button:hover {
  background-color: #d30c0c;
}
.contact-info {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-item img {
  width: 24px;
  height: 24px;
}
.info-item span {
  font-size: 1rem;
  color: #333;
}
.social-media {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-start;
}
.map {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* 6) Footer */
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}
footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
}

/* 7) Media Queries */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .blog-post,
  .blog-post.alt-layout {
    flex-direction: column;
  }
  .post-image,
  .post-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-text,
  .hero-image,
  .contact-form,
  .contact-info {
    min-width: auto !important; /* Remove forced widths on small devices */
  }
  .contact-container {
    gap: 1rem; /* Reduce gap to prevent overflow */
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text h2 {
    font-size: 1.5rem;
  }
  .post-content h2 {
    font-size: 1.4rem;
  }
}
