/** ======== GLOBAL STYLES ======== **/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

/** ======== ROOT VARIABLES ======== **/
:root {
  --primary-color: #1e4378;
  --secondary-color: #a7b3c9;
  --accent-color: #4a7bc9;
  --text-color: #fff;
}

/** ======== BASE ======== **/
html,
body {
  height: 100%;
  width: 100%;
  line-height: 1.6;
  background-color: #0a1938;
  overflow-x: clip;
}

/** ======== HEADER ======== **/
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  padding: 0 25px;
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container a {
  text-decoration: none;
}

/** ======== LANGUAGE TOGGLE ======== **/
.lang-toggle {
  background: transparent;
  border: 2px solid #d68910;
  color: #d68910;
  font-weight: 700;
  padding: 6px 12px;
  margin-right: 10px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.lang-toggle.active,
.lang-toggle:hover {
  background: #d68910;
  color: #0a1938;
}

/** ======== LOGO ======== **/
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo h2 {
  font-size: 28px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 1px;
  color: var(--text-color);
  opacity: 0.85;
  background-color: #faf8f0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/** ======== NAVIGATION ======== **/
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 0 12px;
  gap: 40px;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
}

nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80%;
}

nav ul li a {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #faf8f0;
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-color);
  transition: width 0.5s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

#nav-home {
  white-space: nowrap;
}

nav.active {
  left: 0;
}

/** ======== MOBILE MENU ======== **/
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  z-index: 1001;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-btn i {
  font-size: 24px;
  color: var(--text-color);
  opacity: 0.8;
}

/** ======== SECTION SPACING ======== **/
section {
  padding: 80px 0 10px 0;
  min-height: 100vh;
}

/** ======== IMAGE GRID ======== **/
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.image-box {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.image-box:hover img {
  transform: scale(1.1);
}

/** ======== MODAL ======== **/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/** ======== RESPONSIVE DESIGN ======== **/

@media (max-width: 1024px) {
  .image-grid {
    gap: 12px;
  }

  section {
    padding: 80px 0 10px 0;
    min-height: 100vh;
  }
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
  }
  section {
    padding: 80px 0 10px 0;
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 80px 0 10px 0;
    min-height: 100vh;
  }
}

@media (max-width: 310px) {
  .logo h2 {
    font-size: 24px;
  }
  .menu-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
  }
  .menu-btn i {
    font-size: 16px;
  }
  section {
    padding: 80px 0 10px 0;
    min-height: 100vh;
  }
}
@media (max-width: 260px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
  .modal img {
    max-width: 95%;
    max-height: 80%;
  }
  section {
    padding: 80px 0 10px 0;
    min-height: 100vh;
  }
  .logo h2 {
    font-size: 15px;
  }
  .menu-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }
  .menu-btn i {
    font-size: 14px;
  }
}

@media (max-width: 180px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .modal img {
    max-width: 95%;
    max-height: 80%;
  }

  section {
    padding: 80px 0 10px 0;
    min-height: 100vh;
  }
  .logo h2 {
    font-size: 10px;
  }
  .menu-btn {
    width: 15px;
    height: 15px;
    border-radius: 50%;
  }
  .menu-btn i {
    font-size: 12px;
  }
}

/** ======== RESPONSIVE STYLES ======== **/
@media screen and (max-width: 1200px) {
  .hero {
    gap: 80px;
  }
  .hero h1 {
    font-size: 2.8rem;
    word-wrap: nowrap;
  }
}

@media screen and (max-width: 1028px) {
  .hero {
    flex-direction: column;
    padding: 160px 40px 80px;
    text-align: center;
    gap: 60px;
  }
  .hero-content {
    max-width: 700px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    width: 90%;
    height: 350px;
    border-radius: 20px 20px 15px 15px;
  }
}

@media screen and (max-width: 880px) {
  header {
    padding: 0;
  }
  .header-container {
    height: 80px;
    padding: 0 25px;
  }
  .menu-btn {
    display: flex;
  }
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(#0e1e42, #01050d);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  nav.active {
    left: 0;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 20px;
    background: transparent;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a {
    width: 100%;
    padding: 15px 0;
    font-size: 1.2rem;
    text-align: center;
  }
  .hero-image {
    width: 90%;
    height: 350px;
    border-radius: 20px 20px 15px 15px;
  }
}
footer {
  text-align: center;
  background-color: #0b1938;
  width: 100%;
  min-height: 10vh;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer span {
  color: #bdbbbb;
  opacity: 0.5;
  font-size: 18px;
  font-family: "Signika Negative", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

@media (max-width: 850px) {
  footer {
    padding: 10px;
  }

  footer span {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  footer {
    padding: 10px;
  }

  footer span {
    font-size: 12px;
  }
}

@media (max-width: 310px) {
  footer {
    padding: 10px;
  }

  footer span {
    font-size: 10px;
  }
}
