/*solar-power-plant_style.css*/

*{margin:0;padding:0;}
body{background:var(--bg);color:var(--dark);line-height:1.7;}
section{width: 100%;padding:50px 10px;}
.container{width: 100%;max-width:var(--max-width);margin:auto;}
h1,h2,h3{color:var(--dark);line-height:1.15;font-weight:800;}
h1{font-size:clamp(42px,6vw,72px);margin-bottom:24px;}
h2{font-size:clamp(30px,4vw,48px);margin-bottom:22px;}
h3{font-size:22px;margin-bottom:14px;}
p{color:var(--muted);margin-bottom:16px;}
ul{list-style:none;padding-left:0;}
li{margin-bottom:10px;}
.section-5{padding:0;}

button{
  padding:12px 24px;
  border:none;
  background:var(--accent);
  color:#fff;
  cursor:pointer;
  border-radius:6px;
  font-weight:600;
  margin-bottom: 15px;
}
button:hover{opacity:0.9}

  /* HERO */
.hero{
  width:100%;
  overflow:clip;
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}

.hero h1,
.hero h2,
.hero h3{
  color:#fff;
}

.hero p,
.hero li,
.hero span{
  color:#cbd5e1;
}

.background-image-hero{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:0;
}

.hero-btn{
  padding:20px 40px;      
  font-size:clamp(18px, 2vw, 22px);       
  border-radius:10px;     
  font-weight:700;
  min-width:260px;
  box-shadow:0 15px 40px rgba(0,195,255,0.3);
  transition:all .3s ease;
}

.hero-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(0,195,255,0.5);
}


/* ===== SECTION 2 PREMIUM STYLE ===== */

.section-2{
  position:relative;
  overflow:hidden;
}

/* фон справа з градієнтним затуханням */
.section-2::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:50%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0.25;
  pointer-events:none;
}

/* піднімаємо контент вище фону */
.section-2 .container{
  position:relative;
  z-index:2;
}

/* стиль списків */
.card ul{
  margin-bottom:30px;
}

.card li{
  position:relative;
  padding-left:28px;
  margin-bottom:14px;
  font-weight:500;
}

/* велика акцентна крапка */
.card li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:10px;
  height:10px;
  background:var(--accent);
  border-radius:50%;
  box-shadow:0 0 0 4px rgba(0,195,255,0.15);
}

/* розділення блоків */
.card h3{
  margin-top:30px;
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  color:var(--dark);
}


/* ===== IMAGE INSIDE CARD (RIGHT SIDE WITH GRADIENT) ===== */

.card{
  position:relative;
  overflow:hidden; /* щоб картинка не вилазила */
  z-index:1;
}

/* псевдоелемент з картинкою */
.card::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:60%;
  height:100%;

  background:
    linear-gradient(to left,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.7) 40%,
      rgba(255,255,255,0.95) 65%,
      rgba(255,255,255,1) 100%
    ),
    url("/assets/images/hero_01.png");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  opacity:0.25;
  pointer-events:none;
  z-index:0;
}

/* текст поверх картинки */
.card > *{
  position:relative;
  z-index:2;
}



/* =========================
   PREMIUM SECTION 4
========================= */

.section-4{
  position:relative;
  padding:120px 20px;
  background:linear-gradient(135deg,#0f172a 0%, #111827 100%);
  color:#fff;
  overflow:hidden;
}

/* subtle glow accent */
.section-4::before{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  background:radial-gradient(circle, rgba(0,195,255,0.25) 0%, transparent 70%);
  top:-200px;
  right:-200px;
  filter:blur(80px);
}

/* grid */
.section-4-wrapper{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  position:relative;
  z-index:2;
}

/* typography */
.section-4 h2{
  font-size:42px;
  font-weight:700;
  margin-bottom:25px;
}

.section-4 h1,
.section-4 h2,
.section-4 h3{
  color:#fff;
}

.section-4 p,
.section-4 li,
.section-4 span{
  color:#cbd5e1;
}


.section-4 .section-4-lead{
  font-size:20px;
  color:#cbd5e1;
  margin-bottom:40px;
  max-width:500px;
}

/* premium list */
.section-4-list{
  list-style:none;
  padding:0;
}

.section-4-list li{
  position:relative;
  padding-left:35px;
  margin-bottom:20px;
  font-size:18px;
  font-weight:500;
  transition:.3s;
}

.section-4-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 15px var(--accent);
}

/* subtle hover lift */
.section-4-list li:hover{
  transform:translateX(6px);
  color:#fff;
}

/* image styling */
.section-4-image{
  position:relative;
}

.section-4-image img{
  width:100%;
  border-radius:20px;
  box-shadow:0 40px 80px rgba(0,0,0,0.4);
  transition:.5s;
}

.section-4-image::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  background:linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}

.section-4-image:hover img{
  transform:scale(1.03);
}

/* responsive */
@media(max-width:992px){
  .section-4-wrapper{
    grid-template-columns:1fr;
    gap:50px;
  }
  .section-4 h2{
    font-size:32px;
  }
}

