/* Общие стили для всех страниц */

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

:root {
    --gold: #C9A96E;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #f8f6f3;
    --text: #333;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--light);
    padding-top: 68px;
}

/* Header */
header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 3%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    /*filter: invert(1) brightness(2);*/
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-text span {
    color: #fff;
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

        nav a {
            color: #fff;
            text-decoration: none;
            font-size: 0.75rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            transition: color 0.3s;
            white-space: nowrap;
        }

        nav a:hover, nav a.active {
            color: var(--gold);
        }

/* Page Header */
.page-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7)),
                url('/uploads/banner/PHOTO-2026-04-15-21-05-30.jpg') center/cover no-repeat;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin: 0;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Sections */
section {
    padding: 4rem 5%;
    margin: 0;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--gold);
}

/* Footer */
footer {
    background: var(--darker);
    color: #666;
    text-align: center;
    padding: 2rem 5%;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--gold);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-nav-close:hover {
    color: var(--gold);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    color: var(--gold);
}

/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Event Content */
.event-content {
    background: #fff;
}

.event-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.event-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.event-content .photo-grid {
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.event-content .photo-item {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: top;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.event-content .photo-item:hover {
    transform: scale(1.05);
}

.photo-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.photo-modal-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10002;
}

.photo-modal-close:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header {
        height: auto;
        min-height: 250px;
        padding: 80px 5% 30px;
    }

    .photo-modal-close {
        right: 20px;
        font-size: 40px;
    }
}