/* ===========================
   GLOBAL
=========================== */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

a, button, nav, section, header {
  transition: all 0.25s ease;
}

body {
  background: #ffffff;
  color: #2c2c2c;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* ===========================
   DESKTOP SIDEBAR NAV
=========================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(to bottom, #f5f5f7, #eceaf7);
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  border-right: 1px solid #e3e3e3;
}

.nav-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
}

.nav-logo {
  height: 55px;
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 600;
  color: #6f5fa7;
  font-size: 16px;
}

/* ===========================
   NAV LINKS
=========================== */

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

nav ul li a {
  text-decoration: none;
  color: #2c2c2c;
  font-size: 16px;
  padding: 6px 0;
  display: inline-block;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav ul li a.active {
  color: #6f5fa7;
  font-weight: 600;
}

nav ul li a:hover {
  color: #6f5fa7;
  transform: translateX(4px);
}

nav ul li a:focus {
  color: #6f5fa7;
  outline: none;
}

nav ul li a:focus-visible {
  outline: 2px solid #6f5fa7;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ===========================
   HAMBURGER
=========================== */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #6f5fa7;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background: #5b4aa3;
}

/* ===========================
   CONTENT OFFSET
=========================== */

header.hero,
section.content,
section.info-section,
footer {
  margin-left: 280px;
}

/* ===========================
   HERO
=========================== */

.hero {
  height: 260px;
  background: linear-gradient(135deg, #b9b0dc, #e8e5f7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  color: #5b4aa3;
  margin-bottom: 10px;
}

.hero p {
  font-size: 19px;
  color: #555;
}

/* ===========================
   CONTENT CARD STYLE
=========================== */

.content {
  max-width: 1000px;
  margin: 40px auto 60px auto; /* Reduced top margin from 60px to 40px */
  padding: 35px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.content h2 {
  color: #6f5fa7;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}

.content li {
  margin-bottom: 0.5rem;
}

.center {
  text-align: center;
}

/* ===========================
   AREAS PAGE LAYOUT (MAP + LIST)
=========================== */

.areas-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1400px;
  padding: 35px;
  background: transparent;
  box-shadow: none;
}

/* Locations Card */
.areas-list {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  flex: 0 0 auto;
  min-width: 300px;
  text-align: center; /* Center everything */
}

.areas-list h2 {
  color: #6f5fa7;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Columns City List */
.areas-list .columns {
  columns: 2;
  list-style-position: inside;
  text-align: center; /* Center the text */
  column-gap: 25px;
}

.areas-list .columns li {
  margin-bottom: 12px;
  color: #2c2c2c;
  font-size: 18px;
  font-weight: 500;
  text-align: center; /* Force center alignment */
}

/* Map Styling */
.areas-map {
  flex: 0 0 auto;
}

.areas-map img {
  width: 650px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  display: block;
}

.areas-map img:hover {
  transform: scale(1.02);
}

/* ===========================
   CONTACT SECTIONS
=========================== */

.info-section {
  text-align: center;
  padding: 50px 20px; /* Reduced from 60px to 50px */
}

.info-section:first-of-type {
  padding-top: 30px; /* Even less space for first section */
}

.info-section h2 {
  color: #6f5fa7;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.info-section p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.info-section a {
  color: #6f5fa7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-section a:hover {
  color: #5b4aa3;
  text-decoration: underline;
}

.info-section.alt {
  background: #f5f5f7;
}

/* ===========================
   FOOTER
=========================== */

footer {
  background: linear-gradient(to right, #b9b0dc, #9f93d6);
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ===========================
   MOBILE NAV + AREAS STACK
=========================== */

@media (max-width: 768px) {

  nav {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
  }

  .nav-left {
    flex-direction: row;
    gap: 10px;
    margin-bottom: 0;
  }

  .nav-logo {
    height: 36px;
  }

  .logo-text {
    font-size: 14px;
  }

  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f5f5f7;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  nav ul.show {
    display: flex;
    flex-direction: column;
  }

  nav ul li {
    text-align: center;
    margin: 10px 0;
  }

  nav ul li a {
    padding: 12px 20px;
    display: block;
  }

  header.hero,
  section.content,
  section.info-section,
  footer {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .content {
    margin: 30px 15px;
    padding: 25px;
  }

  .content[style*="display: flex"] {
    flex-direction: column !important;
  }

  .content > div[style*="flex: 0 0 400px"] {
    flex: 1 !important;
    max-width: 100% !important;
  }

  /* STACK MAP UNDER LIST */
  .areas-layout {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .areas-list {
    width: 100%;
    padding: 25px;
    text-align: center; /* Keep centered on mobile */
  }

  .areas-map img {
    width: 100%;
    max-width: 500px;
  }

  .areas-list .columns {
    columns: 1;
    text-align: center; /* Keep centered on mobile */
  }

  .areas-list .columns li {
    text-align: center; /* Keep centered on mobile */
  }
}