*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{

  font-family:'Inter',sans-serif;
  overflow-x:hidden;

  background-color:#F4F6F8;

  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);

  background-size:40px 40px;

  color:#111827;
  line-height:1.7;
}

/* ========================================= */
/* NAVBAR */
/* ========================================= */

.navbar{

  position:fixed;
  top:0;
  left:0;

  width:100%;

  padding:24px 8%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  z-index:999;

  background:rgba(5,15,30,0.75);

  backdrop-filter:blur(14px);

  border-bottom:1px solid rgba(255,255,255,0.05);

  transition:0.4s;
}

.mobile-actions{
  display:none !important;
}

.logo{

  font-size:1.5rem;
  font-weight:800;

}

.logo-orange{

  color:#F47B20;

  text-shadow:
    0 0 12px rgba(244,123,32,0.35);

}

.logo-blue{
  color:white;
}

.nav-links{

  display:flex;
  gap:35px;

}

.nav-links a{

  text-decoration:none;
  color:white;

  font-weight:500;

  transition:0.3s;
}

.nav-links a:hover{
  color:#F47B20;
}

.hamburger{

  display:none;

  color:white;
  font-size:2rem;

  cursor:pointer;
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero{

  position:relative;
  overflow:hidden;

  height:100vh;

  background:
    linear-gradient(
      135deg,
      rgba(3,10,25,0.92),
      rgba(5,15,30,0.80)
    ),
    url("obrazek.png");

  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
}

.hero::before{

  content:"";

  position:absolute;
  inset:0;

  background:
    radial-gradient(
      circle at top right,
      rgba(244,123,32,0.14),
      transparent 35%
    );
}

.hero-overlay{

  width:100%;
  padding:0 8%;

  position:relative;
  z-index:2;
}

.hero-content{
  max-width:760px;
}

.hero-subtitle{

  color:#F47B20;

  font-weight:700;

  letter-spacing:3px;

  margin-bottom:20px;

  text-shadow:
    0 0 12px rgba(244,123,32,0.35);
}

.hero h1{

  font-size:4.8rem;
  line-height:1.05;

  color:white;

  margin-bottom:30px;
}

.hero-text{

  font-size:1.2rem;
  color:#d1d5db;

  margin-bottom:40px;

  max-width:650px;
}

.hero-buttons{

  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{

  padding:16px 32px;

  border-radius:10px;

  text-decoration:none;

  font-weight:600;

  transition:0.3s;
}

.btn-primary{

  background:#F47B20;
  color:white;
}

.btn-primary:hover{

  transform:translateY(-4px);

  box-shadow:
    0 12px 30px rgba(244,123,32,0.3);

  background:#ff8f3c;
}

.btn-secondary{

  border:1px solid rgba(255,255,255,0.18);

  color:white;
}

.btn-secondary:hover{

  background:rgba(255,255,255,0.08);

  transform:translateY(-4px);
}

/* ========================================= */
/* SECTION */
/* ========================================= */

.section{

  position:relative;

  padding:120px 8%;
}

.section::after{

  content:"";

  position:absolute;

  bottom:0;
  left:8%;

  width:84%;
  height:1px;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(0,0,0,0.08),
      transparent
    );
}

.section-title{

  margin-bottom:60px;
}

.section-title p{

  color:#F47B20;

  font-weight:700;

  letter-spacing:2px;

  margin-bottom:10px;
}

.section-title h2{

  font-size:2.8rem;
  line-height:1.2;
}

.center{
  text-align:center;
}

/* ========================================= */
/* ABOUT */
/* ========================================= */

.about-grid{

  display:grid;
  grid-template-columns:1fr 1fr;

  gap:80px;
}

.about-text p{

  margin-bottom:25px;

  color:#4b5563;

  font-size:1.05rem;
}

.stats-grid{

  display:grid;
  grid-template-columns:repeat(2,1fr);

  gap:25px;
}

.stat-card{

  background:white;

  padding:40px;

  border-radius:18px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06);

  border-top:4px solid #F47B20;

  transition:0.3s;
}

.stat-card:hover{

  transform:translateY(-8px);

  box-shadow:
    0 15px 40px rgba(244,123,32,0.12);
}

