/* =============================================
   FUNDACJA LADY LIBERTY — Global Styles
   ============================================= */

:root {
  --navy: #1a2744;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-gray: #f0eeea;
  --mid-gray: #888888;
  --dark-gray: #333333;
  --text: #2c2c2c;
  --border: #ddd8d0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 2rem;
}

.divider-left {
  margin-left: 0;
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */

.header {
  position: static;
  width: 100%;
  background: var(--navy);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-top {
  background: #111d38;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: #aab0c0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-top .container {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.header-top a {
  color: #aab0c0;
  transition: color 0.2s;
}

.header-top a:hover {
  color: var(--gold);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  max-width: 260px;
}

.nav-brand .brand-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

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

.nav-links a {
  color: #ccd2e0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 4px !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* =============================================
   HERO SECTIONS
   ============================================= */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26,39,68,0.88) 55%, rgba(26,39,68,0.45) 100%);
  z-index: 1;
}

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

.hero-content .section-label {
  font-size: 0.8rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

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

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

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

.btn-navy:hover {
  background: #243260;
}

/* =============================================
   CARDS
   ============================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gold);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

/* =============================================
   STATS BAR
   ============================================= */

.stats-bar {
  background: var(--navy);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  display: block;
}

/* =============================================
   QUOTE / HIGHLIGHT BLOCK
   ============================================= */

.quote-block {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}

.quote-block blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--white);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.quote-block cite {
  color: var(--gold);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============================================
   TWO-COLUMN IMAGE + TEXT
   ============================================= */

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

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.split-text h2 {
  margin-bottom: 1rem;
}

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

/* =============================================
   TIMELINE
   ============================================= */

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.9rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.timeline-item h4 {
  margin-bottom: 0.4rem;
}

/* =============================================
   VALUES GRID
   ============================================= */

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

.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-bottom: 3px solid var(--gold);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  background: var(--navy);
  border-radius: 8px;
  padding: 2.5rem;
  color: var(--white);
}

.contact-info-block h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-detail-text strong {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-detail-text span,
.contact-detail-text a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: var(--gold);
}

.legal-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.legal-info h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.legal-info p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.9;
}

/* =============================================
   CONTACT FORM
   ============================================= */

.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrap p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  color: #2e7d32;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* =============================================
   MAP SECTION
   ============================================= */

.map-section {
  height: 380px;
  background: var(--light-gray);
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}

/* =============================================
   ACTIVITIES PAGE
   ============================================= */

.activity-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-num {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.activity-text h3 {
  margin-bottom: 0.5rem;
}

/* =============================================
   PURPOSE PAGE
   ============================================= */

.purpose-hero {
  background-image: url('images/lady-justice.jpg');
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.mission-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.mission-card .big-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  color: rgba(201,168,76,0.15);
  font-weight: 700;
  line-height: 1;
  margin-bottom: -0.5rem;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: #111d38;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-sub {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-col p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.8;
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
  background: var(--navy);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/hero-lawyer.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 580px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255,255,255,0.35);
}

/* =============================================
   MOBILE MENU
   ============================================= */

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 999;
  }

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

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .header {
    position: relative;
  }

  .navbar {
    position: relative;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { min-height: 440px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .activity-item { grid-template-columns: 1fr; }
  .activity-num { margin: 0 auto; }
}
