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

:root {
  --font-caslon: 'Libre Caslon Text', 'Adobe Caslon Pro', 'Caslon', Georgia, serif;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100; /* navbar stays on top */
  background: #faf7f2; /* background color */
  border: 3px solid rgba(0,0,0,0.2); /* border color */
  border-bottom: 1px solid #808080; /* border bottomcolor */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); /* subtle shadow */
  border-radius: 10px 10px 10px 10px; /* rounded corners */
  background: #FFFF; /* gradient background */
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 50px 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center; /* center the logo */
  gap: 10px; /* space between logo and text */
  font-family: var(--font-caslon);
  font-size: 20px; /* font size */
  font-weight: 400; /* font weight */
  font-style: italic;
  color: #000; /* text color */
  filter: brightness(0.2); /* brightness */
  letter-spacing: 0.01em; /* letter spacing */
  white-space: nowrap; /* no wrap */
}

.nav-logo-img {
  height: 36px;
  width: auto; /* auto width */
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.9);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover { color: #000; }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('bgimg.jpg') center/cover no-repeat;
  filter: brightness(0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-caslon);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  max-width: 800px;
}

.hero-title em {
  font-family: var(--font-caslon);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

.hero-sub {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.hero-cta {
  margin-top: 44px;
  display: inline-block;
  padding: 14px 38px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.25s, border-color 0.25s;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* SERVICES */
.services {
  background: #1a1a1a;
  padding: 100px 60px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 56px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 28px;
}

.service-card h3 {
  font-family: var(--font-caslon);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 14px;
  color: #fff;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

/* ABOUT */
.about {
  background: #222;
  padding: 100px 60px;
  text-align: center;
}

.about h2 {
  font-family: var(--font-caslon);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 20px;
}

.about-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

/* CONTACT */
.contact {
  background: #1a1a1a;
  padding: 100px 60px;
  text-align: center;
}

.contact h2 {
  font-family: var(--font-caslon);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}

.contact-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.45);
  margin: 0 auto 40px;
}

.contact p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.contact p i { margin-right: 8px; opacity: 0.5; }

/* FOOTER */
footer {
  background: #000;
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}

footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(30,30,30,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px 32px;
  max-width: 360px;
  z-index: 200;
  backdrop-filter: blur(8px);
}

.cookie-banner h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #fff;
}

.cookie-banner p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.cookie-banner button {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 640px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .services, .about, .contact { padding: 70px 24px; }
  footer { flex-direction: column; gap: 10px; text-align: center; padding: 24px; }
  .cookie-banner { right: 16px; left: 16px; bottom: 16px; }
}
/* STATS */
.stats {
  background: #111;
  padding: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-caslon);
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 160px;
  margin: 0 auto;
}

/* SCANNER */
.scanner {
  background: #0f0f0f;
  padding: 100px 60px;
  text-align: center;
}

.scanner-title {
  font-family: var(--font-caslon);
  font-size: clamp(25px, 5vw, 50px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
}

.scanner-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  font-family: 'Inter', sans-serif; 
  font-style: italic;
}
.scanner-panel {
  max-width: 700px;
  margin: 0 auto;
  background:  rgba(255,255,255,0.9);
  padding: 60px 50px;
  border-radius: 12px;
}

.scanner-box {
  max-width: 620px;
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 0;
}

  .scanner-box {
    max-width: 600px;
}

.scanner-icon {
  font-size: 36px;
  color: #000;
  margin-bottom: 24px;
  display: block;
}

.scanner-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.scanner-input {
  flex: 1;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.2);
  color: #000;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
}

.scanner-input:focus {
  border-color: rgba(255,255,255,0.4);
}

.scanner-btn {
  padding: 14px 28px;
  background: #000;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: 0.2s;
  white-space: nowrap;
}

.scanner-btn:hover { background: #e0e0e0; }

.scanner-note {
  font-size: 12px;
  color: black;
  }

.scan-result {
  background: transparent; ;  /* match the scanner-panel color */
  margin-top: 15px;}

.scan-result-inner {
  max-width: 420px;
  margin: 0 auto;
  background: #1a1a1a;
  border: 2px solid #2ecc71; 
  padding: 20px;
  text-align: center;
  border-radius: 12px;
}

.scan-result-inner h3 {
  font-family: var(--font-caslon);
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

.scan-result-inner p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* SERVICE ICONS */
.service-icon {
  font-size: 28px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 640px) {
  .stats { padding: 60px 24px; }
  .scanner { padding: 70px 24px; }
  .scanner-input-row { flex-direction: column; }
  .scanner-box { padding: 24px; }
}