.stat-card h3{

  font-size:2.5rem;

  color:#0B1F33;

  margin-bottom:10px;
}

/* ========================================= */
/* DARK SECTION */
/* ========================================= */

.dark-section{

  background:#0B1F33;
  color:white;
}

.dark-section h2{
  color:white;
}

/* ========================================= */
/* SERVICES */
/* ========================================= */

.services-grid{

  display:grid;
  grid-template-columns:repeat(4,1fr);

  gap:30px;
}

.service-card{

  background:rgba(255,255,255,0.04);

  padding:40px;

  border-radius:18px;

  transition:0.4s;

  border:1px solid rgba(255,255,255,0.05);

  backdrop-filter:blur(10px);
}

.service-card:hover{

  transform:translateY(-10px);

  border-color:#F47B20;

  box-shadow:
    0 15px 40px rgba(244,123,32,0.12);
}

.service-icon{

  font-size:2rem;

  margin-bottom:20px;

  color:#F47B20;
}

.service-card h3{
  margin-bottom:15px;
}

/* ========================================= */
/* PROJECTS */
/* ========================================= */

.projects-grid{

  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:30px;
}

.project-card{

  background:white;

  border-radius:18px;

  overflow:hidden;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.06);

  transition:0.4s;
}

.project-card:hover{

  transform:translateY(-8px);

  box-shadow:
    0 15px 40px rgba(244,123,32,0.12);
}

.project-image{

  height:260px;

  background-size:cover;
  background-position:center;
}

.project1{
  background-image:url("rozvodna.jpg");
}

.project2{
  background-image:url("nn\ rozvadec.jpg");
}

.project3{
  background-image:url("udrba.jpg");
}

.project-content{
  padding:30px;
}

.project-content h3{
  margin-bottom:12px;
}

/* ========================================= */
/* ADVANTAGES */
/* ========================================= */

.advantages-grid{

  display:grid;
  grid-template-columns:repeat(3,1fr);

  gap:30px;
}

.advantage-card{

  background:rgba(255,255,255,0.04);

  padding:40px;

  border-radius:18px;

  border-left:4px solid #F47B20;

  transition:0.4s;
}

.advantage-card:hover{

  transform:translateY(-8px);

  box-shadow:
    0 15px 40px rgba(244,123,32,0.12);
}

/* ========================================= */
/* CONTACT */
/* ========================================= */

.contact-wrapper{

  display:grid;
  grid-template-columns:1fr 1fr;

  gap:80px;
}

.contact-text{

  margin-bottom:40px;

  color:#4b5563;
}

.contact-item{

  margin-bottom:20px;

  display:flex;
  align-items:center;

  gap:15px;
}

.contact-item i{
  color:#F47B20;
}

.contact-form{

  background:white;

  padding:50px;

  border-radius:20px;

  box-shadow:
    0 15px 35px rgba(0,0,0,0.08);
}

.contact-form form{

  display:flex;
  flex-direction:column;
}

