/* ============================================================
   BirdSpikes.company — Shared Stylesheet
   ============================================================ */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

/* — CSS Variables — */
:root {
  --navy:       #0a1628;
  --navy-mid:   #132040;
  --blue:       #1a4fd6;
  --blue-light: #2e6fff;
  --sky:        #ddeeff;
  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --grey-light: #e8edf5;
  --grey:       #8a95a8;
  --text:       #1a2540;
  --text-light: #4a5568;
  --accent:     #e8521a;
  --accent-light:#ff6b3d;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --max-width: 1200px;
  --radius:    6px;
  --radius-lg: 14px;
  --shadow:    0 4px 20px rgba(10,22,40,0.12);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.22);
  --transition: all 0.25s ease;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }
ul, ol { padding-left: 1.4em; }

/* — Typography — */
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
p  { margin-bottom: 1em; color: var(--text-light); }

/* — Layout helpers — */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--grey { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.75); }

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  min-height: 52px;
  transition: var(--transition);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,79,214,0.35);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,82,26,0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* — Navigation — */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.6rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* — Sticky CTA — */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
}

/* — Hero section — */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, rgba(30,70,140,0.75) 100%);
}
.hero-image-layer {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-birdspikes.png') center/cover no-repeat;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}
.hero-image-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: url('../assets/images/hero-birdspikes.png') center right/cover no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 30%, black 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 1.5rem;
  margin-left: calc((100vw - var(--max-width)) / 2);
  margin-left: max(1.5rem, calc((100vw - var(--max-width)) / 2));
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-right: 0.5rem;
  margin-top: 2rem;
}

/* — Country cards — */
.country-search {
  max-width: 500px;
  margin: 0 auto 3rem;
  position: relative;
}
.country-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.2rem;
  border: 2px solid var(--grey-light);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}
.country-search input:focus { border-color: var(--blue); }
.country-search svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.country-card {
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}
.country-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--blue);
}
.country-flag {
  width: 60px;
  height: 42px;
  margin: 0 auto 1rem;
  border-radius: 4px;
  overflow: hidden;
}
.country-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
}

/* — Benefits grid — */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  background: var(--sky);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.benefit-icon svg { color: var(--blue); }

/* — Reviews — */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}
.review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.review-text { font-style: italic; color: var(--text-light); margin-bottom: 1.25rem; }
.review-author { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.review-location { font-size: 0.8rem; color: var(--grey); }

/* — FAQ accordion — */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--grey-light);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--blue);
}
.faq-item.open .faq-icon { background: var(--blue); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner { padding: 0 0 1.5rem; }
.faq-answer-inner p { margin-bottom: 0; }

/* — Buying guide — */
.buying-guide { max-width: 800px; margin: 0 auto; }
.buying-guide h2 { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--grey-light); }
.buying-guide h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.buying-guide h3 { margin-top: 2rem; color: var(--blue); }
.buying-guide h4 { margin-top: 1.5rem; }

/* — Mascot — */
.mascot-section {
  background: linear-gradient(135deg, #fff9f0, #fff0e8);
  border-top: 4px solid var(--accent);
}
.mascot-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.mascot-text { flex: 1; min-width: 280px; }
.mascot-visual {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  box-shadow: var(--shadow-lg);
}

/* — Company details — */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.company-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.company-detail-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.company-detail strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); }
.company-detail span { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

/* — Trust badges — */
.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.trust-badge svg { color: var(--accent); }

/* — Footer — */
.site-footer {
  background: #060d1a;
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { color: rgba(255,255,255,0.9); }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 1rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* — Blog archive — */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--grey-light);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.8rem; color: var(--grey); margin-bottom: 0.75rem; }
.blog-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card h2 a { color: var(--navy); }
.blog-card h2 a:hover { color: var(--blue); }
.blog-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--blue); }

/* — Blog post page — */
.post-header {
  background: var(--navy);
  padding: 8rem 0 4rem;
  color: var(--white);
}
.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  max-width: 760px;
}
.post-meta { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 1rem; }
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.post-body h2 { margin-top: 2.5rem; }
.post-body h3 { margin-top: 2rem; color: var(--blue); }
.post-body ul, .post-body ol { margin-bottom: 1em; }
.post-body li { margin-bottom: 0.4em; }
.post-nav {
  border-top: 2px solid var(--grey-light);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* — Breadcrumb — */
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }

/* — Blog search bar — */
.blog-search { max-width: 480px; margin-bottom: 2.5rem; position: relative; }
.blog-search input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.blog-search input:focus { border-color: var(--blue); }
.blog-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--grey); }

/* — Legal pages — */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}
.legal-content h2 { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--grey-light); }
.legal-content h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 { margin-top: 1.75rem; color: var(--blue); }
.legal-content ul { margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.4em; color: var(--text-light); }

/* — Responsive — */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-image-right { width: 40%; }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-image-right { display: none; }
  .hero-content { margin-left: 0; padding: 0 1.5rem; }
  .hero { padding-top: 80px; min-height: auto; padding-bottom: 4rem; }
  .hero-actions { flex-direction: column; }
  .mascot-inner { flex-direction: column; align-items: flex-start; }
  .mascot-visual { align-self: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .country-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
