*{box-sizing:border-box;margin:0;padding:0;}
body,html{height:100%;overflow-x:hidden;font-family:Arial,sans-serif;background:linear-gradient(135deg,#0a0a0a,#1a1a1a);color:#eee;}
header{position:fixed;top:0;width:100%;background:rgba(0,0,0,0.85);padding:1rem;z-index:100;display:flex;justify-content:center;}
.menu a{color:#eee;text-decoration:none;margin:0 1rem;position:relative;padding:.5rem;}
.menu a::after{content:'';position:absolute;width:0;height:2px;background:#e91e63;bottom:0;left:50%;transition:width .3s,left .3s;}
.menu a:hover::after{width:100%;left:0;}

canvas#paint-canvas{position:fixed;top:0;left:0;width:100vw;height:100vh;pointer-events:none;z-index:2;}
.hero{position:relative;height:100vh;background:url('../assets/bg.jpg')center/cover;display:flex;align-items:center;justify-content:center;text-align:center;}
.hero-content{z-index:2;animation:fadeInUp 1s ease-out;}
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px);}to{opacity:1;transform:translateY(0);}}
.cta{margin-top:1rem;padding:.8rem 1.2rem;background:#e91e63;border:none;border-radius:.5rem;cursor:pointer;transition:transform .3s;}
.cta:hover{transform:scale(1.05);}
.section-title{font-size:2rem;margin-bottom:1rem;background:linear-gradient(90deg,#e91e63,#9c27b0);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:2rem;}
.offer-item{background:rgba(255,255,255,0.05);padding:1rem;border-radius:.5rem;cursor:pointer;transition:transform .3s;}
.offer-item:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,0.5);}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:2rem;}
.project-card{position:relative;overflow:hidden;cursor:pointer;height:150px;}
.project-card img{width:100%;height:100%;object-fit:cover;}
.overlay{position:absolute;bottom:0;width:100%;background:rgba(0,0,0,0.7);padding:.5rem;transform:translateY(100%);transition:transform .3s;}
.project-card:hover .overlay{transform:translateY(0);}
.contact form{display:flex;flex-direction:column;gap:1rem;max-width:400px;margin:auto;padding:2rem;}
.contact input,.contact textarea{padding:.5rem;border:none;border-radius:.5rem;background:rgba(255,255,255,0.1);color:#fff;width:100%;}
.contact button{padding:.8rem;border:none;border-radius:.5rem;background:#e91e63;color:#fff;cursor:pointer;}
.footer{background:#111;text-align:center;padding:1rem;}
#scroll-to-top{position:fixed;bottom:20px;right:20px;padding:.5rem 1rem;background:#e91e63;border:none;border-radius:50%;cursor:pointer;display:none;z-index:100;transition:transform .3s;}
#scroll-to-top:hover{transform:scale(1.2);}
.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);align-items:center;justify-content:center;z-index:200;}
.modal.active{display:flex;}
.modal-content{background:#222;padding:1rem;border-radius:.5rem;max-width:300px;transform:scale(0.9);transition:transform .3s,opacity .3s;opacity:0;}
.modal.active .modal-content{transform:scale(1);opacity:1;}
.close{position:absolute;top:5px;right:5px;background:none;border:none;color:#fff;cursor:pointer;}

/* rainbow brush */
#brushCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* center all text */
body { text-align: center; }


/* Ensure main content (offer and other sections) layers above the brush */



/* Ensure sections except hero layer above brush */
#offer, #projects, #about, #contact {
  position: relative;
  z-index: 2;
}


/* Ensure logo appears above the brush */
/* Center logo in hero section */
/* Hero section layout: logo and text centered with spacing */


#hero h1 {
  margin: 0 !important;
  font-size: 2.5rem !important;
}

#hero p {
  margin: 0 !important;
  font-size: 1.2rem !important;
  max-width: 600px;
}


/* Logo in the menu bar */
.menu-logo {
  height: 40px;
  margin-right: 1rem;
  vertical-align: middle;
}

/* Restore hero background */


/* Full hero section styling */
#hero {
  height: 100vh !important;
  background: url('../assets/bg.jpg') center center/cover no-repeat !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Hero slider styles */
#hero .slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  transition: opacity 1s ease;
}
#hero .slide.active {
  opacity: 1;
}

