/* ============================================================
   CO2 Company — Shared Styles
   Font: Outfit (headings) + Source Serif 4 (body)
   Palette: Deep Navy #0D1B2A | Sky Blue #1E90FF | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --navy: #0D1B2A;
  --navy-mid: #1a2d42;
  --blue: #1E90FF;
  --blue-light: #5ab3ff;
  --blue-dark: #0a6ecc;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --gray-light: #e8edf4;
  --gray: #6b7a8d;
  --text: #1a2535;
  --accent: #00c8a0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13,27,42,0.10);
  --shadow-lg: 0 12px 48px rgba(13,27,42,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---- NAVIGATION ---- */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
#site-nav.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 32px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900; font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta-btn {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.1s !important;
  min-height: 44px;
  display: inline-flex; align-items: center;
}
.nav-cta-btn:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: 0.3s; }

/* Mobile overlay nav */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--navy);
  z-index: 2000;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a { color: var(--white); font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 600; }
.mobile-nav-close { position: absolute; top: 24px; right: 32px; font-size: 2rem; color: white; background: none; border: none; cursor: pointer; }

/* Sticky Shop Now */
.sticky-shop-btn {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--blue); color: white;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(30,144,255,0.45);
  z-index: 999; transition: transform 0.2s, box-shadow 0.2s;
  min-height: 52px; display: flex; align-items: center;
}
.sticky-shop-btn:hover { color: white; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,144,255,0.55); }

/* ---- HERO ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/hero.jpg');
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.85) 40%, rgba(13,27,42,0.2) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 120px 32px 80px;
  width: 100%;
}
.hero-text { color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,144,255,0.2); border: 1px solid rgba(30,144,255,0.4);
  border-radius: 50px; padding: 6px 16px;
  font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--blue-light); margin-bottom: 24px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 24px; color: white;
}
.hero-tagline em { color: var(--blue); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: white;
  padding: 14px 32px; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem;
  min-height: 52px; display: inline-flex; align-items: center;
  transition: background 0.2s, transform 0.1s;
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: white; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: white;
  padding: 14px 32px; border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  min-height: 52px; display: inline-flex; align-items: center;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }
.hero-image-side { position: relative; }
.hero-image-side img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px; overflow: hidden; margin-top: 32px;
}
.hero-stat { background: rgba(255,255,255,0.06); padding: 20px; text-align: center; }
.hero-stat-num { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--blue-light); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-family: 'Outfit', sans-serif; }

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-intro { color: var(--gray); max-width: 640px; margin-bottom: 48px; }

/* ---- COUNTRY CARDS ---- */
#shop-by-country { background: var(--off-white); }
.country-search-wrap { position: relative; max-width: 480px; margin-bottom: 40px; }
.country-search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray); }
#country-search {
  width: 100%; padding: 14px 16px 14px 48px;
  border: 2px solid var(--gray-light); border-radius: 10px;
  font-size: 1rem; font-family: 'Source Serif 4', serif;
  transition: border-color 0.2s;
  background: white;
}
#country-search:focus { outline: none; border-color: var(--blue); }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.country-card {
  background: white; border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  border: 2px solid var(--gray-light);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer; display: block;
  min-height: 52px;
}
.country-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; }
.country-flag { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.country-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); }
.country-domain { font-size: 0.8rem; color: var(--gray); margin-top: 4px; font-family: 'Outfit', sans-serif; }
.country-card.hidden { display: none; }

/* ---- BENEFITS ---- */
#benefits { background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.benefit-card { background: var(--off-white); border-radius: var(--radius); padding: 32px 28px; }
.benefit-icon { width: 48px; height: 48px; background: var(--blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.benefit-icon svg { color: white; }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.benefit-card p { color: var(--gray); font-size: 0.95rem; }

/* ---- REVIEWS ---- */
#reviews { background: var(--navy); color: white; }
#reviews .section-title { color: white; }
#reviews .section-intro { color: rgba(255,255,255,0.65); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px; }
.review-stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 700; color: white; font-size: 1rem; flex-shrink: 0; }
.review-name { font-family: 'Outfit', sans-serif; font-weight: 600; color: white; font-size: 0.95rem; }
.review-location { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ---- PRODUCT SPECS ---- */
#product-specs { background: var(--off-white); }
.specs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.specs-image img { border-radius: 16px; box-shadow: var(--shadow); }
.spec-list { list-style: none; }
.spec-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-light); }
.spec-item:last-child { border-bottom: none; }
.spec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 8px; }
.spec-text strong { display: block; font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--navy); }
.spec-text span { color: var(--gray); font-size: 0.9rem; }

/* ---- FIFI SECTION ---- */
#fifi { background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 100%); }
.fifi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fifi-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fifi-photos img { border-radius: 16px; box-shadow: var(--shadow); }
.fifi-photos img:first-child { grid-column: 1 / -1; }
.fifi-badge { background: var(--blue); color: white; padding: 6px 16px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.8rem; display: inline-block; margin-bottom: 16px; }
.fifi-text h2 { margin-bottom: 20px; }
.fifi-text p { color: var(--gray); margin-bottom: 16px; }
.fifi-stamp { width: 100px; margin-top: 24px; }