.contact-form input,
.contact-form textarea{

  margin-bottom:20px;

  padding:16px;

  border:1px solid #d1d5db;

  border-radius:10px;

  font-family:inherit;

  transition:0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{

  outline:none;

  border-color:#F47B20;

  box-shadow:
    0 0 0 4px rgba(244,123,32,0.1);
}

.contact-form button{

  padding:16px;

  border:none;

  background:#F47B20;

  color:white;

  font-weight:600;

  border-radius:10px;

  cursor:pointer;

  transition:0.3s;
}

.contact-form button:hover{

  background:#ff8f3c;

  transform:translateY(-3px);
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

footer{

  background:#07111f;

  color:#9ca3af;

  padding:50px 8%;

  text-align:center;
}

.footer-logo{

  font-size:1.5rem;
  font-weight:800;

  margin-bottom:20px;
}

/* ========================================= */
/* ANIMATIONS */
/* ========================================= */

.hidden{

  opacity:0;

  transform:translateY(60px);

  transition:all 0.8s ease;
}

.show{

  opacity:1;

  transform:translateY(0);
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (min-width:1600px){

  .hero h1{
    font-size:6rem;
  }

}

@media(max-width:1200px){

  .services-grid,
  .projects-grid,
  .advantages-grid{

    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:900px){

  .hero{

    height:auto;

    min-height:100vh;

    padding-top:120px;
    padding-bottom:100px;
  }

  .hero h1{
    font-size:3.2rem;
  }

  .about-grid,
  .contact-wrapper{

    grid-template-columns:1fr;
  }

  .services-grid,
  .projects-grid,
  .advantages-grid,
  .stats-grid{

    grid-template-columns:1fr;
  }

}



  @media(max-width:768px){

  .hamburger{
    display:block;
  }

  .mobile-actions{

    display:flex;
    align-items:center;
    gap:18px;
  }

  .nav-links{

    position:fixed;

    top:0;
    right:-100%;

    

    width:320px;
    max-width:80%;
    height:100vh;

    background:#07111f;

    flex-direction:column;

    justify-content:center;
    align-items:center;

    transition:0.4s;
  }

  .nav-links.active{
    right:0;
  }

}

@media(max-width:600px){

  .navbar{
    padding:18px 5%;
  }

  .hero{
    padding-top:140px;
  }

  .hero h1{

    font-size:2.4rem;
    line-height:1.15;
  }

  .hero-buttons{

    flex-direction:column;
  }

  .btn-primary,
  .btn-secondary{

    width:100%;
    text-align:center;
  }

  .section{
    padding:90px 5%;
  }

  .section-title h2{
    font-size:2rem;
  }

  .contact-form{
    padding:30px 20px;
  }

}

/* ========================================= */
/* PROJECT IMAGE ZOOM */
/* ========================================= */

.project-card{
  position:relative;
}

.project-image{

  position:relative;

  overflow:hidden;

  transition:
    transform 0.6s ease;

}

.project-image::after{

  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.05)
    );

}

.project-card:hover .project-image{

  transform:scale(1.08);

}

/* ========================================= */
/* PROJECT CONTENT PREMIUM */
/* ========================================= */

.project-content{

  position:relative;
  z-index:2;

  background:white;
}

/* ========================================= */
/* PREMIUM NAVBAR SCROLL */
/* ========================================= */

.navbar.scrolled{

  padding:16px 8%;

  background:rgba(5,15,30,0.94);

  backdrop-filter:blur(18px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);

}

/* ========================================= */
/* CLICKABLE ELEMENTS */
/* ========================================= */

button,
a,
.project-card,
.service-card,
.stat-card,
.advantage-card{
  cursor:pointer;
}

/* ========================================= */
/* CTA SECTION */
/* ========================================= */

.cta-section{

  position:relative;

  overflow:hidden;

  background:
    linear-gradient(
      135deg,
      #07111f,
      #0B1F33
    );

  padding:140px 8%;

  text-align:center;

  color:white;
}

.cta-section::before{

  content:"";

  position:absolute;
  inset:0;

  background:
    radial-gradient(
      circle at top right,
      rgba(244,123,32,0.14),
      transparent 35%
    );
}

.cta-content{

  position:relative;
  z-index:2;

  max-width:900px;

  margin:auto;
}

.cta-content h2{

  font-size:3.5rem;

  line-height:1.1;

  margin-bottom:30px;
}

.cta-content p{

  color:#d1d5db;

  font-size:1.15rem;

  margin-bottom:40px;
}

/* ========================================= */
/* LOADING SCREEN */
/* ========================================= */


.loader{

  position:fixed;
  inset:0;

  background:#07111f;

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:99999;

  opacity:1;
  visibility:visible;

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;

}

.loader.fade-out{

  opacity:0;
  visibility:hidden;

}

.loader-logo{

  font-size:2rem;

  font-weight:800;

  color:white;

  letter-spacing:3px;

  animation:pulse 1.2s infinite;
}

.loader-logo span{
  color:#F47B20;
}

@keyframes pulse{

  0%{
    opacity:0.5;
    transform:scale(0.98);
  }

  50%{
    opacity:1;
    transform:scale(1);
  }

  100%{
    opacity:0.5;
    transform:scale(0.98);
  }

}

/* ========================================= */
/* MOBILE MENU OVERLAY */
/* ========================================= */

.mobile-overlay{

  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.55);

  z-index:998;

  opacity:0;
  visibility:hidden;

  transition:0.3s;
}

.mobile-overlay.active{

  opacity:1;
  visibility:visible;
}

/* ========================================= */
/* CLOSE BUTTON */
/* ========================================= */

.close-menu{

  position:absolute;

  top:30px;
  right:30px;

  color:white;

  font-size:2rem;

  cursor:pointer;

  display:none;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media(max-width:768px){

  .close-menu{
    display:block;
  }

  .cta-content h2{
    font-size:2.4rem;
  }

}

.nav-contact{
  display:flex;
  align-items:center;
  gap:20px;
}

.mobile-actions{
  display:none; 
   align-items:center;
  gap:20px;
}
  
  
.mobile-phone{
  width:56px;
  height:56px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:#F47B20;
  color:white;

  font-size:1.5rem;
  text-decoration:none;

  box-shadow:
    0 10px 25px rgba(244,123,32,0.35);
}

.nav-right{
  display:flex;
  align-items:center;
  gap:20px;
}

.nav-contact a{
  color:white;
  text-decoration:none;
  font-size:0.95rem;
  font-weight:500;
  transition:0.3s;
}

.nav-contact a:hover{
  color:#F47B20;
}

.nav-contact i{
  margin-right:6px;
  color:#F47B20;
}

@media(max-width:768px){

  .nav-contact{
    display:none;
  }

}

.stat-card{

  position:relative;

  background:white;

  padding:40px;

  border-radius:18px;

  overflow:hidden;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06);

  border-top:4px solid #F47B20;

  transition:0.3s;
}



.stat-icon{

  position:absolute;

  top:50%;
  right:50px;

  transform:translateY(-50%);

  font-size:5rem;

  color:#0B1F33;

  opacity:0.4;

  pointer-events:none;
}

/* ========================================= */
/* PROCESS */
/* ========================================= */

.process-section{

  background:white;
}

.process-line{

  display:flex;
  justify-content:space-between;
  align-items:flex-start;

  gap:30px;

  position:relative;

  margin-top:60px;
}

.process-line::before{

  content:"";

  position:absolute;

  top:30px;
  left:10%;

  width:80%;
  height:3px;

  background:#dbe2ea;

  z-index:1;
}

.process-step{

  flex:1;

  text-align:center;

  position:relative;

  z-index:2;
}

.process-number{

  width:60px;
  height:60px;

  margin:0 auto 25px;

  border-radius:50%;

  background:#F47B20;

  color:white;

  font-size:1.4rem;
  font-weight:700;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:
    0 10px 25px rgba(244,123,32,0.25);
}

.process-step h3{

  margin-bottom:15px;

  color:#0B1F33;
}

.process-step p{

  color:#4b5563;

  font-size:0.95rem;
}

/* ========================================= */
/* MOBILE CONTACT + PROCESS */
/* ========================================= */

.mobile-contact{
  display:none;
}

@media(max-width:768px){

  /* kontakt v mobilním menu */

  .mobile-contact{

    display:flex;
    flex-direction:column;

    gap:15px;

    margin-top:35px;
    padding-top:25px;

    border-top:1px solid rgba(255,255,255,0.15);
  }

  .mobile-contact a{

    color:white;
    text-decoration:none;

    font-size:0.95rem;
    font-weight:500;
  }

  .mobile-contact i{

    color:#F47B20;
    margin-right:8px;
  }

  /* postup zakázky pod sebe */

  .process-line{

    flex-direction:column;

    align-items:center;

    gap:50px;
  }

  .process-line::before{

    left:50%;
    top:0;

    width:3px;
    height:100%;

    transform:translateX(-50%);
  }

  .process-step{

    max-width:350px;
    width:100%;
  }

}



.mobile-phone{

  color:#F47B20;
  text-decoration:none;

  font-size:2rem;

  display:flex;
  align-items:center;
  justify-content:center;

  width:50px;
  height:50px;

  border-radius:50%;

  background:rgba(244,123,32,0.15);

  box-shadow:
    0 0 20px rgba(244,123,32,0.25);

  transition:all 0.3s ease;
}

.mobile-phone:hover{

  background:#F47B20;
  color:white;

  transform:scale(1.08);
}

@media(max-width:768px){

  .nav-contact{
    display:none;
  }

  .mobile-actions{
    display:flex !important;
    align-items:center;
    gap:15px;
  }

  .hamburger{
    display:block !important;
  }

}