/* Slider content overlay */
#hero .slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}
#hero .slider-content h1 {
  font-size: 3rem;
  color: #fff;
  margin: 0;
}
#hero .slider-content .cta {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  background: #e91e63;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}


/* Slider slogan styling */
#hero .slider-content .slider-slogan {
  color: #fff;
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

/* Make slides semi-transparent to reveal hero background */
#hero .slide {
  opacity: 0.3 !important;  /* inactive slides remain semi-transparent or hidden */
}
#hero .slide.active {
  opacity: 0.6 !important;  /* active slides partially transparent */
}

/* Adjust stacking: brush below slides */
#brushCanvas {
  z-index: 0 !important;
}
/* Slider slides above brush */
#hero .slider {
  position: relative;
  z-index: 1;
}
#hero .slide {
  position: absolute;
  z-index: 1;
}
#hero .slide.active {
  opacity: 0.6 !important;
  z-index: 1;
}
/* Slider content above slides */
#hero .slider-content {
  z-index: 2 !important;
}

/* Enhanced slider overlay for better readability */
#hero .slider {
  position: relative;
  overflow: hidden;
}
#hero .slider-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  z-index: 0;
  pointer-events: none;
}

/* Adjust slide z-index to be under overlay */
#hero .slide {
  z-index: -1 !important;
}

/* CTA refinement */
#hero .slider-content .cta {
  transition: background 0.3s ease, transform 0.3s ease;
}
#hero .slider-content .cta:hover {
  background: #d81b60;
  transform: scale(1.05);
}

/* Add subtle box-shadow to slider-content */
#hero .slider-content {
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}


/* interactive.css - Styles for smooth scroll, nav active state, and CTA transition */

/* Enable smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Active navigation link */
.menu a.active {
  color: #e91e63;
  font-weight: bold;
}

/* CTA button transition */
.cta {
  transition: transform 0.3s ease, background 0.3s ease;
}



/* Scroll Progress Bar */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  background: #e91e63;
  width: 0%;
  z-index: 10000;
}

/* Theme Toggle Button */


/* Typewriter Effect */
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: .15em solid #fff;
  white-space: nowrap;
  animation: caret 0.75s steps(1) infinite;
}
@keyframes caret {
  50% { border-color: transparent; }
}

/* Ripple Effect on CTA */
.cta {
  position: relative;
  overflow: hidden;
}
.cta .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  transform: scale(0);
  animation: ripple 0.6s linear;
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Dark/Light Theme Variables */
:root {
  --bg-color: #121212;
  --text-color: #eee;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
}
.menu a, .menu-logo, .cta {
  color: var(--text-color) !important;
}


/* interactive.css - PRO Max Enhancements */

/* Variables */
:root {
  --primary: #e91e63;
  --secondary: #fff;
  --bg: #121212;
  --text: #fff;
}

/* Reset animations */
* {
  transition: all 0.3s ease;
}

/* Sticky header with backdrop blur */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

/* Mobile menu */
.menu {
  display: flex;
  gap: 1rem;
}
#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
}
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.8);
    padding: 1rem;
    display: none;
  }
  #mobile-menu-toggle {
    display: block;
  }
}

/* Hero styling */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
#hero .slide {
  position: absolute;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}
#hero .slide.active {
  opacity: 1;
}

/* Scroll reveal defaults */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA styling */
.cta {
  background: var(--primary);
  color: var(--secondary);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cta:hover {
  background: #d81b60;
  transform: scale(1.05);
}

/* Scroll-to-top */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  display: none;
  z-index: 1000;
}


/* Tooltip base */
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translateX(-50%) translateY(-0.5rem);
  white-space: nowrap;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-0.75rem);
}

/* Countdown styling */
.countdown {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}


