/* ============================================================
   DiscoverIreland.org — Shared Stylesheet v1.0
   Template: TravelGuideLabs Destination Site
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  --green-deep:   #1B3A2D;
  --green-mid:    #2D6A4F;
  --green-light:  #52B788;
  --gold:         #B5894B;
  --cream:        #FDFBF7;
  --cream-dark:   #F4F0E8;
  --text:         #1A1A1A;
  --text-muted:   #5C5C5C;
  --border:       #E2DDD5;
  --white:        #FFFFFF;

  /* Affiliate brand colors */
  --gyg:          #FF5533;
  --viator:       #329B9B;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Layout */
  --container:    1200px;
  --nav-height:   68px;
  --radius:       8px;
  --radius-lg:    16px;
  --shadow:       0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a  { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--green-deep);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@400;500;600;700&display=swap');

/* --- CONTAINER --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.nav__logo span { color: var(--gold); }
.nav__logo:hover { color: #fff; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav__links > li { position: relative; }
.nav__links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  display: block;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* Dropdown */
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 180px;
  overflow: hidden;
  list-style: none;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown--open .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  color: var(--text);
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  border-radius: 0;
}
.nav__dropdown-menu a:hover { background: var(--cream); color: var(--green-mid); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--short { min-height: 50vh; }

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero:hover .hero__bg { transform: scale(1.0); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 4rem 1.5rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  animation: fadeUp 0.8s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero__cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- STATS BAR --- */
.stats-bar {
  background: var(--green-mid);
  padding: 1.25rem 0;
}
.stats-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stats-bar__item { color: #fff; }
.stats-bar__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.stats-bar__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* --- SECTION SHELLS --- */
.section { padding: 5rem 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-deep); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.section__header p { color: var(--text-muted); }

/* --- BREADCRUMB --- */
.breadcrumb {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  font-size: 0.8rem;
}
.breadcrumb__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--green-mid); }
.breadcrumb__sep { opacity: 0.4; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: filter 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--gyg     { background: var(--gyg);     color: #fff; }
.btn--viator  { background: var(--viator);  color: #fff; }
.btn--primary { background: var(--green-mid); color: #fff; }
.btn--outline { background: transparent; color: var(--green-mid); border: 2px solid var(--green-mid); }
.btn--outline:hover { background: var(--green-mid); color: #fff; filter: none; }
.btn--white   { background: #fff; color: var(--green-deep); }
.btn--white:hover { background: var(--cream); filter: none; }
.btn--green   { background: var(--green-mid); color: #fff; }
.btn--full    { width: 100%; justify-content: center; }
.btn--large   { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* --- CARDS --- */
.cards-grid {
  display: grid;
  gap: 2rem;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* City Card */
.city-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.city-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.city-card__img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.city-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.city-card:hover .city-card__img-wrap img { transform: scale(1.05); }
.city-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.city-card__body h3 { font-size: 1.3rem; color: var(--green-deep); }
.city-card__body p  { font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.city-card__link { font-size: 0.85rem; font-weight: 700; color: var(--green-mid); margin-top: 0.5rem; }

/* Tour Card */
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.tour-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.tour-card__img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tour-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tour-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: #fff;
}
.tour-card__badge--gyg    { background: var(--gyg); }
.tour-card__badge--viator { background: var(--viator); }
.tour-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.tour-card__body h3 { font-size: 1.15rem; }
.tour-card__body p  { font-size: 0.875rem; color: var(--text-muted); flex: 1; }
.tour-card__meta {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tour-card__meta li { margin-bottom: 0.2rem; }


/* Attraction Item */
.attraction-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.attraction-item:last-child { border-bottom: none; }
.attraction-item__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.attraction-item__img img { width: 100%; height: 100%; object-fit: cover; }
.attraction-item__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.attraction-item__body h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.attraction-item__body p  { color: var(--text-muted); margin-bottom: 1rem; }
.attraction-item__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Tip Card */
.tip-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 4px solid var(--gold);
}
.tip-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.tip-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.tip-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* --- AFFILIATE NOTICE --- */
.affiliate-notice {
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.affiliate-notice strong { color: var(--text); }

/* --- SIDEBAR LAYOUT (two-column) --- */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}
.page-layout__main { min-width: 0; }
.page-layout__sidebar { position: sticky; top: calc(var(--nav-height) + 1.5rem); }

.sidebar-widget {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget--cta { background: var(--green-deep); }
.sidebar-widget--cta .sidebar-widget__title { color: #fff; }
.sidebar-widget--cta p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin-bottom: 0.75rem; }
.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget__list { list-style: none; }
.sidebar-widget__list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.sidebar-widget__list li:last-child { border-bottom: none; }
.sidebar-widget__list strong { color: var(--text); }
.sidebar-widget__list a { color: var(--green-mid); }
.sidebar-widget__list a:hover { color: var(--green-deep); }

/* --- INTRO STRIP --- */
.intro-strip {
  background: var(--cream);
  padding: 4rem 0;
}
.intro-strip__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}
.intro-strip__inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.intro-strip__inner p  { color: var(--text-muted); font-size: 1.05rem; }

/* --- FOOTER --- */
.footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.8);
  padding-top: 4rem;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--gold); }
.footer__col p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.footer__contact { font-size: 0.875rem; color: var(--gold); }
.footer__contact:hover { color: #fff; }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer__col ul a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  max-width: var(--container);
  margin: 0 auto;
}
.footer__disclosure { margin-top: 0.4rem; }

/* --- TOURS PAGE --- */
.tour-category {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.tour-category:last-of-type { border-bottom: none; }
.tour-category__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.tour-category__desc { color: var(--text-muted); margin-bottom: 2rem; max-width: 700px; }
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

/* --- ACCOMMODATION PAGE --- */
.accom-category {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.accom-category:last-of-type { border-bottom: none; }
.accom-category__header { margin-bottom: 2rem; }
.accom-category__header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.accom-category__header p { color: var(--text-muted); max-width: 700px; }

.tip-block {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 3rem;
}
.tip-block h3 { margin-bottom: 0.5rem; color: var(--green-deep); }

.cards-grid--5 { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.city-pill {
  display: inline-flex;
  align-items: center;
  background: var(--green-mid);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.city-pill:hover { background: var(--green-deep); }

/* --- TRAVEL TIPS PAGE --- */
.tips-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}
.tips-section:last-of-type { border-bottom: none; }
.tips-section__title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 1.5rem;
}
.tips-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-mid);
  margin: 1.5rem 0 0.5rem;
}
.tips-section p { margin-bottom: 1rem; }

.phrases-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}
.phrases-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.phrases-table__row--header { background: var(--green-deep); color: #fff; font-weight: 700; }
.phrases-table__row:not(.phrases-table__row--header):nth-child(even) { background: var(--cream); }

/* --- SHARED UTILITY --- */
.section__header--left { text-align: left; }
.cta-block {
  background: var(--green-deep);
  color: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 4rem 0;
}
.cta-block h2 { font-family: var(--font-display); font-size: 2rem; color: #fff; margin-bottom: 0.75rem; }
.cta-block p  { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-block__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.related-cards { margin-top: 1rem; }
.related-cards__title { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-deep); margin-bottom: 1.5rem; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .page-layout__sidebar { position: static; }
  .attraction-item { grid-template-columns: 260px 1fr; }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--green-deep);
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links--open { display: flex; }
  .nav__hamburger { display: flex; }
  .nav__dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,0.1); }
  .nav__dropdown-menu a { color: rgba(255,255,255,0.8); }
  .cards-grid--2, .cards-grid--3 { grid-template-columns: 1fr; }
  .attraction-item { grid-template-columns: 1fr; }
  .attraction-item__img { min-height: 200px; }
  .tours-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { font-size: 2.4rem; }
  .phrases-table__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cards-grid--4 { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .cta-block { padding: 2rem 1.5rem; }
}

.footer__disclaimer {
  margin-top: 0.4rem;
  font-style: italic;
}
