/* ========================= */
/* RESET */
/* ========================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    background: #090909;

    color: white;

    font-family: sans-serif;

    overflow-x: hidden;

}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {

    position: fixed;

    top: 18px;

    left: 50%;

    transform: translateX(-50%);

    width: min(92%, 1250px);

    height: 68px;

    padding: 0 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(17, 19, 21, .82);

    backdrop-filter: blur(10px);

    border: 1px solid #2b3036;

    z-index: 100;

}

.nav-logo img {

    height: 42px;

}

.nav-links {

    display: flex;

    gap: 40px;

}

.nav-links a {

    text-decoration: none;

    color: #a7afb9;

    transition: .3s;

}

.nav-links a:hover {

    color: #5eebff;

}

.language-btn {

    background: transparent;

    border: 1px solid #3a434c;

    color: white;

    padding: 10px 18px;

    cursor: pointer;

    transition: .3s;

}

.language-btn:hover {

    border-color: #5eebff;

    box-shadow: 0 0 15px rgba(94, 235, 255, .15);

}

/* ========================= */
/* LANDING */
/* ========================= */

.landing {

    position: relative;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 140px 20px 80px;

    overflow: hidden;

}

/* Grid */

.background-grid {

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),

        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);

    background-size: 60px 60px;

    pointer-events: none;

}

.landing::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(circle at center,

            transparent,

            rgba(0, 0, 0, .5));

}

.landing-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 520px;

    display: flex;

    flex-direction: column;

    align-items: center;

}

/* ========================= */
/* PROFILE */
/* ========================= */

.profile-image {

    width: 130px;

    height: 130px;

    margin-bottom: 30px;

}

.profile-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 6px;

    border: 2px solid #2b3036;

}

/* ========================= */
/* TITLE */
/* ========================= */

.landing-content h1 {

    font-size: clamp(2.5rem, 6vw, 5rem);

    letter-spacing: 5px;

    text-transform: uppercase;

    margin-bottom: 12px;

    text-shadow:

        0 0 10px rgba(94, 235, 255, .18);

}

.landing-content p {

    color: #98a3af;

    margin-bottom: 55px;

    text-align: center;

    line-height: 1.8;

}

/* ========================= */
/* LINKS */
/* ========================= */

.links {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;

}

.link-card {

    position: relative;

    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;

    padding: 18px 24px;

    background: rgba(17, 19, 21, .85);

    border: 1px solid #2b3036;

    text-decoration: none;

    color: white;

    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;

}

/* Left Accent Line */

.link-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: #5eebff;

    transform: scaleY(0);

    transform-origin: top;

    transition: transform .35s ease;

}

/* Shine Effect */

.link-card::after {

    content: "";

    position: absolute;

    top: 0;
    left: -70%;

    width: 45%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.12),
        transparent
    );

    transform: skewX(-20deg);

    transition: left .7s ease;

}

.link-card img {

    width: 28px;
    height: 28px;

    object-fit: contain;

    flex-shrink: 0;

    opacity: .95;

    transition:
        transform .3s ease,
        filter .3s ease;

}

.link-card span {

    flex: 1;

    font-size: 1rem;

    letter-spacing: .6px;

}

/* Hover */

.link-card:hover {

    transform: translateX(10px);

    border-color: #5eebff;

    background: rgba(22, 25, 29, .95);

    box-shadow:
        0 0 18px rgba(94,235,255,.10),
        0 0 35px rgba(94,235,255,.05);

}

.link-card:hover::before {

    transform: scaleY(1);

}

.link-card:hover::after {

    left: 130%;

}

.link-card:hover img {

    transform: scale(1.15);

    filter: drop-shadow(0 0 6px rgba(255,255,255,.35));

}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {

    border-top: 1px solid #2b3036;

    padding: 40px 20px;

    text-align: center;

}

.footer-links {

    display: flex;

    justify-content: center;

    gap: 30px;

    margin-bottom: 18px;

    flex-wrap: wrap;

}

.footer-links a {

    text-decoration: none;

    color: #8e99a5;

    transition: .3s;

}

.footer-links a:hover {

    color: #5eebff;

}

footer p {

    color: #666;

}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 900px) {

    .navbar {

        padding: 0 18px;

    }



    .profile-image {

        width: 100px;

        height: 100px;

    }

    .background-grid {

        background-size: 40px 40px;

    }

}

/* ====================================== */
/* LEGAL PAGE */
/* ====================================== */

