* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    color: #d4d4d4;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(40, 40, 40, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 60, 60, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #242424 100%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    width: 100%;
    padding: 2.5rem 4rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f0f0f0;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.7rem;
    color: #6a6a6a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #aaa;
    margin-right: 4.5rem;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    border-bottom-color: #555;
}

.header-logo-icon {
    position: absolute;
    right: 0;
    top: -1rem;
    width: 80px;
    height: auto;
    opacity: 1;
}

.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#home {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 2rem;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 100%;
}

.home-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.home-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-right img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    object-fit: cover;
    height: 300px;
}

.home-description {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 2px solid #3a3a3a;
    padding-left: 1.5rem;
}

.home-description strong {
    color: #ececec;
}

h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0;
    color: #ececec;
    line-height: 0.9;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

h1 span {
    display: block;
    font-weight: 400;
    font-size: 0.35em;
    letter-spacing: 0.2em;
    color: #888;
    margin-top: 0.5rem;
    text-transform: uppercase;
    padding-left: 0.1rem;
}

.contact-block {
    border-left: 2px solid #3a3a3a;
    padding-left: 1.5rem;
}

.contact-block .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #5a5a5a;
    letter-spacing: 0.15em;
    margin-bottom: 0.3rem;
    display: block;
}

.contact-block .value {
    font-size: 1.1rem;
    color: #e8e8e8;
    font-weight: 500;
}

.contact-block .value.large {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact-block .value.large a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-block .value.large a:hover {
    color: #ffffff;
}

#tours {
    padding-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ececec;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
}

.tour-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.tour-card:active {
    transform: scale(0.98);
}

.tour-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.tour-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tour-card-desc {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tour-card-btn {
    align-self: flex-start;
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 0.2rem;
    transition: color 0.3s, border-color 0.3s;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.tour-card-btn:hover {
    color: #fff;
    border-color: #fff;
}

#booking {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 4rem;
    text-align: center;
    min-height: 60vh;
}

#booking h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ececec;
    margin-bottom: 1.5rem;
}

#booking .booking-phones {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
}

#booking .booking-phones a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

#booking .booking-phones a:hover {
    color: #aaa;
}

#tour-detail {
    padding-bottom: 2rem;
}

.detail-back {
    display: inline-block;
    margin-bottom: 2rem;
    color: #7a7a7a;
    cursor: pointer;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 0.2rem;
    transition: all 0.3s;
}

.detail-back:hover {
    color: #fff;
    border-color: #fff;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.detail-main-media {
    width: 100%;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #1a1a1a;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.detail-main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-main-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.detail-main-media video::-webkit-media-controls-download-button {
    display: none !important;
}

.detail-thumbs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.detail-thumbs .thumb-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    display: none;
}

.detail-thumbs .thumb-item.active {
    border-color: #fff;
}

.detail-thumbs .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.detail-thumbs .thumb-item .thumb-video-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 2px;
    padding: 1px 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    pointer-events: none;
}

.detail-thumbs .thumb-item .thumb-video-badge svg {
    width: 12px;
    height: 12px;
    fill: #ff0000;
}

.detail-thumbs .thumb-item .thumb-video-badge span {
    color: #fff;
    font-size: 0.5rem;
}

.detail-info h2 {
    font-size: 2.5rem;
    color: #ececec;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-info p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.detail-info strong {
    color: #ececec;
}

.footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.reviews-link {
    color: #7a7a7a;
    text-decoration: none;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 0.1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-link:hover {
    color: #d4d4d4;
    border-bottom-color: #d4d4d4;
}

.work-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-time .badge {
    background: #2a2a2a;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
}

.no-media-message {
    color: #666;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    display: none;
}

@media (max-width: 1024px) {
    .container {
        padding: 2rem 2.5rem;
    }

    .home-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1.5rem;
    }

    .header {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-sub {
        font-size: 0.6rem;
    }

    .nav-links {
        gap: 1.2rem;
        font-size: 0.85rem;
        margin-right: 0;
        width: auto;
    }

    .header-logo-icon {
        position: relative;
        right: auto;
        top: auto;
        width: 50px;
        margin-left: auto;
    }

    .home-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-left {
        gap: 1.5rem;
    }

    .home-right img {
        height: 200px;
    }

    .home-description {
        font-size: 0.95rem;
        padding-left: 1rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    .contact-block .value.large {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .tours-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .tour-card img {
        height: 180px;
    }

    .tour-card-body {
        padding: 1rem;
    }

    .tour-card-title {
        font-size: 1.2rem;
    }

    .tour-card-desc {
        font-size: 0.85rem;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-main-media {
        min-height: 250px;
    }

    .detail-thumbs .thumb-item {
        width: 70px;
        height: 70px;
    }

    .detail-info h2 {
        font-size: 2rem;
    }

    .detail-info p {
        font-size: 0.95rem;
    }

    #booking h2 {
        font-size: 1.5rem;
    }

    #booking .booking-phones {
        font-size: 1.6rem;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        font-size: 0.8rem;
        margin-top: 2rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.8rem;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    .header-logo-icon {
        width: 40px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .home-right img {
        height: 160px;
    }

    .home-description {
        font-size: 0.85rem;
        padding-left: 0.8rem;
    }

    .contact-block .value.large {
        font-size: 1.2rem;
    }

    .contact-block .value {
        font-size: 0.95rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .tour-card img {
        height: 160px;
    }

    .tour-card-title {
        font-size: 1.1rem;
    }

    .tour-card-desc {
        font-size: 0.8rem;
    }

    .tour-card-body {
        padding: 0.8rem;
    }

    .detail-main-media {
        min-height: 200px;
    }

    .detail-thumbs .thumb-item {
        width: 55px;
        height: 55px;
    }

    .detail-info h2 {
        font-size: 1.6rem;
    }

    .detail-info p {
        font-size: 0.85rem;
    }

    .detail-back {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    #booking h2 {
        font-size: 1.2rem;
    }

    #booking .booking-phones {
        font-size: 1.3rem;
    }

    .footer {
        font-size: 0.7rem;
        gap: 0.4rem;
        margin-top: 1.5rem;
        padding-top: 0.8rem;
    }

    .work-time .badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .tour-card:hover {
        transform: none;
    }

    .tour-card:active {
        transform: scale(0.97);
    }

    .detail-thumbs .thumb-item:hover {
        border-color: rgba(255, 255, 255, 0.05);
    }

    .detail-thumbs .thumb-item:active {
        border-color: #fff;
    }

    .nav-links a:hover {
        color: inherit;
        border-bottom-color: transparent;
    }

    .nav-links a.active {
        color: #fff;
        border-bottom-color: #555;
    }
}