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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f1115;
    color: #ffffff;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px 60px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);

    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #ff7a00;
}

.hero {
    position: relative;
    height: 100vh;

    background-image: url('../images/wallpaper.jpg');
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.72)
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 940px;
    padding: 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 14px;

    text-decoration: none;
    font-weight: 700;

    background: #ff7a00;
    color: white;

    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.section {
    padding: 40px 10% 120px;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background: #171b22;
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: #d0d0d0;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 24px;
}

.contact-card {
    background: #171b22;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;
    border-radius: 24px;

    transition: 0.3s;
}

.contact-card img {

    transition: 0.3s;

}

.contact-card img:hover {
    transform: scale(1.08);
}

footer {
    padding: 40px;
    text-align: center;
    color: #d0d0d0;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

footer a:hover {
    color: #ff7a00;
}

.tour_stats{
    color: #d0d0d0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tour_stats a {
    color: #d0d0d0;
    text-decoration: none;
    transition: 0.3s;
}

.tour_stats a::after{
    content: " ↗";
}

.tour_stats a:hover {
    color: #ff7a00;
}

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav ul {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    #profile-image {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }

    .cards {
        grid-template-columns: 1fr;
    }


}

/* =========================
   GALERIE
========================= */

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.gallery-item {
    width: 100%;
    height: 150px;

    object-fit: cover;
    border-radius: 22px;
    cursor: pointer;
    transition: 0.35s;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;

    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;

    font-size: 3rem;
    color: white;
    cursor: pointer;

    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.close-lightbox:hover {
    color: #ff7a00;
    transform: rotate(90deg);
}

/* =========================
   STORY GRID
========================= */

.story-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.story-card {
    background: #171b22;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.35s;
}

.story-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.4);
}

.story-card img {
    width: 100%;
    height: 150px;

    object-fit: cover;
}

.story-content {
    padding: 28px;
}

.story-content h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.story-content p {
    color: #d0d0d0;
}

/* =========================
   STORY POPUP
========================= */

.story-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
    padding: 40px;
}

.story-popup.active {
    opacity: 1;
    visibility: visible;
}

.story-popup-content {
    background: #171b22;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    position: relative;
}

.story-popup-content img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.story-popup-text{
    padding: 60px;
}

.story-popup-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.story-popup-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.story-popup-content p {
    color: #d0d0d0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.close-story {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.close-story:hover {
    color: #ff7a00;
    transform: rotate(90deg);
}

#profile-image {

    width: 220px;
    float: left;
    margin: 0 30px 20px 0;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* =========================
   POPUP
========================= */

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
    padding: 30px;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #171b22;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    padding: 40px;
    position: relative;
}

.popup-content h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.popup-content p {
    margin-bottom: 20px;
    color: #d0d0d0;
    line-height: 1.8;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.close-popup:hover {
    color: #ff7a00;
    transform: rotate(90deg);
}

/* =========================
   GEAR GRID
========================= */

.gear-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}

/* =========================
   GEAR CARD
========================= */

.gear-card {
    background: #171b22;
    padding: 30px;
    border-radius: 24px;
    transition: 0.35s;
}

.gear-card:hover {
    transform: translateY(-6px);
    background: #1d222b;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.gear-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.gear-card p {
    color: #d0d0d0;
    line-height: 1.7;
}

ul.gear-list {
    padding-left: 30px;
    color: #d0d0d0;
}