.legal-page {

    position: relative;

    min-height: 100vh;

    max-width: 900px;

    margin: 0 auto;

    padding:

        170px

        30px

        100px;

}

/* Background */

.legal-page::before {

    content: "";

    position: fixed;

    inset: 0;

    background:

        linear-gradient(rgba(9,9,9,.92), rgba(9,9,9,.96)),

        url("./assets/images/background.png") center/cover no-repeat;

    filter: blur(4px);

    z-index: -2;

}

.legal-page::after {

    content: "";

    position: fixed;

    inset: 0;

    background-image:

        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),

        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

    background-size: 60px 60px;

    z-index: -1;

}

/* Back Button */

.back-btn {

    display: inline-block;

    margin-bottom: 45px;

    color: #8c98a4;

    text-decoration: none;

    transition: .3s;

}

.back-btn:hover {

    color: #5eebff;

}

/* Title */

.legal-page h1 {

    font-size: clamp(2.2rem,5vw,4rem);

    margin-bottom: 10px;

    letter-spacing: 2px;

}

.last-update {

    color: #8b96a1;

    margin-bottom: 30px;

}

.legal-page hr {

    border: none;

    height: 1px;

    background: #2b3036;

    margin-bottom: 50px;

}

/* Text */

.legal-content {

    display: flex;

    flex-direction: column;

    gap: 35px;

}

.legal-content h2 {

    font-size: 1.3rem;

    color: white;

    margin-bottom: 15px;

}

.legal-content p {

    color: #bcc4cc;

    line-height: 2;

    text-align: left;

}

/* Responsive */

@media (max-width:900px){

    .legal-page{

        padding:

            140px

            22px

            80px;

    }

}

/* ====================================== */
/* ABOUT PAGE */
/* ====================================== */

.about-page {

    max-width: 1100px;

    margin: 0 auto;

    padding: 170px 30px 100px;

}

.about-page h1 {

    font-size: clamp(2.2rem,5vw,4rem);

    margin-bottom: 10px;

}

.about-subtitle {

    color: #8f99a4;

    margin-bottom: 30px;

}

.about-page hr {

    border: none;

    height: 1px;

    background: #2b3036;

    margin-bottom: 70px;

}

.about-block {

    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 45px;

    align-items: center;

    margin-bottom: 80px;

}

.about-block img {

    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    border: 1px solid #2b3036;

}

.about-block h2 {

    font-size: 1.8rem;

    margin-bottom: 18px;

}

.about-block p {

    color: #bcc4cc;

    line-height: 2;

}

/* Responsive */

@media(max-width:900px){

    .about-page{

        padding:140px 22px 80px;

    }

    .about-block{

        grid-template-columns:1fr;

        gap:30px;

    }

}

/* =========================
   WORKSHOP
========================= */

.workshop {
  padding: 140px 10% 80px;
}

.workshop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.workshop-header h1 {
  font-size: 2.4rem;
  letter-spacing: 2px;
}

.tutorial-btn {
  padding: 10px 16px;
  border: 1px solid #2b3036;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.tutorial-btn:hover {
  border-color: #5eebff;
}

/* GRID */

.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* CARD */

.map-card {
  background: rgba(17, 19, 21, 0.9);
  border: 1px solid #2b3036;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.map-card:hover {
  transform: translateY(-6px);
  border-color: #5eebff;
}

.map-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.map-info {
  padding: 12px;
}

.map-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #5eebff;
  color: #000;
  font-size: 12px;
  padding: 4px 8px;
  font-weight: 600;
}

/* COMING SOON */

.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 220px;
  color: #888;
}

/* =========================
   MODAL
========================= */

.map-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.map-modal-content {
  width: 90%;
  max-width: 950px;
  background: #0f141b;
  border: 1px solid #2b3036;
  padding: 20px;
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  float: right;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* HEADER */

.modal-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-header img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #2b3036;
}

.download-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid #2b3036;
  text-decoration: none;
  color: white;
}

.download-btn:hover {
    border: 1px solid #00ccff;
}

/* VIDEO */

#modalVideo {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

/* GALLERY */

.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.gallery img {
  width: 70%;
  border: 1px solid #2b3036;
}

.gallery button {
  background: none;
  border: 1px solid #2b3036;
  color: white;
  padding: 6px 10px;
  cursor: pointer;
}

/* TEXT */

.modal-text h3 {
  margin-top: 20px;
  color: #5eebff;
  font-size: 1rem;
}

.modal-text p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}