/* =========================
   PREMIUM SECTION 5
========================= */

.section-5{
  position:relative;
  padding:60px 20px;
  background:linear-gradient(135deg,#00c3ff 0%, #111827 100%);
  color:#fff;
  overflow:hidden;
}

.section-5 h2{
  text-align:center;
  font-size:42px;
  margin-bottom:20px;
}

.section-5 p{
  text-align:center;
  color:#cbd5e1;
  margin-bottom:70px;
  font-size:18px;
}

.section-5 h1,
.section-5 h2,
.section-5 h3{
  color:#fff;
}

.section-5 p,
.section-5 li,
.section-5 span{
  color:#cbd5e1;
}


/* grid */
.section-5-process{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:12px;
}

/* card */
.section-5-step{
  position:relative;
  padding:40px 30px;
  border-radius:20px;
  backdrop-filter:blur(20px);
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  transition:.4s;
  overflow:hidden;
}

/* glow accent */
.section-5-step::before{
  content:"";
  position:absolute;
  width:200px;
  height:200px;
  background:radial-gradient(circle, rgba(0,195,255,0.3) 0%, transparent 70%);
  top:-60px;
  right:-60px;
  opacity:0;
  transition:.5s;
}

/* number */
.section-5-step span{
  display:block;
  font-size:48px;
  font-weight:800;
  color:rgba(255,255,255,0.2);
  margin-bottom:10px;
}

/* title */
.section-5-step h3{
  font-size:20px;
  margin-bottom:15px;
}

/* text */
.section-5-step p{
  font-size:15px;
  color:#cbd5e1;
  text-align:left;
  margin:0;
}

/* hover effect */
.section-5-step:hover{
  transform:translateY(-8px);
  border-color:rgba(0,195,255,0.5);
}

.section-5-step:hover::before{
  opacity:1;
}


/* ================= NEW SECTION 6 PROJECTS ================= */

.section-6{
  background:#0f172a;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.section-6 h1,
.section-6 h2,
.section-6 h3{
  color:#fff;
}

.section-6 p,
.section-6 li,
.section-6 span{
  color:#cbd5e1;
}

.projects-wrapper{
  position:relative;
  margin-top:60px;
}

.projects-container{
  overflow:hidden;
}

.projects-track{
  display:flex;
  transition:transform .6s ease;
}

.project-card{
  min-width:33.3333%;
  padding:15px;
}

.project-inner{
  background:#111827;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 5px 5px rgba(0,0,0,0.4);
  transition:.4s;
}

.project-inner:hover{
  transform:translateY(-10px);
}

.project-inner img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.project-content{
  padding:25px;
}

.project-content h3{
  margin-bottom:10px;
  font-size:20px;
  text-align:left;
}

.project-content p{
  color:#cbd5e1;
  font-size:14px;
  text-align:left;
}

/* arrows */

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:var(--accent);
  border:none;
  color:#fff;
  font-size:24px;
  width:50px;
  height:50px;
  border-radius:50%;
  cursor:pointer;
  z-index:5;
}

.carousel-btn.left{left:-25px;}
.carousel-btn.right{right:-25px;}

/* ================= SECTION 7 ================= */

.section-7 .process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.process-item{
  background:#fff;
  padding:30px;
  border-radius:12px;
  text-align:center;
  font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* затемнення для читабельності */
.hero::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(
    rgba(15,23,42,0.75),
    rgba(15,23,42,0.75)
  );
  z-index:1;
}

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

/* 2 column layout */
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}
.card{
  background:#fff;
  padding:40px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* Process grid */
.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* Image section */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}
/* image split */
.split img{
  width:100%;
  border-radius:var(--radius);
}

/* RESPONSIVE */
@media(max-width:992px){
  .two-col,
  .split{grid-template-columns:1fr}
  .process{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .process{grid-template-columns:1fr}
}

/* =========================
   GLOBAL MOBILE FIX LAYER
========================= */

@media (max-width: 992px) {

  /* будь-які 2 колонки → 1 */
  .two-col,
  .split,
  .grid2,
  .section-4-wrapper {
    grid-template-columns: 1fr !important;
  }

  /* каруселі */
  .project-card {
    min-width: 50%;
  }

  /* загальні відступи */
  section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {

  /* ВСЕ в одну колонку */
  .project-card {
    min-width: 100%;
  }

  .process {
    grid-template-columns: 1fr !important;
  }

  .section-7 .process {
    grid-template-columns: 1fr !important;
  }

  /* тексти */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  p {
    font-size: 15px;
  }

  /* hero кнопка */
  .hero-btn {
    min-width: auto;
    width: 100%;
    padding: 16px;
  }

  /* картки */
  .card {
    padding: 24px;
  }

  .section-4 {
    padding: 60px 16px;
  }

  .section-5-step {
    padding: 24px;
  }

  /* прибрати "візуальний шум" */
  .carousel-btn {
    display: none;
  }
}

@media (max-width: 480px) {

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .hero-content ul li {
    font-size: 14px;
  }
}