/* Układ sekcji tej podstrony. Typografia i nawigacja: site.css. */

:root {
  --clay: #c67a5c;
  --earth: #8b5a2b;
  --gold: #d4a017;
  --cream: #fcf9f2;
  --charcoal: #2b2b28;
  --soft-brown: #4a3c31;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 18px;
}
* { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  
  background: var(--cream);
  color: var(--soft-brown);
  line-height: 1.7;
}
h1, h2, h3 {
  
  color: var(--charcoal);
  font-weight: 700;
}
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 2.5rem 0 1.2rem; position: relative; padding-bottom: 0.4rem; }
h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--gold); margin-top: 0.5rem; border-radius: 3px; }
h3 { font-size: 1.4rem; margin: 1.5rem 0 0.8rem; color: #5a3e2b; }
a { color: var(--earth); text-decoration: none; border-bottom: 1px dotted var(--earth); transition: 0.2s; }
a:hover { color: var(--clay); border-bottom-color: var(--clay); }
.wrapper { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.btn {
  display: inline-block; padding: 0.6rem 1.5rem; background: var(--clay); color: #fff;
  border-radius: 30px; font-weight: 600; border-bottom: none; transition: background 0.2s, transform 0.2s; text-decoration: none;
}
.btn:hover { background: var(--earth); transform: scale(1.04); }
.btn-light { background: #f2e1c0; color: #5a3e2b; }
.btn-light:hover { background: #e5cf9e; }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%), url('../photos/africa.jpg') center/cover no-repeat;
  min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white;
  border-radius: 0 0 50px 50px; margin-bottom: 3rem;
}
.hero-overlay { background: rgba(0,0,0,0.3); padding: 2.5rem; border-radius: 25px; backdrop-filter: blur(4px); }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: #ffd700;                 /* ← yellow */
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  margin-bottom: 0.4rem;
}
.hero h2 { color: #ffe6a6; font-size: clamp(1.2rem, 3vw, 1.9rem); font-weight: 400; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); margin:0; }
.hero h2::after { display: none; }

/* Quick links */


/* Statistics row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.stat-card { background: var(--white); padding: 1.8rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--earth); margin-bottom: 0.3rem; }
.stat-label { font-size: 0.95rem; color: var(--soft-brown); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin: 2rem 0; }
.value-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { margin-top: 0; }

/* Gallery */
.gallery-mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.gallery-mosaic figure { margin:0; border-radius: 14px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.gallery-mosaic figure:hover { transform: scale(1.03); }
.gallery-mosaic img { width: 100%; height: 180px; object-fit: cover; }

/* Highlight box */
.highlight-box { background: linear-gradient(145deg, #fff6e6, #ffecd2); border-left: 6px solid var(--clay); padding: 1.8rem 2rem; border-radius: 0 20px 20px 0; margin: 2rem 0; }

/* Cards for main areas */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin: 2.5rem 0; }
.card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.card img { height: 200px; width: 100%; object-fit: cover; }
.card-body { padding: 1.8rem; }
.card-body h3 { margin-top:0; font-size:1.5rem; }

/* Quote */
.quote { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); font-style: italic; margin: 3rem 0; text-align: center; font-size: 1.2rem; }

/* Counter */
.counter { text-align: center; padding: 1.5rem; background: white; border-radius: 60px; box-shadow: var(--shadow); margin: 3rem auto; font-size: 1.1rem; max-width: 600px; }

/* Back to top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--clay); color: white; border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 1.5rem; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.3s; z-index: 999; display: flex; align-items: center; justify-content: center; }
.back-to-top.show { opacity: 1; }
.back-to-top:hover { background: var(--earth); }

@media (max-width: 600px) {
  .hero { min-height: 50vh; border-radius: 0 0 30px 30px; }
  .wrapper { padding: 0 1rem; }
}

[data-style="detail-1"]{margin-top:0.5rem; font-style:normal; font-weight:600;}
[data-style="detail-2"]{text-align:center; margin:3rem 0;}
[data-style="detail-3"]{font-size:1.1rem; padding:0.8rem 2rem;}