/* ══════════════════════════════════════════════
   BASE RESET
══════════════════════════════════════════════ */
body {
  margin: 0;
  overflow-x: hidden;
  /* prevent horizontal scroll */
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
header {
  position: fixed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  top: 0;
  width: 100%;
  height: 45px;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  /* subtle shadow keeps it visible on scroll */
}

#header-inside {
  width: 100%;
  /* was 1470px — now fully fluid */
  max-width: 1470px;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

#container-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

img {
  width: 70px;
  height: 60px;
}

#logo-name {
  color: #0f0e17;
  white-space: nowrap;
}

/* ── Navigation ── */
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  /* wrap on narrow screens */
}

#nav-home {
  text-decoration: none;
  font-size: 17px;
  padding-top: 3px;
  padding-right: 15px;
  font-family: Arial, Helvetica, sans-serif;
  color: #0f0e17;
}

.nav-options {
  font-size: 17px;
  border: none;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
  width: 100px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
#home {
  padding-top: 45px;
  /* offset fixed header */
}

#hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 779px;
  padding: 60px 45px;
  background-color: #14274e;
  font-family: sans-serif;
  box-sizing: border-box;
}

#inside-hero-section {
  max-width: 50%;
  padding-bottom: 45px;
}

#hero-heading {
  font-size: 70px;
  margin-bottom: 20px;
  color: #f5f5f5;
}

#hero-subheading {
  font-size: 20px;
  line-height: 1.6;
  color: #f5f5f5;
}

#contact-me {
  display: inline-block;
  margin-top: 20px;
  background-color: #ffd700;
  color: #0f0e17;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
}

#hero-image {
  width: 620px;
  height: 620px;
  border-radius: 50%;
  box-shadow:
    0 0 25px rgb(225, 225, 225, .6),
    0 0 60px rgb(225, 225, 225, .3),
    0 0 100px rgb(225, 225, 225, .2);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SECTION WRAPPERS  (shared pattern)
══════════════════════════════════════════════ */
#philippines-section,
#japan-section,
#china-section,
#france-section,
#spain-section,
#italy-section,
#unitedstates-section,
#canada-section,
#mexico-section {
  width: 100%;
  /* was 100vw which causes scrollbar bleed */
  box-sizing: border-box;
  min-height: 800px;
  /* was fixed height — now min so it grows with content */
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  padding: 60px 20px;
}

/* Light sections */
#philippines-section,
#china-section,
#spain-section,
#unitedstates-section,
#mexico-section {
  background-color: #e0e0e0;
}

/* Dark sections */
#japan-section,
#france-section,
#italy-section,
#canada-section {
  background-color: #0f0e17;
}

/* Section headings */
#philippines-title-section,
#china-title-section,
#spain-title-section,
#unitedstates-title-section,
#mexico-title-section {
  color: #333333;
  text-align: center;
}

#japan-title-section,
#france-title-section,
#italy-title-section,
#canada-title-section {
  color: #e0e0e0;
  text-align: center;
}

/* ══════════════════════════════════════════════
   ARTICLE GRID
══════════════════════════════════════════════ */
.article-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  /* wrap cards on smaller screens */
  gap: 30px;
  padding: 20px;
  width: 100%;
  max-width: 1450px;
  box-sizing: border-box;
}

.article-content {
  width: 450px;
  max-width: 100%;
  /* never overflow viewport */
  flex-shrink: 1;
  box-sizing: border-box;
}

/* Images */
.article-image-black,
.article-image-white {
  width: 100%;
  /* fluid inside the card */
  max-width: 450px;
  height: 300px;
  object-fit: cover;
  display: block;
}

.article-image-black {
  border: 2px solid black;
}

.article-image-white {
  border: 2px solid white;
}

/* ── Link colours (unchanged) ── */
.title-links-philippines {
  color: #006994;
  text-decoration: none;
}

.title-links-japan {
  color: #ffd700;
  text-decoration: none;
}

.title-links-china {
  color: #006994;
  text-decoration: none;
}

.title-links-france {
  color: #ffd700;
  text-decoration: none;
}

.title-links-spain {
  color: #006994;
  text-decoration: none;
}

.title-links-italy {
  color: #ffd700;
  text-decoration: none;
}

.title-links-statueofliberty {
  color: #006994;
  text-decoration: none;
}

.title-links-timesquare {
  color: #006994;
  text-decoration: none;
}

.title-links-sanfrancisco {
  color: #006994;
  text-decoration: none;
}

.title-links-niagarafalls {
  color: #ffd700;
  text-decoration: none;
}

.title-links-ripleysaquarium {
  color: #ffd700;
  text-decoration: none;
}

.title-links-whistler {
  color: #ffd700;
  text-decoration: none;
}

.title-links-chichenitza {
  color: #006994;
  text-decoration: none;
}

.title-links-cancun {
  color: #006994;
  text-decoration: none;
}

