:root {
    --accent-color: #ecb63a;
    --penguin-yellow: #ecb63a;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow: auto;
}

body:has(> .main-container) {
    overflow: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 1200px 800px at 70% 20%, rgba(255, 255, 255, 0.060) 0%, rgba(255, 255, 255, 0.055) 35%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

#loading-screen {
    position: fixed;
    inset: 0;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

#loading-screen .logo {
    width: 80px;
    height: auto;
    margin-bottom: 25px;
    animation: logo-zoom 2s ease-in-out infinite alternate;
}

@keyframes logo-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.loading-bar {
    width: 200px;
    height: 2px;
    background-color: #222;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background-color: #fff;
    animation: loading-anim 2.5s ease-out forwards;
}

@keyframes loading-anim {
    0% { width: 0%; }
    100% { width: 100%; }
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.main-container .site-title,
.main-container .logo,
.main-container .main-text,
.main-container .buttons {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.main-container.visible .logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.main-container.visible .site-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.main-container.visible .main-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.main-container.visible .buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.site-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.main-container .logo {
    width: 100px;
    height: auto;
    margin-bottom: 25px;
}

.main-text {
    font-size: 1.25rem;
    margin: 0;
    letter-spacing: 1px;
}

#changing-text {
    color: var(--penguin-yellow);
    font-weight: 600;
    margin: 0 4px;
    transition: opacity 0.4s ease-in-out;
}

.bold-text {
    font-weight: 600;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 25px;
}

.buttons a {
    position: relative;
    text-decoration: none;
    color: #888;
    padding: 5px 3px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.buttons a:hover {
    color: var(--penguin-yellow);
}

.buttons a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: var(--penguin-yellow);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-out;
}

.buttons a:hover::after {
    width: 100%;
}

.page-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-container h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-container p {
    line-height: 1.7;
    font-size: 1rem;
    color: #999;
    text-align: left;
}

.back-button {
    color: #666;
    text-decoration: none;
    margin-bottom: 3rem;
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.back-button:hover {
    color: #fff;
}

#map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.map-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.card-short-description {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.card-details-button {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.card-details-button:hover {
    background-color: #fff;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-close-button:hover {
    color: #fff;
}

.modalSwiper {
    width: 100%;
    height: 400px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.modalSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalSwiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem !important;
}

.swiper-pagination-bullet {
    background: #555 !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}

.modalThumbsSwiper {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    padding: 5px 0;
    margin-top: -10px;
}

.modalThumbsSwiper .swiper-slide {
    width: 100px !important;
    height: 70px !important;
    opacity: 0.4;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: opacity 0.3s, border 0.3s;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modalThumbsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modalThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--accent-color);
}

#modal-title {
    color: #fff;
    margin: 0 0 1rem 0;
}

#modal-short-description {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

#modal-long-description {
    color: #ccc;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.buy-button {
    background-color: var(--accent-color);
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #fff;
}

@media (max-width: 768px) {
    .modalSwiper {
        height: 250px;
    }

    .modalThumbsSwiper .swiper-slide {
        width: 80px !important;
        height: 60px !important;
    }

    .modal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}