main {
  padding-top: 80px;
}

.hero-section {
  background: linear-gradient(rgba(30, 64, 175, 0.7), rgba(16, 35, 96, 0.8)), url('images/hero1-electrician-working-panel_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(249, 115, 22, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.hero-phone:hover {
  transform: scale(1.05);
  color: #fbbf24;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 80%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-5deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-preview {
  background: var(--bg-card);
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.services-preview .service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.services-preview .service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.services-preview .service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.about-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.about-features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-features li::before {
  content: '✓';
  background: var(--accent);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.testimonials-section {
  background: var(--bg-card);
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonials-section .testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonials-section .testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonials-section .testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.contact-section {
  background: linear-gradient(rgba(30, 64, 175, 0.9), rgba(16, 35, 96, 0.95)), url('images/section3-wiring-professional_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2,
.contact-info h3 {
  color: white;
}

.contact-details {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.contact-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.contact-form .form-input,
.contact-form .form-textarea {
  background: rgba(255, 255, 255, 0.9);
}

.gallery-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 64, 175, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.team-section {
  background: var(--bg-card);
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pricing-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Najpopulárnejšie';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  background: var(--accent);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.breadcrumb-area {
  background: var(--bg-secondary);
  padding: 2rem 0;
  margin-top: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-title-bar {
  background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(16, 35, 96, 0.9)), url('images/feature2-electrical-installation-modern_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.page-title-bar h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-title-bar p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
    background-attachment: scroll;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid,
  .testimonials-grid,
  .gallery-grid,
  .team-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-section,
  .page-title-bar {
    background-attachment: scroll;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .floating-shape {
    display: none;
  }
}