/* Zmienne CSS, motyw Dark Mode / Glassmorphism */
:root {
  --bg-color: #0f1014;
  --text-color: #e5e7eb;
  --accent-color: #6366f1;
  /* Subtelny fiolet/błękit */
  --accent-hover: #4f46e5;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: #ffffff1a;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  font-family: var(--font-body);
}

p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

/* Button */
.btn {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  margin-top: 1rem;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

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

.dual-col {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.col {
  flex: 1;
  min-width: 300px;
}

/* Sekcje specyficzne - tła będą zastępowane przez wygenerowane grafiki w main.js lub CSS */
#section-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('./assets/hero_bg.png');
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#about-img-placeholder {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  background-image: url('./assets/about_me.png');
}

/* Slajdy Portfolio */
.slide {
  background-size: cover;
  background-position: center;
}

.slide-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  /* Dark overlay inside glass component for better readability on bright photos */
  background: rgba(15, 16, 20, 0.7);
}

.slide-content h3 {
  font-size: 2.5rem;
  color: #fff;
}

.slide-wedding {
  background-image: url('./assets/wedding.png');
}

.slide-portrait {
  background-image: url('./assets/portrait.png');
}

.slide-commercial {
  background-image: url('./assets/commercial.png');
}

/* Contact Footer */
#section-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-card {
  max-width: 600px;
  width: 90%;
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 1.2rem;
  color: #e5e7eb;
}

.footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
}

/* fullPage overrides */
.fp-slidesNav ul li a span {
  background: var(--text-color);
}

.fp-watermark {
  display: none !important;
}

/* --- Header / Menu --- */
#header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(15,16,20,0.85) 0%, rgba(15,16,20,0) 100%);
  pointer-events: none; /* Allows clicking through the empty space */
}

#header-nav * {
  pointer-events: auto; /* Menu items remain clickable */
}

.logo a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

#myMenu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

#myMenu li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 5px;
}

#myMenu li a:hover,
#myMenu li.active a {
  color: #fff;
}

#myMenu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

#myMenu li.active a::after {
  width: 100%;
}

/* --- Responsywność --- */

/* Tablety i średnie wyświetlacze */
@media screen and (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .glass-panel {
    padding: 2rem;
  }

  .slide-content h3 {
    font-size: 2rem;
  }
}

/* Smartfony */
@media screen and (max-width: 768px) {
  #header-nav {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    background: rgba(15, 16, 20, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  #myMenu {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  #myMenu li a {
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .glass-panel {
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 12px;
  }

  .dual-col {
    gap: 1.5rem;
  }

  #about-img-placeholder {
    min-height: 250px;
    margin-bottom: 0;
  }

  p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .slide-content h3 {
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  /* Ukrycie kropek z prawej by nie zasłaniały treści na mniejszych ekranach */
  #fp-nav {
    display: none !important;
  }
}

/* Bardzo małe telefony */
@media screen and (max-width: 480px) {
  #header-nav {
    padding: 0.8rem 1rem;
  }
  .logo a {
    font-size: 1.6rem;
  }
  #myMenu {
    gap: 1rem;
  }
  #myMenu li a {
    font-size: 0.75rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .slide-content h3 {
    font-size: 1.5rem;
  }

  .glass-panel {
    padding: 1rem;
    margin: 0.5rem;
  }

  .footer {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}