/* Custom offer section styling */

#custom-offer h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
#custom-offer p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
}
#custom-offer .cta {
  background: var(--primary);
  color: #fff;
}


/* Ensure custom-offer section is on top */
#custom-offer {
  position: relative !important;
  z-index: 10 !important;
}

/* Section Spacing */
section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
/* Varied spacing for visual rhythm */
#hero {
  padding-bottom: 6rem;
}
#offer {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
#custom-offer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
#projects {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
#about {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
#contact {
  padding-top: 6rem;
  padding-bottom: 4rem;
}


/* Sekcja Nasz Proces */
.process {
  background: rgba(255, 255, 255, 0.05);
}
.process .container {
  max-width: 1000px;
  margin: 0 auto;
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.process .step {
  background: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-radius: 0.5rem;
  flex: 1 1 200px;
  text-align: center;
}
.process .step-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.process h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}
.process p {
  font-size: 0.95rem;
}


/* Sekcja Nasz Proces */
.process {
  background: rgba(255, 255, 255, 0.05);
  padding: 4rem 1rem;
}
.process .container {
  max-width: 1000px;
  margin: 0 auto;
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.process .step {
  background: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-radius: 0.5rem;
  flex: 1 1 200px;
  text-align: center;
}
.process .step-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.process h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}
.process p {
  font-size: 0.95rem;
}


/* Ensure process section is above other elements */
#process {
  position: relative !important;
  z-index: 10 !important;
  background: rgba(255, 255, 255, 0.1) !important; /* slight overlay to distinguish */
}


/* Sekcja Administracja Stronami */

#admin-offer .section-title {
  color: #2196f3;
}


/* Ensure admin-offer section is on top */
#admin-offer {
  position: relative !important;
  z-index: 10 !important;
}

/* Styled box for About section */
.about-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}


/* Remove gap between menu and hero */
header, nav {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
#hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.8);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  z-index: 10000;
  font-size: 0.9rem;
}
.cookie-banner p {
  margin: 0;
  flex: 1;
}
.cookie-banner .cta {
  margin-left: 1rem;
}


/* Vertically center the menu within the header */
header {
  display: flex !important;
  align-items: center !important;
}

/* Ensure nav menu items are centered vertically */
nav.menu {
  display: flex !important;
  align-items: center !important;
}

/* Vertically center menu items */
header {
  display: flex !important;
  align-items: center !important;
}

/* Ensure header height fits content */
header {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Make menu a flex container and full height */
nav.menu {
  display: flex !important;
  align-items: center !important;
  height: 100%;
}

/* Center links within menu */
nav.menu a {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem !important;
  height: 100%;
}


/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  padding: 10px;
  display: none;
  z-index: 1000;
}
.cookie-banner .btn {
  margin-left: 10px;
  background: #fff;
  color: #000;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}


/* Remove burger menu on mobile */
.burger, .mobile-menu, .burger-menu {
    display: none !important;
}


/* Mobile menu fix */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .burger { display: block !important; }
  nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  nav.active ul {
    display: flex;
  }
  nav ul li {
    margin: 0;
    padding: 10px;
    text-align: center;
  }
  nav ul li a {
    color: #fff;
  }
}


/* Safari mobile menu fix */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.burger {
  display: none;
}
@media (max-width: 768px) {
  .burger {
    display: block !important;
  }
  nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  nav.active ul {
    display: flex !important;
  }
  nav ul li {
    border-bottom: 1px solid #333;
  }
}

/* Reset old nav styles */
/* New nav styles */
.main-nav {
  width: 100%;
  background: #000;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 10px;
  justify-content: space-between;
}
.nav-logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}
.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  margin-left: 20px;
}
.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
/* Mobile */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 768px) {
  .burger {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }
}


/* Force mobile menu and smooth scroll offset */
.nav-menu {
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .nav-menu.active {
    display: flex !important;
  }
}
/* Smooth scroll offset for fixed header */
section {
  scroll-margin-top: 80px; /* height of nav */
}
