:root {
    --primary-color: #0a0a0a;
    --secondary-color: #8b7355;
    --accent-color: #c19a6b;
    --text-color: #e8e6e3;
    --hover-color: #d4af37;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-gradient: linear-gradient(135deg, #0a0a0a 0%, #8b7355 50%, #c19a6b 100%);
    --footer-gradient: linear-gradient(135deg, #0a0a0a 0%, #2d2d2d 50%, #8b7355 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.3;
}

.top-banner {
    background: var(--header-gradient);
    padding: 0.4rem 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
    letter-spacing: 1px;
}

header {
    background-color: var(--primary-color);
    padding: 1rem 5% 0.8rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 5px rgba(139, 115, 85, 0.15);
}

.water-pt-stl2-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.water-pt-stl2-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.8rem;
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, #8b7355 0%, #c19a6b 50%, #d4af37 100%);
    border-radius: 12px;
    border: 2px solid #c19a6b;
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
    transition: var(--transition);
    max-width: 90%;
}

.water-pt-stl2-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 154, 107, 0.4);
    background: linear-gradient(135deg, #c19a6b 0%, #d4af37 50%, #8b7355 100%);
}

.site-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    padding: 0.5rem 1rem;
}

.main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.8rem;
}

.nav-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    align-items: center;
}

.nav-item {
    margin: 0.15rem 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(139, 115, 85, 0.15);
    border: 1px solid rgba(139, 115, 85, 0.3);
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Georgia', serif;
}

.nav-link:hover {
    background: var(--accent-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.4);
}

.nav-link.active {
    background: var(--accent-color);
    color: #000000;
    font-weight: 600;
    border-color: transparent;
}

.nav-link i {
    margin-left: 5px;
    font-size: 0.75rem;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: rgba(139, 115, 85, 0.15);
    border: 1px solid rgba(139, 115, 85, 0.3);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 10px;
    transition: var(--transition);
    height: 36px;
    width: 36px;
    min-width: 36px;
    font-family: 'Georgia', serif;
}

.language-btn:hover {
    background: var(--accent-color);
    color: #000000;
    transform: translateY(-2px);
}

.language-btn i {
    margin-left: 0;
    font-size: 0.75rem;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.25);
    width: 100px;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    padding: 0.7rem;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.language-menu.show {
    display: grid;
}

.language-item {
    padding: 0;
}

.language-link {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    border-radius: 8px;
    background: rgba(139, 115, 85, 0.1);
    transition: var(--transition);
    font-family: 'Georgia', serif;
}

.language-link:hover {
    background: var(--accent-color);
    color: #000000;
}

.mobile-menu-btn {
    display: none;
    background: var(--accent-color);
    border: none;
    color: #000000;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem 0.7rem;
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 600;
    margin-top: 0.4rem;
    height: 34px;
    font-family: 'Georgia', serif;
}

.mobile-menu-btn:hover {
    background: var(--hover-color);
}

main {
    margin-top: 180px;
    padding: 2rem 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--secondary-color);
    font-family: 'Georgia', serif;
}

h2 {
    font-size: 1.8rem;
    margin: 1.8rem 0 1.3rem;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    font-family: 'Georgia', serif;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--secondary-color);
}

.site-info {
    margin-bottom: 8px;
}

.water-pt-stl2-gallery-grid {
    column-count: 4;
    gap: 8px;
}

.water-pt-stl2-gallery-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
    margin-bottom: 7px;
    border: 1px solid rgba(139, 115, 85, 0.2);
    cursor: pointer;
}

.water-pt-stl2-gallery-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
    border-color: var(--secondary-color);
}

.water-pt-stl2-gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.water-pt-stl2-gallery-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.water-pt-stl2-gallery-info {
    padding: 0.8rem;
    background-color: var(--card-bg);
    text-align: center;
    border-top: 1px solid rgba(139, 115, 85, 0.2);
}

.water-pt-stl2-gallery-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--accent-color);
    font-weight: 500;
    font-family: 'Georgia', serif;
    font-style: italic;
    letter-spacing: 0.5px;
}

.water-pt-stl2-gallery-subtitle {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.8;
    font-family: 'Georgia', serif;
}

.water-pt-stl2-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin: 1.8rem 0;
    justify-content: center;
}

.water-pt-stl2-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
    flex: 1 0 auto;
    text-align: center;
    border: 1px solid rgba(139, 115, 85, 0.2);
    max-width: 320px;
}

.water-pt-stl2-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
    border-color: var(--secondary-color);
}

.water-pt-stl2-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
}

/* Лайтбокс слайдер */
.watermen-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.watermen-lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.watermen-lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.watermen-lightbox-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.watermen-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(193, 154, 107, 0.9);
    border: none;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.watermen-lightbox-close:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.watermen-lightbox-prev,
