/* Kosmiczny motyw - CosmosMind */
:root {
  --primary-dark: #ffffff;
  --primary-light: #f0f7ff;
  --accent-blue: #0066cc;
  --accent-blue-light: #3388ff;
  --accent-purple: #0052cc;
  --accent-orange: #ff9500;
  --text-light: #1a1a1a;
  --text-muted: #666666;
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animacja gwiazd w tle */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Header/Nawigacja */
header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 2px solid var(--accent-blue);
  padding: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.5rem;
}

nav a:hover {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

nav a.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main content */
main {
  flex: 1;
  padding: 3rem 0;
}

/* Sekcje */
section {
  margin-bottom: 4rem;
}

section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  border-left: 4px solid var(--accent-purple);
  padding-left: 1rem;
}

section h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
  color: var(--accent-orange);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Hero sekcja */
.hero {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(71, 78, 88, 0.7) 0%, rgba(0, 102, 204, 0.5) 100%), url('../images/moon1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: unset;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* Przycisk */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

/* Karty */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: rgba(240, 247, 255, 0.9);
  border: 1px solid var(--accent-blue);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(0, 82, 204, 0.2);
  transform: translateY(-5px);
}

.card h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Placeholder dla grafik */
.image-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 82, 204, 0.08));
  border: 2px dashed var(--accent-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  padding: 1.5rem;
  background: rgba(240, 247, 255, 0.8);
  border-left: 4px solid var(--accent-orange);
  border-radius: 4px;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.feature h4 {
  color: var(--accent-blue-light);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: rgba(240, 247, 255, 0.95);
  border-top: 2px solid var(--accent-blue);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }

  section h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
  }
}
