/* GLOBAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 0 10px;
}

/* NAVBAR */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(0,0,0,0.85);
  color: white;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  font-size: 1.2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  height: 90vh;
  background: url('images/irish-indigenous.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
}

.hero-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;

  max-width: 500px;
  padding: 8px 12px;

  background: rgba(0, 0, 0, 0.5);
  border-left: 3px solid #c8a96a;

  font-size: 0.8rem;
  color: white;
}

/* SECTIONS */
.section {
  padding: 50px 0;
}

.light {
  background: white;
}

.dark {
  background: #111;
  color: white;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* CARDS */
.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(99, 99, 97, 0.925);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.dark .card {
  background: #63635d;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  background: black;
  color: white;
}

/* PLANNING LISTS */
.planning-list {
  margin-top: 20px;
  padding-left: 20px;
}

.planning-list li {
  margin-bottom: 10px;
}

/* STYLE */
body {
  background-color: #0f0f0f;
  color: #eae6df;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.section.light {
  background: #181818;
}

.section.dark {
  background: #0f0f0f;
}

/* NAV */
nav {
  background: rgba(10,10,10,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
}

.logo {
  font-size: 1.3rem;
  color: #f4f1ea;
}

/* TIMELINE LAYOUT */
.timeline {
  position: relative;
  margin: 60px 0;
  padding-left: 40px;
  border-left: 2px solid rgba(255,255,255,0.15);
}

/* each "panel" */
.timeline-item {
  margin-bottom: 60px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* hover = effect */
.timeline-item:hover {
  transform: translateX(6px);
}

/* item  */
.timeline-item.active {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid #c2a878;
}

/* DATE   */
.timeline-date {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c2a878;
  margin-bottom: 10px;
}

/* CONTENT CARD */
.timeline-content {
  background: #1c1c1c;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* title */
.timeline-content h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #f4f1ea;
}

/* text */
.timeline-content p {
  color: #d6d2cb;
  font-size: 0.95rem;
}

/* IMAGES */
.timeline-img {
  width: 100%;
  margin: 15px 0;
  border-radius: 8px;
  border: 4px solid #111;
  box-shadow: 
    0 0 0 1px rgba(255,255,255,0.08),
    0 8px 25px rgba(0,0,0,0.8);
}

/* SECTION */
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

/* MAP */
#map iframe {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

/* ARCHIVE */
.card {
  background: #1c1c1c;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #c2a878;
}

.card a {
  color: #c2a878;
  text-decoration: none;
}

/* FOOTER */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

img {
  max-width:none;
  width: 800px;
  height: auto;
}

.sketch-placeholder img {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: inline-block;
  margin: 10px;
}

.sketch-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.sketch-placeholder img {
  width: 250px;
  height: auto;
}

/* Order matters: Link, Visited, Hover, Active */
a:link { color: rgb(246, 245, 245); }     /* Unvisited */
a:visited { color: rgb(247, 244, 244); }  /* Visited */
a:hover { color: rgb(247, 242, 242); }     /* Mouse over */
a:active { color: rgb(244, 242, 242); }     /* Clicked */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}