/** ========================= **/
/**  LAYOUT / GRID STRUCTURE  **/
/** ========================= **/

.content-section {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.02em;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0 2rem;
  border-left: 4px solid color-mix(in srgb, var(--primary) 60%, transparent 40%);
  box-shadow: 0 0.2px 0.4px var(--primary);
  transition: box-shadow 0.18s ease;
}

.content-section h2,
.experience-grid h3,
.grid h3 {
  color: var(--primix);
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.content-section p {
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.8;
}

/** ====================== **/
/**  HEADER / NAVIGATION   **/
/** ====================== **/

header {
  background-color: var(--bar-bg);
  color: white;
  border-bottom: 2px solid var(--border);
  padding: 0.75rem 1.25rem;
  transition: all 0.3s;
  position: sticky;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heading-text-center {
  width: min(100%, 1195px);
  margin: 4rem auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  color: var(--primix);
}

.heading-text-center::before,
.heading-text-center::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--primix);
  margin: 0 0.5rem;
}

.inner-tit {
  display: inline-block;
  position: relative;
  padding: 0 0.8rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.inner-tit {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.logo {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: min(0.9rem, 3vw);
}

nav a {
  text-decoration: none;
  color: var(--bar-text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav span[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

/** ======== **/
/**  FOOTER  **/
/** ======== **/

footer {
  background: var(--bar-bg);
  border-top: 2px solid var(--border);
  padding: 3rem 2rem;
  margin-top: 3rem;
  transition: all 0.3s;
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center; /* keep stacked/centered on small screens */
}

.footer-section h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--primary) 88%, #ffd27f 12%);
  line-height: 1.2;
}

.footer-section p {
  margin: 0;
  color: var(--bar-text);
  font-size: 0.95rem; /* slightly larger than default */
  line-height: 1.6;
  max-width: 48ch; /* allow longer measure for better rhythm */
  opacity: 0.92; /* just a touch less than full */
  hyphens: auto;
  word-wrap: break-word;
}

.footer-bottom {
  position: relative;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 2rem;
  /* darker in the middle, subtle gold band */
  background: linear-gradient(
      180deg,
      hsl(225 12% 6%) 0%,
      hsl(225 12% 4%) 40%,
      hsl(225 12% 3%) 50%,
      hsl(225 12% 4%) 60%,
      hsl(225 12% 8%) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 215, 120, 0.06),
      rgba(255, 215, 120, 0.02) 50%,
      rgba(255, 215, 120, 0.06)
    );
  background-blend-mode: overlay, normal;
  color: var(--bar-text, #e8f0ff);
  border-top: 1px solid rgba(255, 215, 120, 0.04);
  border-radius: 6px;
  width: min(100%, 1150px);
  margin: 2rem auto 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.footer-bottom p {
  margin: 0;
  color: var(--bar-text);
  font-size: 0.7rem;
  font-weight: 500;
}

/** ============== **/
/**  FOOTER LINKS  **/
/** ============== **/

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.footer-links a {
  color: var(--bar-text);
  text-decoration: none;
  transition: color 0.18s, transform 0.18s, background 0.18s;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 6px;
  font-weight: 600;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--primary);
  bottom: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
  border-radius: 2px;
  opacity: 0.95;
}

.footer-links a:hover::after,
.footer-links a:focus::after {
  transform: scaleX(1);
}

/** ==================== **/
/**  SOCIAL MEDIA ICONS  **/
/** ==================== **/

.footer-social .social-grid {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 99%;
  font-size: 20px;
  line-height: 32px;
  outline: 0;
  border: 0;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: visible;
}

.footer-social a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 8px 22px rgba(255, 200, 60, 0.18),
    0 2px 8px rgba(255, 180, 40, 0.08) inset;
  opacity: 1;
  mix-blend-mode: normal;
  transition: box-shadow 0.22s ease, transform 0.28s ease, opacity 0.22s ease;
  transform: translateZ(0);
}

.footer-social a[aria-label="Facebook"] {
  background: #1877f2;
}
.footer-social a[aria-label="YouTube"] {
  background: #ff0000;
}
.footer-social a[aria-label="Instagram"] {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.footer-social a[aria-label="GitHub"] {
  background-color: #333;
  color: #fff;
}

.footer-social a[aria-label="Email"] {
  background-color: #d44638;
  color: #fff;
}

.footer-social a:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}

/** =================== **/
/**  Responsive Design  **/
/** =================== **/

@media (min-width: 1600px) {
  html {
    font-size: 18px;
  }
  nav {
    gap: 3.5rem;
  }
  .regions-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
  .region-card h3 {
    font-size: 1.6rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  html {
    font-size: 17px;
  }
  nav {
    gap: 3rem;
  }
  .regions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .region-card h3 {
    font-size: 1.4rem;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html {
    font-size: 16px;
  }
  nav {
    gap: 2rem;
  }
  .regions-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .region-card h3 {
    font-size: 1.3rem;
  }
  .region-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 599px) {
  html {
    font-size: 13px;
  }
  nav {
    gap: 0.4rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .logo img {
    height: 36px;
  }
  .logo span {
    display: none;
  }
  .hero {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    height: 50vh;
    padding: 1rem;
  }
  .hero-content {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .regions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .region-card {
    padding: 1rem;
  }
  .region-card h3 {
    font-size: 1.1rem;
  }
  .region-card p {
    font-size: 0.85rem;
  }
  .destination-card {
    padding: 1rem;
  }
  .card-content h3 {
    font-size: 1.2rem;
  }
  .card-content p {
    font-size: 0.9rem;
  }
  .highlights-list {
    padding: 1rem;
  }
  .highlights-list h3 {
    font-size: 1.3rem;
  }
  .highlights-list ul {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 470px) {
  html {
    font-size: 14px;
  }

  body {
    width: 100vw;
    margin: 0;
  }

  nav {
    gap: 0.4rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .logo img {
    height: 36px;
  }

  header {
    padding: 0.5rem 0.75rem;
  }

  footer {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 2rem 1rem;
  }

  .footer-bottom {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 1rem 1rem;
  }

  .hero {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    max-width: 100%;
    min-height: 40vh;
    height: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    max-width: 85%;
    margin: 0 auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0.5rem 0;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0.5rem 0;
  }

  .hero-media {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .regions-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .region-card,
  .destination-card,
  .card-content,
  .highlights-list {
    padding: 0.8rem;
  }

  .region-card h3,
  .card-content h3,
  .highlights-list h3 {
    font-size: 1.1rem;
  }

  .region-card p,
  .card-content p {
    font-size: 0.85rem;
  }

  .highlights-list ul {
    gap: 0.4rem;
  }
}