.title-links-museosoumaya {
  color: #006994;
  text-decoration: none;
}

/* ── Paragraph styles (all collapsed into two rules) ── */
.paragraph-content-philippines,
.paragraph-content-china,
.paragraph-content-spain,
.paragraph-content-statueofliberty,
.paragraph-content-timesquare,
.paragraph-content-sanfrancisco,
.paragraph-content-chichenitza,
.paragraph-content-cancun,
.paragraph-content-museosoumaya {
  text-align: justify;
  word-wrap: break-word;
  line-height: 1.6;
  min-height: 150px;
  color: #333333;
}

.paragraph-content-japan,
.paragraph-content-fance,
.paragraph-content-disneyland,
.paragraph-content-louvre,
.paragraph-content-italy,
.paragraph-content-niagarafalls,
.paragraph-content-ripleysaquarium,
.paragraph-content-whistler {
  text-align: justify;
  word-wrap: break-word;
  line-height: 1.6;
  min-height: 150px;
  color: #e0e0e0;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  padding: 10px 80px;
  border-top: 1px solid #d4cbc3;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* ══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════ */

/* ── Large tablets / small laptops (≤ 1100px) ── */
@media (max-width: 1100px) {
  #hero-image {
    width: 420px;
    height: 420px;
  }

  #hero-heading {
    font-size: 52px;
  }

  .article-content {
    width: 380px;
  }
}

/* ── Tablets (≤ 900px) ── */
@media (max-width: 900px) {

  /* Header */
  header {
    height: auto;
    padding: 8px 0;
  }

  #header-inside {
    flex-direction: column;
    gap: 8px;
    padding: 6px 1rem;
  }

  nav {
    justify-content: center;
    gap: 12px;
  }

  #nav-home {
    padding-right: 0;
  }

  /* Hero — stack vertically */
  #hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 80px 24px 48px;
    min-height: auto;
    gap: 32px;
  }

  #inside-hero-section {
    max-width: 100%;
    padding-bottom: 0;
  }

  #hero-heading {
    font-size: 42px;
  }

  #hero-subheading {
    font-size: 17px;
  }

  #hero-image {
    width: 300px;
    height: 300px;
  }

  /* Cards: 2 per row */
  .article-container {
    gap: 24px;
  }

  .article-content {
    width: calc(50% - 12px);
  }

  .article-image-black,
  .article-image-white {
    height: 220px;
  }

  /* Section padding */
  #philippines-section,
  #japan-section,
  #china-section,
  #france-section,
  #spain-section,
  #italy-section,
  #unitedstates-section,
  #canada-section,
  #mexico-section {
    padding: 48px 16px;
    min-height: auto;
  }

  footer {
    padding: 10px 24px;
  }
}

/* ── Phones (≤ 600px) ── */
@media (max-width: 600px) {

  /* Header — tighter */
  #logo-name {
    font-size: 1rem;
  }

  img {
    width: 50px;
    height: 42px;
  }

  nav {
    gap: 8px;
  }

  .nav-options {
    width: 80px;
    font-size: 14px;
  }

  #nav-home {
    font-size: 14px;
  }

  /* Hero */
  #home {
    padding-top: 0;
  }

  #hero-section {
    padding: 70px 16px 36px;
    gap: 24px;
  }

  #hero-heading {
    font-size: 32px;
    margin-bottom: 12px;
  }

  #hero-subheading {
    font-size: 15px;
  }

  #contact-me {
    padding: 10px 20px;
    font-size: 14px;
  }

  #hero-image {
    width: 220px;
    height: 220px;
  }

  /* Cards: 1 per row, full width */
  .article-content {
    width: 100%;
  }

  .article-image-black,
  .article-image-white {
    max-width: 100%;
    height: 200px;
  }

  .article-container {
    gap: 32px;
    padding: 12px 0;
  }

  /* Paragraph min-height not needed on mobile — remove so it doesn't add empty space */
  .paragraph-content-philippines,
  .paragraph-content-china,
  .paragraph-content-spain,
  .paragraph-content-statueofliberty,
  .paragraph-content-timesquare,
  .paragraph-content-sanfrancisco,
  .paragraph-content-chichenitza,
  .paragraph-content-cancun,
  .paragraph-content-museosoumaya,
  .paragraph-content-japan,
  .paragraph-content-fance,
  .paragraph-content-disneyland,
  .paragraph-content-louvre,
  .paragraph-content-italy,
  .paragraph-content-niagarafalls,
  .paragraph-content-ripleysaquarium,
  .paragraph-content-whistler {
    min-height: unset;
  }

  footer {
    padding: 10px 16px;
  }

  .footer-text {
    font-size: 12px;
  }
}

/* ── Very small phones (≤ 380px) ── */
@media (max-width: 380px) {
  #hero-heading {
    font-size: 26px;
  }

  #hero-image {
    width: 170px;
    height: 170px;
  }

  .nav-options {
    width: 68px;
    font-size: 13px;
  }
}