/******FONTS-ROBOTO SERIF AND MONTSERRAT*******/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');


/************* VARIABLES CSS *************/
:root{
     --header-height: 3rem;

     /************* colors *************/
     --body-color:#000000;
     --text-color: #ffffff;
     --theme-color: #490202;
     --themehover-color: #140000;

     /**************fonts*******************/
     --body-font: "Montserrat", sans-serif;
     --title-font: "Montserrat", sans-serif;
     --navbar-font:"Montserrat", sans-serif;
     --bottom-two-font: "Montserrat", sans-serif;
     
     /************* font-sizes *************/
     --title-font-size: 150px;
     --span--font-size: 15px;
     --text-font-size: 25px;
     --button-font-size: 36px;
     --other-title-font-size:70px;

     /************* letter-spacing *************/
      --title-letter-spacing: 12%;
      --navlist-letter-spacing: 2px;
      --text-letter-spacing: 2%;
      color-scheme: only light; 
}


@media (max-width: 1440px){
  :root{
     --title-font-size: 110px;
     --span--font-size: 13px;
     --text-font-size: 22px;
     --button-font-size: 35px;
     --other-title-font-size:70px;
  }
}

@media (max-width: 800px){
:root{
  --title-font-size: 80px;
   --text-font-size: 18px;
    --other-title-font-size:70px;
  }
}

@media (max-width: 500px){
:root{
 
    --other-title-font-size:60px;
  }
}


body.dark-mode {
 --body-color: #2C2A00;
     --text-color: #ffffff;
     --text-emphasis-color: #cc9d02;
     --second-button-color: #524e01;
}

/************** BASE **************/
section{
  height: 100%;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
   
}


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  
}

body {
  
  font-family: var(--body-font);
  font-size: var(--text-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
 
   max-width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  font-weight: 100;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.main {
  overflow-x: hidden;
  
}

.swiper-pagination-bullet {
  background: var(--body-color) !important;
  opacity: .75 !important;
}

.swiper-pagination-bullet-active {
  background: var(--second-button-color) !important;
}

/* HEADER */

.header{
    width: 100%;
    position: fixed;
  top: 0;
  left: 0;
  z-index: 5555000;
  background-color: transparent;
  display: block;
  transition: ease-in 0.7s;
}
header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 6px rgba(129, 129, 129, 0.1);
  }
.logo-img{
    width: 120px;
    height: auto;
    
}
.menu-icon, .close-icon{
    display: none;
}

.navmenu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10vw;
    padding-top: .5rem;
    padding-right: 11.2vw;
}

.navlist{
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
 
}

.navitem{
    font-size: 20px;
    font-family: var(--body-font);
    letter-spacing: var(--navlist-letter-spacing);
    border-bottom: 1px solid transparent;
    transition: ease-in-out 0.5s;
}
.navitem:hover{
    border-bottom: 1px solid white;
    
}



.navlink{
    letter-spacing: var(--navlist-letter-spacing);
    color: var(--text-color);
    font-weight: 400 ;

}

.navbuttons{
    display: inline-flex;
    gap: .5rem;
}

.navbuttons i:hover{
     border-bottom: 1px solid white;
}

/*HOME*/
.home{
    height: auto;
    display: flex;
    justify-content: center;
    padding-top: 18rem;
    padding-bottom: 13rem;
     background:linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 20%, transparent 60%),
    url(autooazaphotos/autooazahome.webp);
     background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.homecontainer{
    display: flex;
    flex-direction: column;
    text-align: center;
     max-width: 1600px;
   align-items: center;
  height: auto;

}

.home-section-title{
    font-size: var(--title-font-size);
    font-family: var(--title-font);
    letter-spacing: 5px;
    font-weight: 500;
    text-align: center;
   
}


.hometitlepackage{
    margin-bottom: 1rem;
}
.home-section-text{
    margin-bottom: 5rem;
    letter-spacing: .3px;
    font-weight: 300;
    
}

.home-button{
   max-width: 400px;
    background-color: var(--theme-color);
    color: var(--text-color);
    border-radius: 30px;
    padding: 1.3rem 4rem;
    font-weight: 500;
    
    font-size: 22px;
    transition: ease-out 0.5s;
}
   
.home-button:hover{
    background-color: var(--themehover-color);
}
.titlesquig{
    width: 100%;
}

/*ABOUT*/

.about
{
  height: auto;
  background:linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 60%),
  url(autooazaphotos/autooazzaabout.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
 
.aboutcontainer{
  padding-top: 6rem;
  padding-bottom: 10rem;
  clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
  background-color: var(--body-color);
  width:80%;
  height: 100%;
  overflow-x: hidden;
}

.aboutdata{
  padding-right: 20rem;
  padding-left: 10rem;
text-align: left;
}

.section-title{
   font-size: var( --other-title-font-size);
    letter-spacing: 5px;
    font-weight: 400;
    margin-bottom: 3rem;
}

.section-text{
  font-size: 22px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 5rem;
    letter-spacing: 1px;
    padding-right: 30rem;
}

.about-button{
    background-color: var(--theme-color);
    color: var(--text-color);
    border-radius: 30px;
    padding: 1.5rem 4rem;
    font-weight: 500;
    margin-left: 5.5rem;
    font-size: 24px;
    transition: ease-out 0.5s;

}

.about-button:hover{
    background-color: var(--themehover-color);
    font-size: 24.3px;
}

/*SERVICES*/
.services-section {
  background: #000;
  color: #fff;
  padding: 80px 70px;
  text-align: center;
}

.services-description {
  font-size: 22px;
  color: #dadada;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}



.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  max-height: 700px;
}

.service-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}


