@import url("./font.css");

/* Aysu/FE-2-Root Start */
:root {
  --black: #000000;
  --white: #ffffff;
  --dark-gray: #333333;
  --medium-gray: #bdbdbd;
  --light-gray: #f2f2f2;
  --input-placeholder-color: #8d8d8d;
  --footer-copyright-color: #c8c8c880;

  --basic-font: "Roboto", sans-serif;
  --footer-copyright-font: "Open Sans", sans-serif;
  --font-size-xs: 12px;
  --font-size-s: 14px;
  --font-size-m: 16px;
  --font-size-l: 22px;
  --font-size-xl: 24px;
  --font-size-2xl: 40px;
  --font-size-3xl: 64px;
}

/*Aysu/FE-2-Root End */

/* Reset CSS Start */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: var(--font-ize-md);
}

/* Reset CSS End */

/* engnn/FE-4-design the header section Start */

.nav-container {
  max-width: 1440px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  color: #333;
  margin: 0 auto;
}

.nav-logo {
  margin-left: 50px;
  margin-top: 10px;
}

.hamburger-menu {
  font-size: 30px;
  cursor: pointer;
  display: none;
}

.nav-list {
  height: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  gap: 80px;
}

.nav-list-item {
  position: relative;
  padding: 10px 10px;
  cursor: pointer;
}

.nav-list-item a {
  color: #333;
  text-decoration: none;
  font-size: 12px;
}

.nav-list-item::before,
.nav-list-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #000000;
  transition: transform 0.8s ease;
}

.nav-list-item::before {
  top: 0;
  transform: scaleX(0);
}

.nav-list-item::after {
  bottom: 0;
  transform: scaleX(0);
}

.nav-list-item.active::before,
.nav-list-item.active::after {
  transform: scaleX(1);
}

.nav-menu a:hover {
  color: #99c3d3;
}

@media (max-width: 1000px) {
  .hamburger-menu {
    display: block;
    margin-top: 10px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    height: calc(100vh - 120px);
    transform: translate(-50%, -50%);
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: #fff;
  }

  .show-menu .nav-menu {
    display: flex;
  }

  .nav-list {
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    gap: 5px;
  }

  .nav-list {
    margin: 10px 0;
  }
}

/* engnn/FE-4-design the header section End */
/* Kubra/ FE-15 Photo Gallery Section End */
.gallery-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.gallery-wrapper {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-header {
    
    font-family: var(--basic-font);
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
}

.gallery-head {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--black);
    line-height: 64px;
}

.gallery-head-span {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    color: var(--medium-gray);
}

.gallery-photos-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 20px; 
    justify-content: center;
    margin-top: 10px;
}

.gallery-item {
    width: 100%;
    height: 180px; 
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    scale: 1.05; 
    
}


.gallery-button-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.gallery-counter {
    font-size: var(--font-size-xl);
    font-family: var(--basic-font);
    color: var(--medium-gray);
}

button {
    padding: 10px 16px;
    border: none;
    background-color: gray;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: gray;
}


.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}


@media (max-width: 768px) {
    .gallery-photos-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
        gap: 10px;
    }

    .gallery-item {
        height: 150px;
    }

    button {
        padding: 8px 12px;
    }
}

/* Kubra/ FE-15 Photo Gallery Section End */
/* Şeyma Günay / FE-8 creat footer start */

.footer {
    display: grid;
    grid-template-columns: 10% 30% 30% 30%;
    background-color: #2c2c2c;
    padding: 25px 30px;
    color: #fff;
    /* width: 98%; */
    max-width: 1440px;
    margin: 20px auto;
    font-family: var(--basic-font);
    font-size: var(--font-size-m);
  }
  .footer .left {
   display: flex;
    justify-content: space-evenly;
  }
  .footer img {
    width: 145px;
    height: 94px;
    margin-left: 20px;
  }
  .footer .left a {
  text-decoration: none;
    color: #fff;
    margin-left: -35px;
  }
  .footer .left ul li {
    list-style-type: none;
    margin-top: 17px;
  }
  .footer .information ul li a {
    margin-left: 2px;
  }
  .footer .contacts .contacts-list {
  display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
  }
  .footer .right .class {
    margin-top: 25px;
  }
  .footer .contacts .contacts-list i {
    margin-right: 5px;
  }
  .footer .right i {
    margin-right: 30px;
  }
  .footer i:hover,
  .footer li:hover {
    transform: translateY(-3px) translateX(-5px);
  }
  @media (max-width: 1210px) {
    .footer {
      display: grid;
      grid-template-columns: 1fr 1fr;
  }
    .footer img {
      margin: 20px auto;
   }
    .footer .contacts {
      text-align: center;
      margin-bottom: 30px;
   }
    .footer .right {
      margin: 0px auto;
   display: flex;
      flex-direction: column;
      justify-content: center;
  }
    .footer .right .class {
      display: inline;
   }
  }
  @media (max-width: 780px) {
    .footer {
      display: grid;
      grid-template-columns: 1fr;
      text-align: center;
  }
    .footer .contacts {
      margin: 20px auto;
  }
    .footer img {
      margin: 20px auto;
   }
  }
  /* Şeyma Günay / FE-8 creat footer end */