@import url('fonts.css');

/* Czcionki ładowane z fonts.css */

:root {
  --bg: #0a0a0a;
  --bg-alt: #1a1a1a;
  --primary: #c9a961;
  --primary-dark: #a88a4d;
  --accent: #d4c5a0;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --border-soft: #2a2a2a;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../img/tlo.png');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 3.8rem 0;
}

h1, h2, h3 {
  font-family: 'Cormorant', serif;
  color: var(--text);
  font-weight: 400;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  display: block;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}

.logo-text {
  font-size: 0.95rem;
}

.main-nav ul {
  display: flex;
  gap: 1.7rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.3rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.page-hero {
  padding: 3.3rem 0 1.3rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 2.6vw + 1.2rem, 2.4rem);
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}


.about-content {
  min-height: 50vh;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-image {
  position: sticky;
  top: 90px;
}

.about-photo {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(212, 175, 55, 0.3);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 184, 150, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(212, 175, 55, 0.3);
  font-size: 0.95rem;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.about-text-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-section {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(26, 18, 11, 0.18);
}

.about-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-section p {
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}


.values-section {
  padding: 3rem 0;
}

.values-section h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.value-card:hover .value-icon {
  filter: grayscale(0);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.value-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}


.cta-section {
  padding: 2rem 0 1rem;
}

.cta-box {
  background: rgba(201, 169, 97, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.25);
}

.cta-box h2 {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.cta-box p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0a0a0a;
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.3);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.btn.outline {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--text);
}

.btn.outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}


.site-footer {
  background: #000000;
  color: #f5f5f5;
  padding: 2.4rem 0 1.6rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: flex-start;
}

.footer-contact h3,
.footer-social h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 300;
}

.footer-contact p,
.footer-social a {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.7);
}

.footer-social ul {
  list-style: none;
}

.footer-social li + li {
  margin-top: 0.25rem;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.5);
  align-self: flex-end;
}

.footer-copy .footer-author {
  font-size: 0.75rem;
  margin-left: 0.75rem;
  color: rgba(245, 245, 245, 0.6);
}


@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    position: relative;
    top: 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .main-nav {
    position: absolute;
    inset: 62px 0 auto;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.8rem 1.5rem 1.2rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .about-section {
    padding: 1.5rem 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