.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 30%, transparent 100%);
  z-index: 1;
}


.service-card .card-content {
  position: absolute;
  bottom: 0;
  padding: 20px;
  z-index: 2;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}


.service-card h3 {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}


.service-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #ddd;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}


.service-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.service-card:hover::before {
  background: linear-gradient(to top, #490202cc 10%, transparent 100%);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-section {
  padding: 80px 10px;
}
.service-card {
  max-height: 400px;
}
}
/*gallery*/
.gallery{
  padding-block: 5rem;
  height: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.gallery-section-title{
  font-size: var(--other-title-font-size);
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 400;
}
.gallery-gallery {
  flex: 1;
  min-width: 280px;
  max-width: 950px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-gallery .swiper {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
 
}

.gallery-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.swiper-pagination-bullet {
  background: white !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: white !important;
}

/*contact*/

.contact{
    height: auto;
    padding: 5rem 5vw;
    background: linear-gradient(to bottom, #000000,#0e0000 );
}
.contactdata{
    text-align: center;
}
.contact-section-title{
    font-size: var(--other-title-font-size);
    letter-spacing: 4px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 7rem;
}



.contact-box{
display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  }

  .map-embed iframe{
    border-radius: 40px;
     min-width: 300px;
  height: 100%;
  }
  .map-embed  {
  width: 500px;
  min-width: 300px;
  height: 100%;
  
}

.map-embed  iframe {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  min-height: 300px;
}

  .contact-item i{
    font-size: 26px;
  color:var(--theme-color);
}


.contact-list{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-left: 1rem;
}
.contact-item a{
  font-size: 22px;
    color:var(--text-emphasis-color);
    font-weight: 400;
    transition: linear 0.5s;
}
.contact-item a:hover{
    color:var(--theme-color);
    
}


[data-sr] {
  visibility: hidden;
}

/* Footer */
.footer {
  padding: 4rem;
  text-align: center;
  background-color:#0e0000;
  color: var(--text-emphasis-color);
  font-size: 1rem;
  
}
@media (max-width: 1700px){
 
  .about-button{
    margin-left: 0;
  }
  .section-text{
    padding-right: 15rem ;
  }
}



@media (max-width: 1440px){

.home-section-text{
    margin-bottom: 3rem;
    letter-spacing: .3px;
    font-weight: 300;
    
}

.home-button{ 
    font-weight: 400;
    font-size: 20px;  
}
   .aboutdata{
    padding-right: 18rem;
   }
.section-text{
    padding-right: 7rem ;
  }

}



@media (max-width: 1200px){
  .logo-img{
    padding-top: 10px;
    width: 110px;
  }
 
  .navmenu{
    height: var(--header-height);
   padding-top: 3rem;
   padding-bottom: 3rem;
   
  }

  .navlist{
    position: fixed;
    top: -120%;
    left:0;
    background-color: var(--body-color);
    width: 100%;
    padding-block: 4rem;
    box-shadow: 0 8px 16px var(--text-color);
    border-radius: 0 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: ease-in-out .3s;
  }

  .navbuttons{
    display: inline-flex;
    justify-content: space-around;
    gap: .5rem;
    z-index: 1000;
    font-size: 22px;
  }

  .menu-icon{
    display: block;
  }
  .show-menu{
    top: 0;
  }
  .fb-icon, .ig-icon{
    z-index: -100000000;
  }

 .about{
  padding-bottom: 10rem;
 }

.aboutcontainer{
 padding: 2rem;
 clip-path: polygon(0 0, 100% 0%, 100% 53%, 0 92%);
  background-color: var(--body-color);
  width:100%;
  height: 70%;
}

.aboutdata{
  padding-right: 0;
  padding-left: 0;
text-align: center;
margin-bottom: 21rem;
}

.section-text{
  font-size: 20px;
    padding-right: 0;
}

.about-button{
    margin-left: 0;
    font-size: 22px;
}

.service-card h3 {
  font-size: 30px;
}

.service-card p {
  font-size: 16px;
}

}

@media (max-width: 800px){

  .home{
    padding-top: 13rem;
  }
.titlesquig{
  width: 80%;
}

.about{
  padding-bottom: 5rem;
 }
.aboutcontainer{
  clip-path: polygon(0 0, 100% 0%, 100% 81%, 0 100%);
}
.about-button{
  white-space: nowrap;
}
.aboutdata{
  margin-bottom: 10rem;
}
.contact-section-title{
  font-size: 60px;
}
}

@media (max-width: 500px){
.aboutcontainer{
  clip-path: polygon(0 0, 100% 0%, 100% 86%, 0 100%);
}
  .aboutdata{
margin-bottom: 15rem;
}

.service-card {
  max-height: 300px;
}
.service-card h3 {
  font-size: 25px;
}

.service-card p {
  font-size: 12px;
}
.service-card .card-content {
  position: absolute;
  bottom: 0;
  padding: 10px;
  padding-bottom: 5px;
  z-index: 2;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.contact-section-title{
  font-size: 50px;
}
}

@media (max-width: 380px){

  .contact-section-title{
  font-size: 40px;
  letter-spacing: -1px;
  text-wrap: wrap;
}
}