/* ===========================
   RESET & BASE STYLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  background: #f7f7f7;
  color: #333;
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
header {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  background: #ffffff;
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-right: 2rem;
  transition: transform 0.4s ease, opacity 0.4s ease, height 0.4s ease;
}

.logo.hidden {
  height: 50px;
  transform: scale(0.50);
}

.main-logo {
  max-width: 220px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 5px;
  animation: fadeInDown 0.8s ease forwards;
  opacity: 0;
}

.menu-list {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-right: 6rem;
}

.menu-list ul {
  display: flex;
  width: 100%;
}

.menu-list li {
  display: flex;
  height: 100%;
  align-items: center;
  padding-top: 12px;
}

.menu-list li a {
  margin-top: 10px;
  text-decoration: none;
  font-style: italic;
  letter-spacing: 1px;
  font-family: 'Tahoma';
  color: #434343;
  padding: 12px 18px;
  border-radius: 4px;
  transition: background 0.3s ease-in;
}

.menu-list li a:hover {
  background: rgba(0,0,0,0.08);
}

/* ===========================
   SECTIONS - BASE
=========================== */
.section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: 500;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.section-content {
  max-width: 900px;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: left;
}

.section-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.5px;
  border-bottom: 5px solid #CF345B;
  padding-bottom: 10px;
  display: inline-block;
}

.section-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #434343;
  font-weight: 400;
}

.section-content strong {
  color: #CF345B;
}

/* ===========================
   SECTION COLOR VARIANTS
=========================== */
#section2 { background: #f2f2f2; }
#section2.section h1 { border-bottom: 5px solid #91072A; }

#section3 { background: #e9e9e9; flex-direction: column; align-items: center; }
#section3.section h1 { border-bottom: 5px solid #E37039; }

#section4 { background: #dedede; }
#section4.section h1 { border-bottom: 5px solid #9F3807; }

footer {
  background: #d4d4d4;
  border-top: 1px solid #ddd;
  width: 100%;
  padding: 20px 40px;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: auto;
}

footer a {
  color: #1f42e0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #539bff;
  text-decoration: underline;
}

/* ===========================
   SERVICES LIST
=========================== */
.services-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}

.services-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

.services-list li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 0;
  color: #91072A;
  font-weight: bold;
  font-size: 1.1rem;
}

/* ===========================
   CONTACT SECTION
=========================== */
.section-content.service {
  max-height: 200px;
  padding-top: 10px;
}

.section-content.contact h1 {
  border-bottom: 5px solid #9F3807;
}

.section-content.contact .contact-line {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #434343;
  margin-bottom: 12px;
}

.section-content.contact a {
  color: #9F3807;
  text-decoration: none;
  font-weight: 600;
}

.section-content.contact a:hover {
  text-decoration: underline;
}

/* ===========================
   MAP
=========================== */
#map {
  width: 60vw;
  max-width: 1400px;
  height: 400px;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE FIXES
=========================== */

/* Medium screens (tablets, small laptops) */
@media (max-width: 1024px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px;
  }

  .logo {
    height: 80px;
    margin: 0 auto 10px;
  }

  nav {
    width: 100%;
  }

  .menu-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-right: 0;
  }

  .menu-list li a {
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  #map {
    width: 90vw;
    height: 300px;
  }

  .section-content {
    padding: 40px 20px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  .logo {
    height: 60px;
    margin-bottom: 8px;
    transform: none;
  }

  .main-logo {
    max-width: 150px;
  }

  nav {
    width: 100%;
  }

  /* .menu-list {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .menu-list li a {
    font-size: 0.9rem;
    padding: 6px 10px;
  } */
   .menu-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-right: 0;
  }

  .menu-list li a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .section {
    height: auto;
    padding: 30px 10px;
  }

  .section-content {
    padding: 40px 20px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-content h1 {
    font-size: 1.8rem;
  }

  .section-content p,
  .section-content li {
    font-size: 1rem;
    line-height: 1.6;
  }

  #map {
    width: 90vw;
    height: 300px;
  }

  footer {
    font-size: 0.9rem;
    padding: 15px 10px;
  }
}
