/* ============================================================
   homepage.css  |  HomePage styles
   ============================================================ */

/* ---- SPEED STRIPES ---- */
.s1 {
  position: absolute;
  top: 0; bottom: 0; right: 22%;
  width: 4px;
  background: var(--blue);
  transform: skewX(-9deg);
  opacity: .65;
  z-index: 2;
}
.s2 {
  position: absolute;
  top: 0; bottom: 0; right: 23%;
  width: 2px;
  background: var(--blue);
  transform: skewX(-9deg);
  opacity: .2;
  z-index: 2;
}
.ire {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  display: flex;
  z-index: 3;
}

/* ---- IRELAND OUTLINE ---- */
.ireland-outline {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  opacity: .08;
  z-index: 1;
  pointer-events: none;
}
.ireland-outline img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- HERO SHAMROCK ---- */
.hero-sham { width: 300px; height: 300px; fill: var(--green); }

/* ---- HERO PHOTO ---- */
.hero-photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top;
}

/* ---- HERO CONTENT ---- */
.hero-cnt {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  width: 35%;
  margin-left: -150px;
}
.hero-cnt h1 {
  font-size: 100px;
  line-height: 0.9;
  margin-left: -100px;
}
.hero-eye {
  margin-left: -100px;
  font-size: 40px;
}
.ctas {
  position: absolute;
  bottom: 80px;
  right: 50px;
  z-index: 10;
}

/* ---- SLIDESHOW ---- */
.slideshow-sec {
  background: var(--black);
  padding: 60px 0;
}
.slideshow-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}
.slides-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
}
.slides-wrapper.grabbing { cursor: grabbing; }

.slide {
  min-width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 0;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bdr);
  cursor: pointer;
  transition: all .3s;
}
.dot.active {
  background: var(--blue);
  width: 30px;
  border-radius: 5px;
}
.dot:hover { background: var(--grey); }

/* ---- ABOUT SECTION ---- */
.iw {
  display: flex;
  align-items: center;
  justify-content: center;
}
.iw img {
  height: 600px;
  width: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}

.ag {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.ag > div:last-child {
  flex: 1;
  min-width: 300px;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.about-text { flex: 1; }

.about-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.about-paragraph {
  color: rgba(255,255,255,.62);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-tagline {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.about-cta {
  color: #fff;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ---- IRISH FLAG / BADGE ---- */
.flag-container { margin-top: 1rem; }
.flag-item { display: flex; gap: 0; }
.flag-stripe { flex: 1; height: 10px; display: block; }

.irish-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  width: fit-content;
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}
.irish-badge:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  transform: translateX(4px);
}
.irish-flag {
  display: flex;
  gap: 2px;
  height: 24px;
  border-radius: 3px;
  overflow: hidden;
}
.irish-flag span {
  flex: 1;
  width: 32px;
  height: 100%;
  display: block;
}
.irish-text {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---- ABOUT IMAGE ---- */
.about-image-wrapper {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -100px;
  margin-left: auto;
  padding-right: 0;
  transform: translateX(40px);
}
.about-image-wrapper img {
  height: 700px;
  width: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}


/* ============================================================
   RESPONSIVE  —  768px breakpoint
   ============================================================ */
@media (max-width: 768px) {

  /* Hero: undo hard-coded offsets */
  .hero-cnt {
    width: 100%;
    margin-left: 0;
    padding: 0 24px 80px;
    justify-content: flex-end;
  }
  .hero-cnt h1 {
    font-size: clamp(52px, 14vw, 80px);
    margin-left: 0;
    line-height: 0.95;
  }
  .hero-eye {
    margin-left: 0;
    font-size: 24px;
  }

  /* Hide decorative overlays that break on small screens */
  .hero-photo { display: none; }
  .s1, .s2   { display: none; }
  .g353      { font-size: 30vw; right: -5%; }

  /* Slideshow */
  .slide { height: 260px; }

  /* About: stack vertically */
  .about-content {
    flex-direction: column;
  }
  .about-image-wrapper {
    transform: none;
    margin-top: 40px;
    margin-left: 0;
    width: 100%;
  }
  .about-image-wrapper img {
    height: auto;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
  }
}
