/* ============================================================
   Ireland Rent A Bike · Complete Stylesheet V3
   Designed by Crystal Yifei Liu
   Cinematic · Minimal · Emotional · Gallery Footer
   ============================================================ */

/* --- Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --ink: #1a1a1a;
  --paper: #FBFBF8;
  --accent: #D4782B;
  --accent-deep: #B8621E;
  --green-dark: #1E4A2C;
  --green-mid: #2D6A3F;
  --text-mid: #555;
  --border-soft: #E5E0D8;
  --white: #FFFFFF;
  --card-shadow: 0 4px 12px rgba(0,0,0,0.05);
  --card-shadow-hover: 0 12px 28px rgba(0,0,0,0.10);
  --radius: 12px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); }
h1 { font-family: var(--serif); font-size: 2.4rem; }
h2 { font-family: var(--serif); font-size: 1.9rem; margin: 2rem 0 1rem; }
h3 { font-family: var(--serif); font-size: 1.4rem; margin: 1.5rem 0 0.75rem; }
p { margin-bottom: 1.2rem; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   NAVBAR · TRANSPARENT & SCROLLED
   ============================================================ */
.navbar {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease;
  padding: 0;
}
.navbar.scrolled {
  background: rgba(251,251,248,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 40px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  transition: color 0.4s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.navbar.scrolled .nav-logo {
  color: var(--ink);
  text-shadow: none;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  transition: color 0.4s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.navbar.scrolled .nav-links a {
  color: var(--ink);
  text-shadow: none;
}
.nav-links a:hover { color: var(--accent); }

/* ============================================================
   HERO · FULL SCREEN STATEMENT
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.45)),
              url('https://images.unsplash.com/photo-1541625602330-2277a4c46182?w=1800&q=90') center 35%/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}
.hero-content { max-width: 680px; padding: 0 24px; }
.hero-content .eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.hero-content h1 {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}
.hero-content p {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.btn-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff !important;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 16px 40px;
  border-radius: 0;
  transition: all 0.35s ease;
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.btn-cta:hover {
  background: #fff;
  color: var(--ink) !important;
  border-color: #fff;
}
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   CINEMATIC ROUTE STRIPS
   ============================================================ */
.route-strip { padding: 0; max-width: 100%; }
.route-strip-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  align-items: center;
}
.route-strip-item:nth-child(even) .route-strip-img { order: 2; }
.route-strip-item:nth-child(even) .route-strip-text { order: 1; }
.route-strip-img {
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}
.route-strip-text {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.route-strip-text .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}
.route-strip-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.15;
}
.route-strip-text p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}
.route-strip-text .text-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  display: inline-block;
  align-self: flex-start;
  transition: all 0.3s;
}
.route-strip-text .text-link:hover { color: var(--accent); border-color: var(--ink); }

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block { padding: 120px 24px; text-align: center; max-width: 700px; margin: 0 auto; }
.quote-block .quote-mark {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -20px;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 24px;
}
.quote-block .attribution {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
}

/* ============================================================
   EDITOR'S PICKS · HORIZONTAL GALLERY
   ============================================================ */
.editors-picks { padding: 100px 0 60px; max-width: 100%; overflow: hidden; }
.picks-header { text-align: center; margin-bottom: 60px; padding: 0 40px; }
.section-title { font-family: var(--serif); font-size: 2.4rem; margin-bottom: 12px; }
.section-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
}
.picks-gallery {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 40px 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.picks-gallery::-webkit-scrollbar { display: none; }
.pick-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 0.35s ease;
}
.pick-card:hover { transform: translateY(-8px); }
.pick-img-wrapper {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.35s ease;
}
.pick-card:hover .pick-img-wrapper { box-shadow: 0 16px 36px rgba(0,0,0,0.12); }
.pick-img-wrapper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pick-card:hover .pick-img-wrapper img { transform: scale(1.05); }
.pick-card .pick-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
}
.pick-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.pick-card p { font-size: 0.9rem; color: #888; line-height: 1.6; }
.gallery-scroll-hint {
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ccc;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   FINAL CTA BLOCK
   ============================================================ */
.final-cta {
  background: #F4F2EC;
  padding: 80px 24px;
  text-align: center;
  margin-top: 40px;
}
.final-cta-content { max-width: 600px; margin: 0 auto; }
.final-cta h2 {
  font-family: var(--serif);
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.final-cta p { color: #666; margin-bottom: 32px; line-height: 1.7; }
.subscribe-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
}
.subscribe-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #ddd;
  font-family: var(--sans);
  font-size: 0.9rem;
  background: #fff;
  outline: none;
  transition: border-color 0.3s;
}
.subscribe-form input[type="email"]:focus { border-color: var(--accent); }
.subscribe-form .btn-cta {
  background: var(--accent);
  border: none;
  color: #fff !important;
  padding: 14px 28px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}
.subscribe-form .btn-cta:hover { background: var(--accent-deep); }

/* ============================================================
   FOOTER · MINIMAL UPGRADED
   ============================================================ */
.footer-minimal {
  background: #1A1D20;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 0 24px 40px;
  position: relative;
}
.footer-top-rule {
  height: 3px;
  background: var(--accent);
  width: 60px;
  margin: 0 auto 40px;
}
.footer-minimal .footer-logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 24px;
}
.footer-minimal .footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
  margin-bottom: 32px;
}
.footer-minimal .footer-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-minimal .footer-links a:hover { color: var(--accent); }
.footer-minimal .copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 3rem; }
  .route-strip-item { grid-template-columns: 1fr; }
  .route-strip-item:nth-child(even) .route-strip-img { order: 0; }
  .route-strip-text { padding: 40px 30px; }
  .route-strip-text h2 { font-size: 2.2rem; }
  .quote-block blockquote { font-size: 1.6rem; }
  .picks-gallery { padding: 20px 20px 40px; }
  .pick-card { flex: 0 0 300px; }
  .navbar .container { padding: 0 20px; }
  .subscribe-form { flex-direction: column; }
}
@media (max-width: 600px) {
  .hero-content h1 { font-size: 2.4rem; }
}