/* --- GENERAL --- */
    :root {
        --bg-color: #ffffff;
        --bg-secondary: #f9f9f9;
        --text-primary: #2c2c2c;
        --text-secondary: #555555;
        --accent: #d4a373;
        --spacing-section: 80px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html{scroll-behavior: smooth;}
    body {font-family: 'Lato', sans-serif;color: var(--text-primary);background-color: var(--bg-color);line-height: 1.6;scroll-behavior: smooth;}
    h1, h2, h3, h4 {font-family: 'Montserrat', sans-serif;font-weight: 500;text-transform: uppercase;letter-spacing: 2px;margin-bottom: 1rem;}
    a {text-decoration: none; color: inherit; transition: 0.3s; }
    ul {list-style: none; }
    img {width: 100%; display: block; object-fit: cover; }

/* --- NAVBAR --- */
    nav {position: fixed;top: 0;width: 100%;background: rgba(255, 255, 255, 0.98);padding: 16px 5%;display: flex;justify-content: space-between;
        align-items: center;z-index: 1000;border-bottom: 1px solid #eee;box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .logo{display: flex;align-items: center;gap:10px;}
    .logo_svg{width:50px;color:black;}
    .logo_text{font-size: 1.5rem; font-weight: 700; letter-spacing: 3px; }
    .nav-links {display: flex; gap: 30px; }
    .nav-links a {font-size: 0.9rem; text-transform: uppercase; font-weight: 500; }
    .nav-links a:hover { color: var(--accent); }
    .burger {display: none; cursor: pointer; }
    .burger div {width: 25px; height: 3px; background-color: var(--text-primary); margin: 5px; transition: 0.3s; }

    @media (max-width: 768px) {
        .nav-links {position: absolute; right: 0; height: 100vh; top: 0;background-color: #fff;flex-direction: column; align-items: center; width: 80%;
            justify-content: center;transform: translateX(100%);transition: transform 0.4s ease-in-out;box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        }
        .nav-links.nav-active { transform: translateX(0%); }
        .burger { display: block; z-index: 2000; }
        .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
        .burger.toggle .line2 { opacity: 0; }
        .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    }

/* --- INTRO SECTION --- */
    .subpage-intro {padding: 120px 20px 60px 20px; text-align: center; max-width: 800px; margin: 0 auto;}
    .subpage-title {font-size: 2.5rem; color: var(--text-primary); margin-bottom: 20px;}
    .title-separator {width: 80px; height: 3px; background-color: var(--accent); margin: 0 auto 30px auto; border-radius: 2px;}
    .subpage-description {font-size: 1.1rem; color: var(--text-secondary); font-weight: 300; line-height: 1.8;}

/* --- MASONRY GRID --- */
    .subpage-gallery {padding: 0 2% 80px 2%; background-color: var(--bg-secondary);opacity:0;transition: opacity 1000ms ease-in-out;}
    .masonry-grid {column-count: 3; column-gap: 20px;}
    .masonry-item {break-inside: avoid; margin-bottom: 20px; position: relative; overflow: hidden;}
    .masonry-item img {width: 100%; height: auto; border-radius: 2px; transition: transform 0.5s ease, filter 0.3s; cursor: zoom-in; display: block;}
    .masonry-item:hover img {transform: scale(1.03); filter: brightness(90%);}

    @media (max-width: 768px) {
        .masonry-grid { column-count: 1; }
        .subpage-title { font-size: 1.8rem; }
        .subpage-intro { padding-top: 100px; }}
    @media (min-width: 769px) and (max-width: 1024px) {
        .masonry-grid { column-count: 2; }
    }

/* --- LIGHTBOX --- */
    #lightbox {position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); display: none; justify-content: center; align-items: center; backdrop-filter: blur(5px); padding: 20px;}
    #lightbox.active {display: flex; animation: fadeIn 0.3s ease;}
    #lightbox img {max-height: 90vh; max-width: 90vw; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,0.5); border: 2px solid #222;}
    .lb-btn {position: absolute; background: rgba(0, 0, 0, 0.5); border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; transition: 0.3s; z-index: 10000;}
    .lb-btn:hover {background: var(--accent); color: #fff;}
    .lb-close {top: 20px; right: 20px; background: transparent; font-size: 3rem;padding-bottom:5px;}
    .lb-prev {left: 20px;padding-right:5px;}
    .lb-next {right: 20px;}
    @keyframes fadeIn {from {opacity: 0;} to {opacity: 1;}}
    @media (max-width: 768px) {
        #lightbox img {max-height: 80vh;}
        .lb-btn {width: 40px; height: 40px; font-size: 1.2rem; top: auto; bottom: 20px;}
        .lb-prev {left: 30%;}
        .lb-next {right: 30%;}
        .lb-close {top: 10px; right: 10px; bottom: auto;}
    }
/* --- FOOTER --- */
footer {background: #111;color: #666;text-align: center;padding: 15px;font-size: 0.8rem;border-top: 1px solid #222;}