@font-face {
  font-family: "Rubik";
  src:
    url("/fonts/Rubik-Regular.woff2") format("woff2"),
    url("/fonts/Rubik-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src:
    url("/fonts/Rubik-Light.woff2") format("woff2"),
    url("/fonts/Rubik-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    url("/fonts/Vazirmatn-Regular.woff2") format("woff2"),
    url("/fonts/Vazirmatn-Regular.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zain";
  src:
    url("/fonts/Zain-Regular.woff2") format("woff2"),
    url("/fonts/Zain-Regular.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body {
  padding: 0px;
  margin: 0px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* ---- HEADER ---- */
.header {
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background-color: #87ceeb;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  color: white;
}
.brand-name {
  color: white;
  font-family: Vazirmatn, sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.banner {
  font-family: Vazirmatn, sans-serif;
  font-size: 12px;
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 190px;
}
nav a {
  color: white;
  font-family: Vazirmatn, sans-serif;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}
nav a:hover {
  transition: 0.3s ease;
  color: #1e3a5f;
}

.phone {
  z-index: 1000;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.phone:hover {
  transition: 0.3s ease;
  color: #1e3a5f;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
}


.gallery-container {
  padding: 80px 20px;
  background: linear-gradient(90deg, #f8fafc, #f1f9ff);
  min-height: calc(100vh - 200px);
}

.gallery-title {
  font-family: Zain, sans-serif;
  font-size: 36px;
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: white;
  width: auto;
  height: 280px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 8px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: #87ceeb;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(135, 206, 235, 0.8);
}


.footer {
  background: #87ceeb;
  color: #fff;
  padding: 40px 20px 10px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #1565c0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col h3,
.footer-col h4 {
  font-family: Zain;
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin: 7px 0;
  font-family: Vazirmatn, sans-serif;
  transition: 0.25s;
}

.footer-col a:hover {
  color: #1e3a5f;
}
.footer-col .footer-p {
  font-family: Vazirmatn, sans-serif;
}
.footer-bottom {
  text-align: center;
  padding-top: 18px;
  font-family: Vazirmatn, sans-serif;
  color: #ffff;
  font-size: 14px;
}


@media (max-width: 768px) {
  .gallery-container {
    padding: 60px 15px;
  }
  
  .gallery-title {
    font-size: 30px;
    margin-bottom: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 500px;
  }
  
  .gallery-item {
    height: 240px;
  }
  
  nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 72px;
    background: #87ceeb;
    flex-direction: column;
    padding: 12px 20px;
    margin-left: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
    z-index: 90;
  }

  nav.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    padding: 14px 0;
  }

  nav a:last-child {
    border-bottom: none;
  }

  .phone {
    display: none;
  }
  .phone:hover {
    transition: 0.3s;
    color: #1e3a5f;
  }
  .menu-toggle {
    display: block;
    color: white;
  }

  .menu-toggle:hover {
    opacity: 0.7;
  }

  body.menu-open {
    overflow: hidden;
  }
  
  .footer {
    padding: 30px 15px 10px;
  }

  .footer-top {
    gap: 20px;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 18px;
  }

  .footer-col a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .gallery-title {
    font-size: 26px;
    padding-bottom: 15px;
  }
  
  .gallery-title::after {
    width: 80px;
    height: 3px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col h3,
  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col a {
    margin: 5px 0;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 14px;
  }
  
  .banner {
    font-size: 9.7px;
  }
}

@media (max-width: 425px) {
  nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 72px;
    background: #87ceeb;
    flex-direction: column;
    padding: 12px 20px;
    margin-left: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
    z-index: 90;
  }

  nav.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    padding: 14px 0;
  }

  nav a:last-child {
    border-bottom: none;
  }

  .phone {
    display: none;
  }
  .phone:hover {
    transition: 0.3s;
    color: #1e3a5f;
  }
  .menu-toggle {
    display: block;
    color: white;
  }

  .menu-toggle:hover {
    opacity: 0.7;
  }

  body.menu-open {
    overflow: hidden;
  }
}