@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100..900&display=swap');


@font-face {
  font-family: Quicksand-Light;
  src: url(fonts/Quicksand-Light.ttf) format('truetype'),
   url(fonts/Quicksand-Light.eot) format('truetype'),
   url(fonts/Quicksand-Light.woff) format('truetype'),
   url(fonts/Quicksand-Light.woff2) format('truetype'); 
}

@font-face {
  font-family: Damion-Regular;
  src: url(fonts/Damion-Regular.ttf) format('truetype'),
   url(fonts/Damion-Regular.eot) format('truetype'),
   url(fonts/Damion-Regular.woff) format('truetype'),
   url(fonts/Damion-Regular.woff2) format('truetype');
}
  



*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  font-family: 'Quicksand';
  text-decoration: none;
  transition: all .2s linear;
}

input,
textarea,
body{
  background-color: #A7C5C5;
  color: white;
  overflow-x: hidden;
}

ul{
  list-style: none;
}

button{
  cursor: pointer;
  border: none;
  background: none;
}

img{
  max-width: 100%;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}





/*ScrollBar Settings*/

::-webkit-scrollbar{
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: #eb5940;
}

::-webkit-scrollbar-thumb:hover{
   background: #5c2218 ;
}


/*Header*/
.header{
  margin: 20px;
  border-radius: 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 98%;
  padding: 20px 10%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.123);
}

.logo{
  position: relative;
  font-size: 25px;
  color: black;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

.header a span{
  color: #eb5940;
}

.navlist{
  display: flex;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
}

.navlist a{
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: black;
  padding: 5px 10px;
  font-size: 20px;

}

.navlist a:hover{
  color: #eb5940;
}

#menu-btn {
  font-size: 32px;
  cursor: pointer;
  display: none; 
  padding-top: 5px;
  color: black;
}

