/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f4eae1;
  background-color: #110b07;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.logo-img {
  height: 36px;
  margin-right: 10px;
}

/* Header */
header {
  background: rgba(10, 6, 4, 0.8);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(129, 76, 25, 0.15);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background: transparent;
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
}

.nav-list li {
  margin-left: 1.5rem;
}

.nav-list li a {
  color: #f4eae1;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-list li a:hover {
  color: #f0a500;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.social-icons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #e0d4c8;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link img {
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.2);
}

.social-link:hover {
  color: #f0a500;
  transform: translateY(-2px);
}

.social-icons a, .social-icons a:visited, .social-icons a:active, .social-icons a:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(10, 6, 4, 0.98);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
  }

  #menu-toggle:checked ~ .nav-list {
    display: flex;
  }

  .nav-list li {
    margin: 1rem 0;
    text-align: center;
  }
}

/* Hero */
.hero {
  height: 100vh;
  background: url('forest1.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: heroFadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: heroFadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.25s forwards;
}

.cta-button {
  background: #f0a500;
  color: #fff;
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 50px;
  display: inline-block;
  opacity: 0;
  animation: heroFadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards, buttonGlow 3s infinite ease-in-out 1.5s;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.cta-button:hover {
  background: #d18e00;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(240, 165, 0, 0.5);
}

/* About / Kontakt */
.about, .contact {
  padding: 4rem 2rem;
  text-align: center;
}

.about {
  background: #0d0805;
}

.about h2, .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #dcb38a;
}

.about p, .contact p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #e0d4c8;
}

/* Footer */
footer {
  background: #0a0604;
  color: #a09285;
  text-align: center;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(129, 76, 25, 0.1);
}

/* KEYFRAMES */
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.5); }
  50% { box-shadow: 0 0 15px 6px rgba(240, 165, 0, 0.3); }
}

/* === PRZYCISK TRYBU & CENTROWANIE MOBILNE === */
.theme-toggle-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  color: #fff;
  transition: transform 0.2s ease;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
}
.theme-toggle-btn:hover {
  transform: scale(1.1);
}

/* === PEŁNY SZEF TRYBU JASNEGO (STRONA GŁÓWNA) === */
body.light-mode {
  background-color: #fdfbf7 !important;
  color: #261a10 !important;
}
body.light-mode header {
  background: rgba(245, 240, 230, 0.95) !important;
  border-bottom: 1px solid rgba(129, 76, 25, 0.15) !important;
}
body.light-mode .nav-list li a {
  color: #261a10 !important;
}
body.light-mode .nav-list li a:hover {
  color: #a7692b !important;
}
body.light-mode .logo {
  color: #814c19 !important;
}
body.light-mode .hamburger {
  color: #814c19 !important;
}
body.light-mode .theme-toggle-btn {
  color: #261a10 !important;
  display: inline-flex !important;
  margin: 0 auto !important;
}
@media (max-width: 768px) {
  body.light-mode .nav-list {
    background: rgba(245, 240, 230, 0.98) !important;
  }
}
body.light-mode .about {
  background: #f5f0e6 !important;
}
body.light-mode .contact {
  background: #fdfbf7 !important;
}
body.light-mode .about h2, 
body.light-mode .contact h2 {
  color: #693c10 !important;
}
body.light-mode .about p, 
body.light-mode .contact p {
  color: #3d2b1d !important;
}
body.light-mode .social-link {
  color: #3d2b1d !important;
}
body.light-mode .social-link img {
  filter: brightness(0) !important;
}