/* GLOBAL STYLES */
:root {
  /*--primary: #FF6B00;*/
  --primary: #F2AD1D;
  --primary-light: #FF8C00;
  --black: #000000;
  --dark-gray: #2D2D2D;
  --gray: #555555;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--black);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 1rem auto;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* NAVIGATION */
.navbar {
  background-color: var(--black);
  color: var(--white);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  margin-bottom: 2px;
}

.logo span {
  color: var(--primary);
}

.nav-slogan {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
  position: relative;
  padding-left: 8px;
}

.nav-slogan::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 60%;
  width: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 50px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.mobile-menu-btn i {
  font-size: 1.5rem;
  color: var(--white);
}

/* HERO SECTION */
.hero {
  height: 100vh;
  position: relative;
  margin-top: 70px;
}

.hero-slides {
  position: relative;
  height: 100%;
  cursor: pointer;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 800px;
}

.slide h1 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: white;
  text-shadow: 1px 1px 3px black;
  animation: fadeInUp 1s ease;
}

.slide p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 35px;
  color: var(--primary-light); /* Jasny pomarańcz */
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.slide .btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
  color: white;
  text-shadow: 1px 1px 3px black;
  font-size: 1.1rem;
  padding: 15px 40px;
  pointer-events: auto;
}

.slide-indicators {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .nav-slogan {
    display: none;
  }
  
  .logo-container {
    width: 40px;
    height: 40px;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .slide h1 {
    font-size: 2.5rem;
  }
  
  .slide p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: var(--black);
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .slide h1 {
    font-size: 2rem;
  }
  
  .hero {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {
  .logo-container {
    width: 35px;
    height: 35px;
  }
  
  .logo {
    font-size: 1.3rem;
  margin-bottom: 0;
  line-height: 1.2;
  }
  
  .slide h1 {
    font-size: 1.8rem;
  }
  
  .slide .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

.label {
    font-size: 1rem;
    color: var(--gray);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
  color: var(--primary-light); /* Jasny pomarańcz */
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: white;
  text-shadow: 2px 2px 5px black;
}

/* Partners Section */
.partners {
    padding: 80px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.partners-grid img {
    height: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partners-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: block;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--black);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .slide h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

/* Formularz kontaktowy */
.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-left: 3px solid #28a745;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 3px solid #dc3545;
}

.fa-spinner {
    margin-right: 8px;
}

/* Stylizacja sekcji formularza */
.form-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.recaptcha-container {
    margin: 10px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* Responsywność */
@media (max-width: 768px) {
    .form-footer {
        gap: 15px;
    }
    
    .recaptcha-container {
        transform: scale(0.95);
        transform-origin: left;
    }
}

/* Dla bardzo małych ekranów */
@media (max-width: 480px) {
    .recaptcha-container {
        transform: scale(0.85);
    }
}

.image-source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.7em;
    background: rgba(0,0,0,0.5);
    padding: 2px 5px;
    border-radius: 3px;
}