.navlist a::after {
  content: "";
  position: absolute;
  left: 50%; 
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ff4b2b;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navlist a:hover::after {
  width: 100%;
}








/*Main Page*/
.hero{
  height: 100%;
  width: 100%;
  min-height: 110vh;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  align-items: center;
  gap: 2rem;
  margin: 70px 90px;
}

.hero-text h5{
  font-size: 45px;
  font-weight: 700;
  color: white;
  margin-bottom: 7px;
}

.hero-text h5 span{
  color: #eb5940;
}

.hero-text h1{
  font-size: 50px;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 7px;
}

.hero-text p
{
  color: white;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.hero-img{
  width: 550px;
  height: auto;
  text-shadow: 0 0 10px black;
}

.hero-text a{
  display: inline-block;
  color: white;
  background: #eb5940;
  border: 1px solid #ff6347;
  padding:  12px 30px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all .55s ease;
}

.hero-text a:hover{
  box-shadow: 0 0 10px 3px #eb5940;
  transform: scaleX(5px);
}

.icons{
  position: absolute;
  top: 50%;
  padding: 0 2%;
  transform: translateY(-50%);
}

.icons i{
  display: block;
  margin: 26px 0;
  font-size: 24px;
  color: #eb5940;
  transition: all .50s ease;
  padding: 5px;
  border-right: 2px solid #eb5940;
}

.icons i:hover{
  color: white;
  transform: translateX(5px);
  border-right: 2px solid white;
}



/* About */
.about{
  background-color: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 40px 40px;
}


.about-text h1{
  font-size: 60px;
  color: #eb5940;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 500;
}

.about-text p{
  color: black;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
}


/* Services */
.services {
  text-align: center; 
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


.sub-title{
  text-align: center;
  font-size: 60px;
  padding-bottom: 20px;
  color: #eb5940;
  font-weight: 500;
}

.card-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card{
  width: calc(max-width / 2);
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 20px;
}  

.card img{
  width: 100%;
  height: auto;
}

.card-content{
  padding: 16px;
}

.card-content h3{
  font-size: 28px;
  margin-bottom: 8px;
  color: #eb5940;
  text-align: center;
}

.card-content p{
  color: black;
  font-size: 14px;
  line-height: 1.1;
  text-align: justify;
}


.read{
  display: inline-block;
  padding: 12px 28px;
  background: #eb5940;
  border-radius: 40px;
  font-size: 16px;
  color: white;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
}

.read:hover{
  box-shadow: 0 0 15px #eb5940;
}



/* Contact */
.contact-section {
  padding: 60px 20px;
  background: #f9f9f9;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.123);
}

.contact-title {
  text-align: center;
  font-size: 60px;
  font-weight: 500;
  color: #eb5940;
  margin-bottom: 50px;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap; /* mobil üçün alt-alta düzülməsinə imkan verir */
}

.contact-info {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
}

.info-item i {
  font-size: 28px;
  color: #eb5940;
  margin-right: 15px;
}

.info-item a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.info-item a:hover {
  color: #eb5940;
}

.contact-image {
  flex: 1;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.logo-slider {
  padding: 20px 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-slider img {
  width: 120px;
  height: auto;
  object-fit: contain;
}



/* FOOTER */
.footer {
  padding: 60px 20px 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.footer-logo span{
  color: #eb5940;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: black;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #eb5940;
}

.footer-col p{
  font-size: 17px;
  color: white;
  line-height: 1.6;
  text-decoration: none;
}
.footer-col p b{
  color: #eb5940;
}
.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 30px;
  color: white;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #eb5940;
}

.footer-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: #eb5940;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: ease 0.3s;
  font-size: 17px;
}

.footer-btn:hover {
  box-shadow: 0 0 10px 3px #eb5940;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  color: black;
}



/* Combi PHP Style */
.service-section {
  background: white;
  margin-top: 110px;
  padding: 60px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap; 
}

.service-image {
  background: #A7C5C5;
  border-radius:25px;
  flex: 1;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  border-radius:25px;
  box-shadow:inset 0 4px 15px rgba(0,0,0,0.1);
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-size: 35px;
  border-bottom: 2px solid #eb5940;
  color: #eb5940;
  margin-bottom: 30px;
  font-weight: 500;
}

.service-text ul {
  list-style: none;
  padding: 0;
  color: black;
}

.service-text li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.service-text li strong {
  color: #eb5940;
}




.copyrightText{
  background: white;
  color: #eb5940;
  font-size: 15px;
  align-items: center;
  text-align: center;
  box-shadow:inset 0 4px 15px rgba(0,0,0,0.1);
}















/* Animation*/

@keyframes slideRight{
  0%{
    transform: translateX(-100px);
    opacity: 0;
  }

  100%{
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideLeft{
  0%{
    transform: translateX(100px);
    opacity: 0;
  }

  100%{
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes modalopen{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}






/* Resolution */

@media (max-width: 1535px){
  .header{
    padding: 15px 3%;
    transition: .2s;
  }

  .icons{
    padding: 0 2%;
    transition: .2s;
  }
}

@media (max-width: 1460px){
  .hero{
    margin: 2px 85px;
    transition: .2s
  }
}

@media (max-width: 1340px){
  .hero-img img{
    width: 100%;
    height: auto;
  }

  .hero-text h1{
    font-size: 45px
  }

  .hero-text h5{
    margin-bottom: 5px;
  }
}

@media (max-width: 1195px){
  .hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 50px auto;
    padding: 40px 20px;
    max-width: 1200px;
    gap: 1.5rem;
    transition: .2s;
    grid-template-columns: 1fr;
  }

  .hero-text{
    padding-top: 10px;
  }
  
  .hero-text p{
    max-width: 500px;
    width: 100%;
    margin: 15px auto;

  }
  .hero-img{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-img img{
    width: 100%;
    height: auto;
  }

  .icons{
    display: none; 
  }
}


@media (max-width: 990px){
  #menu-btn{ 
    display: block; 
  }
  
  .header{
   left: -15px;   
  }
  
  .hero-text h5{
      font-size: 30px;
  }
  
 
   .hero-text h1{
        font-size:25px;
    }
  
  .logo{
      font-size: 20px;
      left: 12px;
  }
  
  .service-text h2{
      font-size: 27px;
  }
  
  .service-text ul li{
      font-size: 12px;
  }

  .hero{
    margin: 50px auto;
  }
  

  .navlist{
    position: absolute;
    top: 105%;
    right: -100%;
    width: 300px;
    height: auto;
    background: #90aaaa;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 50px 20px;
    transition:  all .55s ease;
    border-radius: 10px;
    
  }

  .navlist a{
    display: block;
    color: white;
    margin: 10px 0;
    margin-left: 0;    
  }

  .navlist.open{
    right: 0;
  }

  .contact-title, .sub-title, .about-text .title-about{
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    margin-bottom: 30px;
  }

  .info-item {
    justify-content: center;
  }

    .service-container {
    flex-direction: column;
    text-align: center;
  }

  .service-text {
    margin-top: 20px;
  }
}

@media (max-width: 680px){
  .hero {
    display: flex;
    flex-direction: column;  
    justify-content: center;
    align-items: center;      
    text-align: center;
    margin: 0 auto;           
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 32px;    
  }

  .hero-text p {
    max-width: 90%;          
    margin: 15px auto;
    font-size: 14px;        
  }

  .hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }

  .hero-img img {
    max-width: 100%;
    width: 300px;           
    height: auto;
    display: block;
    margin: 0 auto;
  }
}