@font-face {
    font-family: 'SKODANextW01-Regular';
    src: url('/fonts/SKODANextW01-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SKODANextW01-Bold';
    src: url('/fonts/SKODANextW01-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.welcome-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 58, 47, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.welcome-popup.show .popup-content {
    transform: translate(-50%, -50%) scale(1);
}

.popup-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    font-family: 'SKODANextW01-Bold', sans-serif;
    color: #0E3A2F;
    font-size: 24px;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: #f0f0f0;
    color: #0E3A2F;
}

.popup-body {
    padding: 20px 24px;
}

.popup-description {
    font-family: 'SKODANextW01-Regular', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin: 0 0 24px;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.feature-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.feature-text {
    font-family: 'SKODANextW01-Regular', sans-serif;
    font-size: 14px;
    color: #555;
}

.popup-footer {
    padding: 0 24px 24px;
}

.popup-btn {
    font-family: 'SKODANextW01-Bold', sans-serif;
    width: 100%;
    background-color: #78FAAE;
    color: #000;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    background-color: #a8ffcc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 250, 174, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    color: #333;
    overflow-x: hidden;
}

.header {
    background-color: #0E3A2F;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.language-switcher {
    font-family: 'SKODANextW01-Regular', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

.lang-option {
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-option:hover {
    background-color: rgba(120, 250, 174, 0.2);
    color: #78FAAE;
}

.lang-option.active {
    color: #ffffff;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    user-select: none;
}

.project-info {
    font-family: 'SKODANextW01-Regular', sans-serif;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 15px;
}

.project-info:hover {
    transform: scale(1.05);
    opacity: 0.8;
    color: #78FAAE;
}

.about-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.about-popup.show {
    display: flex;
}

.about-popup .popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
}

.info-icon {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* MAIN CONTENT - CRITICAL FIX FOR POSITIONING */
.main-content {
    position: relative;
    height: calc(100vh - 160px);
    min-height: 600px;
    background-image: url('vjosa2.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 103, 79, 0.3);
    z-index: 2;
}

/* SVG CONTAINER - ABSOLUTE POSITIONING WITH FIXED DIMENSIONS */
.svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.svg-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
}

.content-overlay {
    position: relative;
    z-index: 10;
    padding: 60px 40px;
    display: flex;
    align-items: end;
    min-height: calc(100vh - 160px);
}

.main-message {
    max-width: 270px;
    margin-top: 250px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.main-message h1 {
    font-family: 'SKODANextW01-Regular', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.register-btn {
    font-family: 'SKODANextW01-Bold', sans-serif;
    background-color: #78FAAE;
    color: rgb(0, 0, 0);
    border: none;
    padding: 13px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
    display: inline;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

.register-btn:hover {
    background-color: #a8ffcc;
    transform: translateY(-2px);
}

/* ANIMAL INFO BOX - IMPROVED POSITIONING */
.animal-info {
    position: absolute;
    right: 420px;
    top: 90px;
    background: white;
    padding: 24px 24px;
    width: 700px;
    z-index: 50;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.animal-info.position-right {
    transform-origin: left center;
}

.animal-info.position-left {
    transform-origin: right center;
}

.animal-info.position-top {
    transform-origin: center bottom;
}

.animal-info.position-bottom {
    transform-origin: center top;
}

.animal-info.visible {
    opacity: 1;
    visibility: visible;
    animation: popUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animal-info.hiding {
    animation: popOut 0.3s ease-in-out forwards;
}

.animal-text {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.animal-info h3 {
    font-family: 'SKODANextW01-Regular', sans-serif;
    color: #0E3A2F;
    font-size: 14px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.animal-info h3 a {
    color: #0E3A2F;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.animal-info h3 a:hover {
    color: #78FAAE;
    text-decoration: underline;
    transform: translateY(-1px);
}

.animal-info h3 a:active {
    transform: translateY(0);
}

.animal-subtitle {
    font-family: 'SKODANextW01-Bold', sans-serif;
    color: #0E3A2F;
    font-size: 12px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.animal-description {
    font-family: 'SKODANextW01-Regular', sans-serif;
    font-size: 14px;
    line-height: 1.3;
    color: #444;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    min-height: 0;
}

.animal-icon {
    width: 100px;
    height: 100px;
    background-color: #884513;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.animal-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* LOCATION POINTS - FIXED ABSOLUTE POSITIONS */
.location-point {
    font-family: 'SKODANextW01-Regular', sans-serif;
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #1c3625;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 12;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.location-point:hover {
    transform: scale(1.2);
    background-color: #5cf592;
    color: black;
}

.location-point.active {
    background-color: #5cf592;
    color: black;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(92, 245, 146, 0.4);
    z-index: 15;
}

.location-point.active:hover {
    transform: scale(1.4);
    background-color: #5cf592;
    color: black;
}

/* DESKTOP FIXED POSITIONS - Using viewport-relative units to prevent shifting */
.point-1 {
    top: 11vh;
    left: 28vw;
}

.point-2 {
    top: 50vh;
    left: 47vw;
}

.point-3 {
    top: 25vh;
    left: 41vw;
}

.point-4 {
    top: 47vh;
    left: 40vw;
}

.point-5 {
    top: 36vh;
    left: 50vw;
}

.point-6 {
    top: 42vh;
    left: 60vw;
}

.point-7 {
    top: 52vh;
    left: 60vw;
}

.point-8 {
    top: 55vh;
    left: 68vw;
}

.point-9 {
    top: 74vh;
    left: 71vw;
}

/* CITY LABELS - FIXED POSITIONS */
.city-label {
    font-family: 'SKODANextW01-Regular', sans-serif;
    position: absolute;
    font-size: 11px;
    color: #ffffff;
    font-weight: 500;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.city-narta {
    top: 20vh;
    left: 28.5vw;
}

.city-qesarat {
    top: 30vh;
    left: 42vw;
}

.city-tepelene {
    top: 38vh;
    right: 45vw;
    transform: rotate(-1deg);
}

.city-shushica {
    top: 53vh;
    left: 34vw;
    transform: rotate(30deg);
}

.city-shushica2 {
    top: 35vh;
    left: 28vw;
    transform: rotate(50deg);
}

.city-permet {
    top: 60vh;
    right: 28vw;
    transform: rotate(35deg);
}

.city-kanioni {
    top: 49vh;
    right: 40vw;
    transform: rotate(30deg);
}

.city-carshove {
    top: 75vh;
    right: 29.5vw;
}

.city-vjose {
    top: 40vh;
    left: 41vw;
    transform: rotate(45deg);
}

.city-vjose2 {
    bottom: 10vh;
    right: 29vw;
    transform: rotate(45deg);
}

.footer {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 12px 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-message {
    font-family: 'SKODANextW01-Regular', sans-serif;
    margin-bottom: 0px;
    font-size: 15px;
}

.footer-message a {
    color: black;
    text-decoration: none;
}

.footer-message a:hover {
    color: black;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0E3A2F;
    color: #78FAAE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* MOBILE RESPONSIVE - COMPLETELY SEPARATE POSITIONING */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .main-content {
        height: 100vh;
        min-height: 500px;
    }

    .content-overlay {
        padding: 40px 20px;
    }

    .location-point {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    /* MOBILE SPECIFIC FIXED POSITIONS - Using exact pixel values */
    .point-1 {
        top: 150px;
        left: 60px;
    }

    .point-2 {
        top: 410px;
        left: 130px;
    }

    .point-3 {
                top: 330px;
        left: 130px;
    }

    .point-4 {
                top: 380px;
        left: 90px;
    }

    .point-5 {
               top: 354px;
        left: 180px;
    }

    .point-6 {
              top: 381px;
        left: 225px;
    }

    .point-7 {
               top: 436px;
        left: 235px;
    }

    .point-8 {
      top: 425px;
        left: 290px;
    }

    .point-9 {
                      top: 480px;
        left: 310px;
    }

    .register-btn {
        font-size: 10px;
        padding: 10px 14px;
    }
    .project-info {
        margin:0px;
    }
    .animal-info {
        position: fixed !important;
        top: 50% !important;
        left:50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 320px;
        padding: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-height: 250px;
        overflow-y: auto;
        z-index: 9999;
        margin: 0 auto;
    }
    
    .main-message {
        margin-top: 330px !important;
    }

    .animal-icon {
        width: 80px;
        height: 80px;
    }

    /* MOBILE CITY LABELS - FIXED POSITIONS */
    .city-narta {
        top: 440px;
        left: 60px;
        font-size: 8px;
        transform: none;
    }

    .city-qesarat {
        top: 475px;
        left: 160px;
        font-size: 8px;
        transform: none;
    }

    .city-tepelene {
        top: 510px;
        left: 275px;
        font-size: 8px;
        transform: none;
    }

    .city-shushica {
        top: 565px;
        left: 115px;
        font-size: 8px;
        transform: none;
        transform: rotate(40deg);
    }

    .city-shushica2 {
        top: 490px;
        left: 70px;
        font-size: 8px;
        transform: none;
        transform: rotate(60deg);
    }

    .city-permet {
        top: 590px;
        left: 420px;
        font-size: 8px;
        transform: rotate(45deg);

    }

    .city-kanioni {
        top: 565px;
        left: 285px;
        font-size: 8px;
        transform: rotate(30deg);
        width: 100px;
    }

    .city-carshove {
        top: 625px;
        left: 400px;
        font-size: 8px;
        transform: rotate(60deg);
    }

    .city-vjose {
        top: 500px;
        left: 150px;
        font-size: 8px;
        transform: none;
        transform: rotate(40deg);
    }

    .city-vjose2 {
        top: 592px;
        left: 348px;
        font-size: 8px;
        transform: none;
        transform: rotate(40deg);

    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .footer-message {
        font-size: 12px;
    }
}

/* ANIMATIONS */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(0px);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(0px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
}

@media (max-width: 768px) {
    
    .main-message {
        margin-top: 330px !important;
    }
    
        .city-narta {
        top: 180px;
        
    }
    .point-3 {
        top: 210px;
        left: 130px;
    }
        .point-2 {
        top: 310px;
        left: 200px;
    }
        .point-4 {
        top: 280px;
        left: 130px;
    }
    
        .point-5 {
        top: 254px;
        left: 230px;
    }

        .point-6 {
        top: 261px;
        left: 285px;
    }
        .point-7 {
        top: 306px;
        left: 305px;
    }
        .point-8 {
        top: 304px;
        left: 360px;
    }
        .point-9 {
        top: 380px !important;
        left: 380px;
    }

}
