/* RESET + GLOBAL TRANSITIONS*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all .15s ease;
}

/* THEME TOKENS */
:root {
  --brand: #14365d;
  --brand-dark: #0c2440;
  --accent: #ffcc00;

  --text: #1a1a1a;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;

  --radius: 10px;
  --shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* GLOBAL TYPOGRAPHY & PAGE */
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg-soft);
  --text: #1d1d1f;
  line-height: 1.6;
}

/* Larger nicer, cleaner, better, heading scale hehe */
h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

h2 {
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

p, li {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Accent bars section headers */
h2, h3 {
  position: relative;
  padding-left: 12px;
}

h2::before,
h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
  border-radius: 6px;
}



/* LAYOUT WRAPPER */
.site-wrap{width:92%;max-width:1100px;margin:0 auto}

/* HEADER & NAVIGATION */
header {
  background: var(--brand);
  padding: 20px 0;
  box-shadow: var(--shadow);
  color: #fff;
}

header h1 {
  margin: 0;
  padding: 16px 0;
  color: #fff;          
}

nav{display:flex;gap:12px;padding:0 0 12px 0;flex-wrap:wrap}

nav a {
  color: #dfe9f5;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: background .2s ease, transform .2s ease;
}

nav a:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

nav a:visited {
  color: #dfe9f5;
}

nav a.active{background:#0c2440;color:#fff}


/* BADGES */
.badge{position:absolute;top:12px;right:12px;background:#ffcc00;color:#14365d;font-weight:bold;padding:4px 8px;border-radius:3px}


/* MAIN CONTENT & SECTIONS */
main {
  background: #fff;
  padding: 40px 0;
}

section {
  margin-bottom: 40px;
}


/* HERO & CARDS */
.hero-img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

#hero{position:relative;top:2px}

.card{background:#fafafa;border:1px solid #e5e5e5;padding:12px;border-radius:6px;margin:14px 0}


/* TABLES & INFO BLOCKS*/
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

thead th {
  background: var(--brand);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: .3px;
}

td, th {
  padding: 12px 16px;
  border-bottom: 1px solid #e6e6e6;
}

tbody tr:hover {
  background: #f7f9fc;
  transition: background .2s ease;
}

.info-block h2 {
  margin-bottom: 12px;
}

.facts li {
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--brand);
}

/* MAIN PAGE ABOUT - DID YOU KNOW SPLIT SECTION */
.split-section {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 24px;
  align-items: flex-start;
}

.split-left p + p {
  margin-top: 10px;
}

.fact-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.fact-list li {
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  font-size: 0.98rem;
}

/* stack on mobile */
@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}


/* CONTENT LAYOUT (MAIN + ASIDE) */
.content-with-aside{margin-top:16px}

.main-col{width:70%;float:left}

.side-col{width:26%;float:right;background:#f4f6f8;padding:10px;border-radius:6px}

.clearfix::after{content:"";display:block;clear:both}


/* CITY IMAGES */
.city-img{width:100%;max-height:360px;object-fit:cover;border-radius:6px;margin:8px 0}
form{max-width:520px}

.card:hover,
.city-img:hover,
.hero-img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

label{display:block;margin-top:10px}

input[type="text"],input[type="email"],textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px}


/* HOME PAGE LANDMARK GRID & CITY SELECTION*/
.landmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.landmark img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.landmark h4 {
  margin-top: 10px;
  margin-bottom: 6px;
}

.landmark p {
  font-size: 0.95rem;
}

.city-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.city-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

.city-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.city-card h3 {
  margin: 10px;
}

.city-card p {
  margin: 0 10px 10px;
}


/* PILL-STYLE LIST FOR FOODS */
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
}

.pill-list li {
  background: #f3f5fb;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.95rem;
}


/* BUTTONS */
button {
  background: var(--brand);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

button:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* LAYOUT THUMBNAILS (Task screenshots) */
.layout-thumb{width:340px;height:auto;margin:6px;border:1px solid #ddd;border-radius:6px}


/* RESPONSIVE LAYOUT (FOR MOBILES) */
@media (max-width: 768px) {

  /* Drop the two-column layout into a single column */
  .main-col,
  .side-col {
    width: 100%;
    float: none;
    margin: 0 0 20px 0;
  }

  /* Reduce nav spacing so it wraps nicely */
  nav {
    gap: 8px;
  }

  .card {
    padding: 20px;
  }

  /* Ensure layout thumbnails/images scale correctly */
  .layout-thumb,
  .city-img,
  .hero-img {
    width: 100%;
  }
}
