/* ======== Podstawowe ustawienia ======== */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700&display=swap');

:root {
  --bg-gradient-start: #006765;
  --bg-gradient-end: #020744;
  --cta-gradient-start: #E3C207;
  --cta-gradient-end: #E0515B;
  --font-main: 'Exo 2', sans-serif;
  --color-text: #ffffff;
  --color-heading: #E3C207;
  --color-border: #ccc;
  --color-gallery-bg: #1f2330;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: linear-gradient(90deg, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--color-text);
}

header {
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

h1, h2, h3 {
  color: var(--color-heading);
  margin-bottom: 0.5em;
}

a {
  color: #E3C207;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ======== Przyciski ======== */
button, .btn {
  padding: 0.75em 1.5em;
  background: linear-gradient(145deg, var(--cta-gradient-start), var(--cta-gradient-end));
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

button:hover, .btn:hover {
  opacity: 0.9;
}

/* ======== Sekcje ======== */
section {
  padding: 2rem;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

footer {
  background: linear-gradient(90deg, #006765, #020744);
  padding: 1rem;
  color: #E3C207;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
}

/* ======== Galeria kolekcji ======== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  background-color: var(--color-gallery-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.gallery-item {
  background: #2c2f3a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item p {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #ddd;
}

/* ======== Menu nawigacyjne ======== */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
}

nav a {
  font-weight: bold;
  color: #fff;
  padding: 0.5em;
  border-radius: 6px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ======== RWD ======== */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  nav {
    flex-direction: column;
    align-items: center;
  }
}
