/* ============================================================
   Noltura LLC — Main Stylesheet
   Codeberg Pages Legacy v2 Compatible Static Site
   ============================================================ */

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

:root {
  --color-navy:    #0D1B2A;
  --color-blue:    #2563EB;
  --color-blue-lt: #3B82F6;
  --color-silver:  #94A3B8;
  --color-light:   #F1F5F9;
  --color-white:   #FFFFFF;
  --color-text:    #1E293B;
  --color-muted:   #64748B;
  --color-border:  #E2E8F0;
  --font-sans:     'Inter', 'Segoe UI', Arial, sans-serif;
  --radius:        8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --transition:    0.25s ease;
  --max-width:     1200px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-blue-lt);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); }

p {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.btn-primary:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 42px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.80);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue-lt);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.88) 0%,
    rgba(13, 27, 42, 0.60) 60%,
    rgba(37, 99, 235, 0.25) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content .section-label {
  color: var(--color-blue-lt);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1875rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  gap: 1.5rem;
}

.badge-item {
  text-align: center;
  color: var(--color-white);
}

.badge-item .badge-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue-lt);
}

.badge-item .badge-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: 6rem 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 1.5rem;
}

.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
#products {
  padding: 6rem 0;
  background: var(--color-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f8fafc;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: #EFF6FF;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
}

.product-card-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.product-card-body p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why {
  padding: 6rem 0;
  background: var(--color-navy);
}

#why .section-header h2 {
  color: var(--color-white);
}

#why .section-header p {
  color: rgba(255,255,255,0.65);
}

#why .section-label {
  color: var(--color-blue-lt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}

.why-card:hover {
  background: rgba(37,99,235,0.15);
  border-color: rgba(59,130,246,0.40);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(37,99,235,0.20);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-blue-lt);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  color: var(--color-white);
  margin-bottom: 0.6rem;
  font-size: 1.125rem;
}

.why-card p {
  color: rgba(255,255,255,0.60);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ============================================================
   CONTACT / ADDRESS
   ============================================================ */
#contact {
  padding: 5rem 0;
  background: var(--color-white);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-inner > p {
  margin-bottom: 2rem;
}

.address-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.address-card .address-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.address-card address {
  font-style: normal;
  color: var(--color-navy);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.7;
}

.contact-email {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--color-muted);
}

.contact-email a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  opacity: 0.85;
}

.footer-copy {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
}

.footer-address {
  color: rgba(255,255,255,0.35);
  font-size: 0.8125rem;
  font-style: normal;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-img-wrap {
    order: -1;
  }

  .hero-badge {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.98);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  #hero {
    min-height: 90vh;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}
