@charset "utf-8";
/* CSS Document */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fb;
}

/* HEADER */
.top-header{
    background:#9fa8ff;
    padding:20px;
    text-align:center;
}

.brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.brand img{ width:80px; }

.brand h1{
    color:#ccff00;
    font-size:38px;
    text-shadow:2px 2px 5px #000;
}

.yellow-line{
    height:8px;
    background:yellow;
    margin-top:10px;
}

/* NAV */
.nav{
    background:#cfd8dc;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    padding:14px;
    font-weight:bold;
}

/* LAYOUT */
.gallery-wrapper{
    display:grid;
    grid-template-columns: 250px 1fr;
    gap:30px;
    padding:30px;
}

/* LEFT PANEL */
.left-panel{
    background:#000;
    border-radius:10px;
    padding:15px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.photo-box{
    background:#fff;
    padding:30px;
    text-align:center;
}

.photo-box h2{
    color:red;
}

/* GALLERY GRID */
.gallery-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:200px;
    object-fit:cover;
    cursor:pointer;
    border-radius:6px;
    transition:0.3s;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

/* FOOTER */
footer{
    text-align:center;
    padding:15px;
    background:#eaeaea;
    margin-top:20px;
}

/* LIGHTBOX */
.lightbox{
    display:none;
    position:fixed;
    z-index:1000;
    padding-top:80px;
    left:0; top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
}

.lightbox-content{
    display:block;
    margin:auto;
    max-width:80%;
    max-height:80%;
}

.close{
    position:absolute;
    top:30px;
    right:50px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:900px){
    .gallery-wrapper{
        grid-template-columns: 1fr;
    }

    .gallery-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px){
    .gallery-grid{
        grid-template-columns: 1fr;
    }
}
