/* ============================================================
   PROGAL / RANGER — B2B Landing Page
   Design System (shared across EN/DE/PL)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --black: #1a1a1a;
  --white: #fafafa;
  --cream: #f5f0e8;
  --gold: #c5a55a;
  --dark-gray: #333;
  --mid-gray: #666;
  --light-gray: #e8e4dc;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }

h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: #d4b76a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 4px;
  font-weight: 700;
  line-height: 1.1;
}
.nav-logo-text span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ccc;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold); }

.nav-lang {
  display: flex;
  gap: 8px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-lang a {
  font-size: 12px;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-lang a:hover,
.nav-lang a.active { color: var(--gold); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 60px 100px;
  width: 100%;
}

.hero .section-label {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-sub {
  font-size: 18px;
  color: #bbb;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 {
  font-size: 36px;
  color: var(--gold);
}
.hero-stat span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

/* ============================================================
   WHY PROGAL (TRUST)
   ============================================================ */
.why-section {
  background: var(--cream);
  padding: var(--section-padding);
}

.why-grid {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.why-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid-gray);
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.why-card .icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid-gray);
}

/* ============================================================
   PRODUCTS (overview)
   ============================================================ */
.products-section {
  background: var(--white);
  padding: var(--section-padding);
}

.products-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.products-header {
  text-align: center;
  margin-bottom: 60px;
}
.products-header p {
  font-size: 16px;
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-block {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-block:hover img {
  transform: scale(1.03);
}

.product-info {
  padding: 32px;
}
.product-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.product-info p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid-gray);
  margin-bottom: 16px;
}
.product-info .features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-info .features li {
  font-size: 12px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  letter-spacing: 0.5px;
  color: var(--dark-gray);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.process-section {
  background: var(--black);
  color: var(--white);
  padding: var(--section-padding);
}

.process-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}
.process-header p {
  color: #999;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 16px;
}

.step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  color: #999;
  line-height: 1.7;
}

/* ============================================================
   GALLERY / LOOKBOOK TEASER
   ============================================================ */
.gallery-section {
  padding: 0;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.3s;
}
.gallery-grid img:hover {
  opacity: 0.85;
}

.gallery-cta {
  text-align: center;
  padding: 50px 20px;
  background: var(--cream);
}
.gallery-cta p {
  font-size: 15px;
  color: var(--mid-gray);
  margin-bottom: 20px;
}

/* ============================================================
   CTA / CONTACT
   ============================================================ */
.cta-section {
  background: var(--cream);
  padding: var(--section-padding);
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 16px;
}

.cta-inner .sub {
  font-size: 17px;
  color: var(--mid-gray);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}

.contact-block h4 {
  font-size: 14px;
  margin-bottom: 8px;
}
.contact-block p,
.contact-block a {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.7;
}
.contact-block a:hover {
  color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: #888;
  padding: 40px 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  font-size: 12px;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 12px;
  color: #888;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 40px; }
  h2 { font-size: 34px; }
  .hero h1 { font-size: 48px; }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 24px; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-lang { margin-left: 0; padding-left: 0; border-left: none; }
  .nav-inner { padding: 0 20px; }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26,26,26,0.98);
    padding: 20px;
    gap: 16px;
  }

  .hero h1 { font-size: 36px; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-stats { flex-direction: column; gap: 24px; }

  .why-intro { grid-template-columns: 1fr; gap: 30px; }
  .why-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  h2 { font-size: 28px; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}

/* ============================================================
   COOKIE BANNER (full-screen overlay)
   ============================================================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
}
.cookie-overlay.visible { display: block; }

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: var(--white);
  color: var(--black);
  padding: 48px 40px;
  max-width: 560px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: none;
}
.cookie-banner.visible { display: block; }

.cookie-banner h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.cookie-banner p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid-gray);
  margin-bottom: 32px;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cookie-btn {
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-accept {
  background: var(--gold);
  color: var(--black);
}
.cookie-btn-accept:hover {
  background: #d4b76a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197, 165, 90, 0.3);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--dark-gray);
  border: 1px solid #ccc;
}
.cookie-btn-reject:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 768px) {
  .cookie-banner { padding: 32px 24px; }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; }
}