.watermen-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(193, 154, 107, 0.9);
    border: none;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.watermen-lightbox-prev:hover,
.watermen-lightbox-next:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.watermen-lightbox-prev {
    left: 20px;
}

.watermen-lightbox-next {
    right: 20px;
}

.watermen-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Georgia', serif;
}

footer {
    background: var(--footer-gradient);
    padding: 2.5rem 5% 1.8rem;
    margin-top: 2.5rem;
}

.footer-container-water-pt-stl2 {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    order: 1;
    min-width: 180px;
}

.footer-social {
    display: flex;
    gap: 0.9rem;
    margin-top: 0.9rem;
    justify-content: center;
}

.social-link {
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.12);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    color: #000000;
    background: var(--accent-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.3);
}

.water-pt-stl2-footer-links-wrapper {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    gap: 2.5rem;
}

.water-pt-stl2-footer-links-col {
    min-width: 180px;
}

.water-pt-stl2-footer-links-col h3 {
    color: #f5f5f5;
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.4rem;
    font-family: 'Georgia', serif;
}

.water-pt-stl2-footer-links-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 1px;
    background: #f5f5f5;
}

.water-pt-stl2-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
}

.water-pt-stl2-footer-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: 'Georgia', serif;
}

.water-pt-stl2-footer-link:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.footer-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.3rem;
    justify-content: center;
}

.footer-banner {
    width: 55px;
    height: 45px;
    object-fit: contain;
    background: rgba(255,255,255,0.12);
    padding: 4px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.footer-banner:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    margin: 1.8rem calc(-50vw + 50%) 0;
    padding: 1.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    width: 100vw;
    font-family: 'Georgia', serif;
}

@media (min-width: 768px) {
    .water-pt-stl2-header-container {
        flex-direction: column;
    }

    .water-pt-stl2-logo {
        margin-bottom: 0.8rem;
    }

    .main-nav {
        width: 100%;
    }

    main {
        margin-top: 180px;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1.3rem;
        right: 5%;
    }

    .main-nav {
        position: fixed;
        top: 160px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 0.9rem 5%;
        display: none;
        box-shadow: 0 4px 8px rgba(139, 115, 85, 0.2);
        z-index: 999;
    }

    .main-nav.show {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-item {
        margin: 0.4rem 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
    }

    .language-dropdown {
        width: 100%;
    }

    .language-btn {
        width: 100%;
        border-radius: 10px;
        justify-content: center;
    }

    .language-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .footer-container-water-pt-stl2 {
        flex-direction: column;
        gap: 1.8rem;
    }

    .water-pt-stl2-footer-links-wrapper {
        flex-direction: column;
        gap: 1.8rem;
    }
}

@media (max-width: 800px) {
    .water-pt-stl2-gallery-grid {
        column-count: 3;
    }
    
    .site-title {
        font-size: 2.2rem;
    }
    
    .water-pt-stl2-logo {
        padding: 0.4rem 1.5rem;
        max-width: 95%;
    }

    .watermen-lightbox-prev,
    .watermen-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .water-pt-stl2-gallery-grid {
        column-count: 2;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .water-pt-stl2-logo {
        padding: 0.3rem 1rem;
    }

    .watermen-lightbox-container {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 576px) {
    .water-pt-stl2-gallery-grid {
        column-count: 1;
    }
    .language-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .site-title {
        font-size: 1.5rem;
        padding: 0.3rem 0.8rem;
    }
    
    .water-pt-stl2-logo {
        padding: 0.2rem 0.8rem;
    }

    .watermen-lightbox-prev,
    .watermen-lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .watermen-lightbox-prev {
        left: 10px;
    }

    .watermen-lightbox-next {
        right: 10px;
    }
}

.water-pt-stl2-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 0.9rem;
}

.water-pt-stl2-logo span {
    font-size: 22px;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 1px;
    transition: var(--transition);
    font-family: 'Georgia', serif;
}

.water-pt-stl2-logo:hover span {
    color: var(--hover-color);
}

@media (max-width: 768px) {
    .water-pt-stl2-logo span {
        font-size: 18px;
    }
    .water-pt-stl2-logo {
        width: 75%;
    }
}

.water-pt-stl2-footer-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.3rem;
    justify-content: center;
}

.water-pt-stl2-footer-banner {
    width: 55px;
    height: 45px;
    object-fit: contain;
    background: rgba(255,255,255,0.1);
    padding: 4px;
    border-radius: 8px;
    transition: var(--transition);
}

.water-pt-stl2-footer-banner:hover {
    background: rgba(255,255,255,0.18);
}

li {
    list-style: none;
}