* { box-sizing: border-box; }
  html, body { height: 100%; }

body {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
background-color: #f8f9fa;
color: #06283D;
}

/* Screenreader-only */
.sr-only {
position: absolute !important;
width: 1px; height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}

/* Focus outline */
:focus {
outline: 3px solid #0b5cff9b;
outline-offset: 3px;
}

/* Layout container */
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 24px;
}

/* HEADER */
.site-header {
position: fixed;
top: 0; left: 0; right: 0;
padding: 14px 24px;
background: rgba(0,0,0,0.55);
backdrop-filter: blur(6px);
z-index: 60;
}

.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
}

.brand {
color: #a39f9f;
font-weight: 700;
font-size: 1.25rem;
text-decoration: none;
}

.main-nav ul {
list-style: none;
display: flex;
gap: 14px;
padding: 0;
margin: 0;
}

.main-nav a {
color: #aeacac;
text-decoration: none;
font-weight: 600;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
text-decoration: underline;
}

.main-nav ul {
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 1rem;
padding: 0;
margin: 0;
list-style: none;
overflow-x: auto;
}

.main-nav li a {
display: block;
padding: 0.5rem 1rem;
white-space: nowrap;
text-decoration: none;
}

.main-nav ul::-webkit-scrollbar {
display: none;
}
.main-nav ul {
-ms-overflow-style: none;
scrollbar-width: none;
}

.contact-btn {
background: #ffb80382;
color: #131618;
padding: 8px 12px;
border-radius: 8px;
font-weight: 800;
}

.country-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.country-buttons a {
width: 300px;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
padding: 10px 12px;
}

/* HERO SECTION */
.hero {
position: relative;
min-height: 55vh;
display: flex;
align-items: center;
justify-content: center;
padding: 64px 0;
color: #bcbbbb;
background-size: cover;
background-position: center;
}

.hero::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0,0,0,0.45);
}

.hero-inner {
position: relative;
max-width: 680px;
background: rgba(10,12,17,0.25);
padding: 32px;
border-radius: 12px;
text-align: center;
}

/* Titles */
.page-title {
text-align: center;
font-weight: 700;
font-size: 2.4rem;
color: #7e0101;
}

.intro {
text-align: center;
font-weight: 600;
font-size: 1.1rem;
color: #7e0101;
padding: 0 20px;
}

/* Add a bit more padding on very small screens */
@media (max-width: 600px) {
.intro {
padding: 0 25px;
}
}

/* BUTTONS */
.btn {
display: inline-block;
padding: 10px 18px;
background-color: #0077ccb3;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
margin: 5px;
}
.btn:hover,
.btn:focus {
background-color: #005fa3c8;
outline: 3px solid #fff;
outline-offset: 2px;
}

/* CARDS */
.card {
background: #1f6c85;
color: #fff;
border-radius: 12px;
padding: 16px;
}

.media-card img {
width: 100%;
height: 160px;
object-fit: cover;
border-radius: 10px;
}

/* Make info cards smaller */
.gallery-cards .card {
max-width: 280px;
margin: 0 auto;
}

/* Add spacing before footer */
section#attractions {
margin-bottom: 60px;
}

/* GRID SYSTEM */
.grid-3 {
display: grid;
gap: 18px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* FOOTER */
.site-footer {
background: #3a3c3d;
padding: 20px;
text-align: center;
color: #eff6ff;
}

/* MOBILE-FRIENDLY SCROLLABLE MENU */
@media (max-width: 768px) {
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 100%;
padding: 0 10px;
position: relative;
}

.main-nav {
flex: 1 1 auto;           /* allow menu to grow */
overflow-x: auto;         /* horizontal scroll */
-webkit-overflow-scrolling: touch;
margin-right: 10px;       /* spacing before contact button */
}

.main-nav ul {
display: flex;
flex-wrap: nowrap;
gap: 10px;
min-width: max-content;   /* prevent wrapping */
padding: 0;
margin: 0;
}

.main-nav li {
flex: 0 0 auto;
}

.main-nav li a {
white-space: nowrap;
padding: 0.5rem 1rem;
}

.contact-btn {
flex: 0 0 auto;           /* never shrink */
white-space: nowrap;
}

/* subtle scrollbar hint */
.main-nav ul::-webkit-scrollbar {
height: 6px;
}
.main-nav ul::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 3px;
}
.main-nav ul {
-ms-overflow-style: auto;
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.3) transparent;
}

/* hide Explore Balkans title on tablets/phones */
.page-title {
display: none;
}
}




/* --- Accessibility & visual fixes --- */

/* ABOUT page: bottom half typography improvements  */
#about .intro {
  max-width: 70ch;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0 auto 1.5rem;
  color: #072A40;
}

/* if there is a lower section on about page, give it gentle spacing */
#about .about-bottom {
  padding: 30px 0 60px;
}

/* ATTRACTIONS: ensure hero image shows without overlaid text (text moved below) */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: block;
}

/* TRAVEL TIPS: make country buttons' emojis render consistently and be tappable */
.country-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.country-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  /* prefer color emoji fonts to stabilise flag glyphs across platforms */
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Segoe UI Symbol",system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 44px; /* good tap target */
}

/* CONTACT: keep background image but darken overlay for legible text */
#contact {
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(207, 206, 206, 0.161); /* darker overlay to improve contrast */
  z-index: 0;
}
#contact .container {
  position: relative;
  z-index: 1;
  color: #ffffff;
}
#contact h1, #contact p {
  color: #ac9d9d;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* NAV / menu: improve tap targets and wrapping on small screens */
.main-nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  padding: 10px 12px;
  display: inline-block;
  border-radius: 6px;
  text-decoration: none;
}

/* mobile adjustments */
@media (max-width: 800px) {
  .main-nav ul {
    flex-wrap: wrap;
  }
  .main-nav a {
    padding: 12px 14px;
    min-width: 44%;
    text-align: center;
  }
}

/* small utility */
.sr-only { position: absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