/* ---- FAQ ---- */
#faq { background: var(--white); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy);
  min-height: 52px;
}
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; color: var(--blue); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 24px; color: var(--gray); }
.faq-item.open .faq-answer { max-height: 500px; }

/* ---- BUYING GUIDE ---- */
#buying-guide { background: var(--off-white); }
.guide-content h2 { margin-bottom: 24px; }
.guide-content h3 { margin-top: 32px; margin-bottom: 12px; color: var(--navy); }
.guide-content h4 { margin-top: 24px; margin-bottom: 8px; color: var(--navy-mid); }
.guide-content p { color: var(--gray); margin-bottom: 16px; }

/* ---- COMPANY DETAILS ---- */
#company { background: var(--navy); color: white; }
#company .section-title { color: white; }
.company-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.company-detail { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 28px; }
.company-detail-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.company-detail h4 { color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; font-family: 'Outfit', sans-serif; }
.company-detail p { color: white; font-size: 0.95rem; }
.company-detail a { color: var(--blue-light); }

/* ---- CONTACT ---- */
#contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 12px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
.contact-item svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-trust { background: white; border-radius: var(--radius); padding: 28px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.trust-item svg { color: var(--accent); }

/* ---- FINAL CTA ---- */
#final-cta { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); color: white; text-align: center; }
#final-cta h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
#final-cta p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--blue-dark); padding: 14px 32px; border-radius: 10px; font-family: 'Outfit', sans-serif; font-weight: 700; min-height: 52px; display: inline-flex; align-items: center; transition: transform 0.1s, box-shadow 0.2s; }
.btn-white:hover { color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ---- FOOTER ---- */
#site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand h4 { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.2rem; color: white; margin-bottom: 16px; }
.footer-brand h4 span { color: var(--blue); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h5 { font-family: 'Outfit', sans-serif; font-weight: 700; color: white; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }

/* ---- BLOG ARCHIVE ---- */
.blog-header { background: var(--navy); color: white; padding: 120px 0 60px; }
.blog-header h2 { color: white; }
.blog-search-bar { max-width: 480px; margin: 24px 0 0; position: relative; }
.blog-search-bar input { width: 100%; padding: 14px 16px 14px 48px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: white; font-size: 1rem; }
.blog-search-bar input::placeholder { color: rgba(255,255,255,0.5); }
.blog-search-bar svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.5); }
.blog-grid-section { padding: 60px 0; }
.blog-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-post-card { border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; background: white; transition: box-shadow 0.2s, transform 0.2s; }
.blog-post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-post-card-body { padding: 24px; }
.blog-post-card-date { font-size: 0.8rem; color: var(--gray); font-family: 'Outfit', sans-serif; margin-bottom: 10px; }
.blog-post-card-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.4; margin-bottom: 12px; }
.blog-post-card-excerpt { color: var(--gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-card-link { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--blue); }
.blog-post-card.hidden { display: none; }

/* ---- SINGLE POST ---- */
.post-header { background: var(--navy); color: white; padding: 120px 0 60px; }
.post-header h2 { color: white; max-width: 800px; }
.post-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 12px; font-family: 'Outfit', sans-serif; }
.post-body { padding: 60px 0; }
.post-content { max-width: 820px; margin: 0 auto; }
.post-content h2 { margin-top: 36px; margin-bottom: 16px; }
.post-content h3 { margin-top: 28px; margin-bottom: 12px; }
.post-content p { margin-bottom: 20px; color: var(--gray); }
.post-content ul, .post-content ol { margin: 16px 0 20px 24px; color: var(--gray); }
.post-content li { margin-bottom: 8px; }
.post-back { padding: 24px 0; border-top: 1px solid var(--gray-light); margin-top: 48px; }

/* ---- LEGAL PAGES ---- */
.legal-header { background: var(--navy); color: white; padding: 120px 0 60px; }
.legal-header h2 { color: white; }
.legal-body { padding: 60px 0; }
.legal-content h2 { margin-top: 36px; margin-bottom: 16px; }
.legal-content h3 { margin-top: 28px; margin-bottom: 12px; }
.legal-content p { margin-bottom: 16px; color: var(--gray); }
.legal-content ul { margin: 12px 0 16px 24px; color: var(--gray); }
.legal-content li { margin-bottom: 8px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .benefits-grid, .reviews-grid, .company-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-posts-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-side { display: none; }
  .hero-tagline { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .specs-layout, .fifi-layout, .contact-grid { grid-template-columns: 1fr; }
  .benefits-grid, .reviews-grid, .company-grid { grid-template-columns: 1fr; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .country-grid { grid-template-columns: repeat(2,1fr); }
  .fifi-photos { grid-template-columns: 1fr; }
  .fifi-photos img:first-child { grid-column: 1; }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .country-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
