/* Globalne style */
:root {
  --main-bg: #1e1e2f;
  --text-color: #f5f5f5;
  --accent-1: #ffaa00;
  --accent-2: #f44174;
  --accent-3: #65d6ce;
  --gradient: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  --card-bg: rgba(30, 30, 47, 0.8);
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  background-color: var(--main-bg);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--accent-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-2);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient);
  color: var(--text-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 65, 116, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 65, 116, 0.5);
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}



h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 100px 0;
}

/* Animacje */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-in-out forwards;
}

.scale-up {
  animation: scaleUp 0.6s ease-in-out forwards;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 30, 47, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

header.hide {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-color);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

/* Menu nawigacji */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-1);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Menu mobilne */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
}

#mobile-menu-checkbox {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Hero section */
#hero {
  height: 100vh;
  background-image: url('../img/XEEqvq.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 30, 47, 0.8), rgba(30, 30, 47, 0.6));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* O nas */
#about .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

#about img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Dlaczego my */
#why-us .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient);
  z-index: -1;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-1);
}

/* Usługi */
#services .service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid rgba(101, 214, 206, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-3);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-1);
  margin-bottom: 15px;
}

.service-btn {
  margin-top: 15px;
}

/* Etapy pracy */
#process {
  position: relative;
  background: linear-gradient(to bottom, var(--main-bg), rgba(30, 30, 47, 0.9));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 10px 20px rgba(244, 65, 116, 0.3);
}

/* Testimonials */
#testimonials {
  background-color: rgba(20, 20, 35, 0.8);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  overflow: hidden;
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-name {
  font-weight: 600;
}

.testimonial-author-title {
  font-size: 0.9rem;
  color: var(--accent-3);
}

/* FAQ */
#faq {
  background-color: var(--main-bg);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-item details {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-1);
}

.faq-item details[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-content {
  padding: 0 20px 20px;
}

/* Form */
#order {
  position: relative;
  overflow: hidden;
}

#order::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/wZ23Hu.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
  filter: blur(5px);
}

.order-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(20, 20, 35, 0.8);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(101, 214, 206, 0.3);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(30, 30, 47, 0.8);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(255, 170, 0, 0.2);
}

.form-control option {
  color: black;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-input {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-label {
  font-size: 0.9rem;
}

/* Kontakt */
#contact {
  background-color: rgba(20, 20, 35, 0.9);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  text-align: center;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-1);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: rgba(15, 15, 25, 1);
  padding: 60px 0 20px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, transparent 25px, rgba(15, 15, 25, 1) 0);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-description {
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  background: rgba(30, 30, 47, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s forwards;
}

.cookie-popup.show {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-popup h3 {
  margin-bottom: 10px;
}

.cookie-popup p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
}

/* Strony polityki */
.policy-page {
  padding: 120px 0 80px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(30, 30, 47, 0.8);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(101, 214, 206, 0.2);
}

.policy-container h1 {
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.policy-container p {
  margin-bottom: 20px;
}

.policy-container ul, .policy-container ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.policy-container li {
  margin-bottom: 10px;
}

.policy-contact {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Strona podziękowania */
.thank-you-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 0;
}

.thank-you-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(30, 30, 47, 0.8);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  border: 2px solid var(--accent-1);
}

.thank-you-icon {
  font-size: 5rem;
  margin-bottom: 30px;
  color: var(--accent-1);
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-text {
  margin-bottom: 30px;
}

/* Responsywność */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle span:nth-child(1) {
    top: 0;
  }

  .mobile-menu-toggle span:nth-child(2) {
    top: 9px;
  }

  .mobile-menu-toggle span:nth-child(3) {
    top: 18px;
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 90vw;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background: rgba(20, 20, 35, 0.98);
    z-index: 999;
    padding: 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  #mobile-menu-checkbox:checked ~ .mobile-menu {
    left: 0;
  }

  .mobile-nav-menu {
    list-style: none;
  }

  .mobile-nav-item {
    margin-bottom: 15px;
  }

  .mobile-nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #about .about-content {
    grid-template-columns: 1fr;
  }

  #about img {
    order: -1;
  }

  #why-us .features {
    grid-template-columns: 1fr;
  }

  #services .service-cards {
    grid-template-columns: 1fr;
  }

  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .order-form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .header-container {
    height: 60px;
  }

  :root {
    --header-height: 60px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo img {
    height: 30px;
  }

  .mobile-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }

  .policy-container {
    padding: 30px 20px;
  }

  .thank-you-container {
    padding: 30px 20px;
  }
}
