html, body, * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    scroll-behavior: smooth;
}

body {
    background: #f6f3ea;
    color: #222;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 17.5%;
    background: #232323;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    gap: 10%;
    z-index: 10;
    box-shadow: 2px 0 12px rgba(0,0,0,0.04);
}
.sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.profile-img {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    object-fit: cover;
    object-position: 10% 10%;
    border: 2px solid #fff;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 24px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    width: 50%;
    text-align: left;
}
.nav-link.active, .nav-link:hover {
    background: #353535;
    color: #f6c85f;
}
.btn.subscribe {
    margin-top: 16px;
    background: #f6c85f;
    color: #232323;
    border: none;
    border-radius: 20px;
    padding: 8px 24px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.btn.subscribe:hover {
    background: #ffe6a7;
    color: #232323;
}
.sidebar-footer {
    padding: 0 24px;
    font-size: 0.95rem;
    color: #bbb;
}
.contact-block span {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}
.contact-info div {
    margin-bottom: 2px;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    width: 100%;
    min-height: 100vh;
    background: #f6f3ea;
    padding-bottom: 40px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #e5e1d6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding-left: 48px;
}
.hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.552);
    font-family: 'Montserrat', sans-serif;
}

/* About Section */
.about-section {
    margin: 0 auto;
    max-width: 900px;
    padding: 48px 24px 0 24px;
    text-align: center;
}
.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.about-line {
    flex: 1;
    border: none;
    border-top: 1px solid #bdbdbd;
    height: 1px;
    background: #bdbdbd;
}
.about-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #232323;
    letter-spacing: 2px;
}
.about-desc {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.about-icons {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 24px;
}
.about-icon {
    width: 110px;
    height: 140px;
    background: #e5e1d6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Section */
.gallery-section {
    margin: 0 auto;
    max-width: 1100px;
    padding: 48px 24px 0 24px;
}
.gallery-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.gallery-line {
    flex: 1;
    border: none;
    border-top: 1px solid #bdbdbd;
    height: 1px;
    background: #bdbdbd;
}
.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #232323;
    letter-spacing: 2px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 16px;
}
.gallery-card {
    background: #e5e1d6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    min-width: 0;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    object-fit: cover;
    display: block;
    background: #d6d2c7;
}
.gallery-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35,35,35,0.92);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2;
    padding: 20px 10px 10px 10px;
    text-align: center;
}
.gallery-card:hover .gallery-info {
    opacity: 1;
    pointer-events: auto;
}
.gallery-info .gallery-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.gallery-info .gallery-meta {
    color: #f6c85f;
    font-size: 0.97rem;
    margin-bottom: 10px;
    gap: 10px;
    display: flex;
    justify-content: center;
}
.gallery-info .btn.small {
    background: #f6c85f;
    color: #232323;
    margin-top: 0;
}
.gallery-info .btn.small:hover {
    background: #fff;
    color: #232323;
}

/* Responsive */
@media (max-width: 900px) {
    .sidebar {
        width: 70px;
        padding: 16px 0 12px 0;
    }
    .sidebar-header h1,
    .sidebar-title,
    .sidebar-nav .btn,
    .sidebar-nav .nav-link:not(.active),
    .sidebar-footer {
        display: none;
    }
    .sidebar-nav .nav-link.active {
        display: block;
        text-align: center;
        padding: 8px 0;
    }
    .main-content {
        margin-left: 70px;
    }
}
@media (max-width: 600px) {
    .mobile-menu-btn {
        display: block !important;
        position: fixed;
        top: 16px;
        left: 16px;
        z-index: 10001;
        background: #232323;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 2rem;
        padding: 10px 18px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    .sidebar {
        width: 70vw;
        max-width: 340px;
        left: 0;
        right: auto;
        transform: translateX(-100%);
        max-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .sidebar-header {
        align-items: center !important;
        text-align: center !important;
    }
    .profile-img {
        width: 120px;
        height: 120px;
        border: 3px solid #fff;
        margin-bottom: 18px;
    }
    .sidebar-title {
        font-size: 1.5rem;
        font-weight: 600;
    }
    .sidebar-header p {
        font-size: 1.1rem;
        color: #fff;
    }
    .sidebar-nav {
        width: 100%;
        align-items: center !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .nav-link {
        max-width: 260px;
        margin: 0 auto;
        border-radius: 24px;
        font-size: 1.1rem;
        color: #fff;
        background: none;
        transition: background 0.2s, color 0.2s;
        margin-bottom: 0;
        font-weight: 400;
        display: block;
    }
    .nav-link.active, .nav-link:focus, .nav-link:hover {
        background: #353535;
        color: #f6c85f;
        font-weight: 500;
    }
    .contact-block {
        width: 100%;
        text-align: left;
        background: none;
        box-shadow: none;
        margin: 0;
        padding: 0 0 0 24px;
        position: absolute;
        left: 0;
    }
    .contact-block span {
        font-weight: bold;
        color: #fff;
        display: block;
    }
    .contact-info div {
        color: #bdbdbd;
        font-size: 1rem;
        margin-bottom: 2px;
    }
    .main-content {
        margin-left: 0;
        width: 100vw;
        padding: 0;

    }
    .hero-section {
        height: 50vh;
        min-height: 50vh;
    }
    .sidebar-nav {
        flex-direction: column !important;
    }
    .nav-link {
        display: block !important;
        width: 80%;
        text-align: center;
    }
    .profile-img {
        width: 30vw;
        height: 30vw;
    }
    .contact-block {
        display: block !important;
        background: #353535;
        color: #fff;
        padding: 16px 18px;
        border-radius: 8px;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }
    .contact-block span {
        color: #f6c85f;
        font-weight: bold;
        margin-bottom: 6px;
        display: block;
    }
}

.mobile-menu-btn {
    display: none;
    background: #232323;
    border: none;
    outline: none;
    cursor: pointer;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10001;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
}
.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 6px auto;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    transition: opacity 0.3s;
}
.image-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 1;
}
.image-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-modal-content img {
    max-width: 480px;
    max-height: 480px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: block;
}
.image-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%,-50%);
    background: #fff;
    color: #232323;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}
.image-modal-close:hover {
    background: #f6c85f;
    color: #232323;
}
