/* Global */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 30px;
    background: #f4f6f8;
    color: #333;
}


/* Main container */

.container {
    max-width: 1200px;
    margin: auto;
}


/* Titles */

h1 {
    color: #222;
    margin-bottom: 25px;
}

h2 {
    color: #444;
}


/* Buttons */

button,
.btn,
input[type="submit"] {

    background: #2563eb;
    color: white;

    border: none;
    padding: 12px 20px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 15px;

    text-decoration: none;

    display: inline-block;
}


button:hover,
.btn:hover,
input[type="submit"]:hover {

    background: #1d4ed8;
}


/* Album cards */

.album-grid {

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(260px,1fr));

    gap:25px;

}


.album-card {

    background:white;

    border-radius:15px;

    padding:20px;

    box-shadow:
    0 4px 12px rgba(0,0,0,0.08);

    transition:0.2s;

}


.album-card:hover {

    transform:translateY(-5px);

    box-shadow:
    0 8px 20px rgba(0,0,0,0.15);

}



/* Photo gallery */

.gallery {

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(220px,1fr));

    gap:20px;

}



.photo-card {

    background:white;

    padding:12px;

    border-radius:15px;

    box-shadow:
    0 4px 12px rgba(0,0,0,0.08);

    transition:0.2s;

}



.photo-card:hover {

    transform:scale(1.03);

}



.photo-card img {

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:12px;

}



.photo-card h3 {

    margin:12px 0 5px;

}


/* Forms */

input,
textarea,
select {

    width:100%;

    padding:12px;

    margin:8px 0 15px;

    border-radius:8px;

    border:1px solid #ccc;

    font-size:15px;

}



/* Login box */

.login-box {

    max-width:400px;

    margin:60px auto;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:
    0 5px 20px rgba(0,0,0,0.1);

}


/* Navigation */

.navbar {

    background:white;

    padding:15px 20px;

    border-radius:12px;

    margin-bottom:25px;

    box-shadow:
    0 3px 10px rgba(0,0,0,0.08);

}



/* Mobile */

@media(max-width:600px){

    body {

        padding:15px;

    }


    .gallery {

        grid-template-columns:
        repeat(2,1fr);

        gap:10px;

    }


    .photo-card img {

        height:160px;

    }

}

/* Lightbox */

.lightbox {

    display:none;

    position:fixed;

    z-index:9999;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.9);

    justify-content:center;

    align-items:center;

}


.lightbox img {

    max-width:90%;

    max-height:90%;

    border-radius:10px;

}


.lightbox-close {

    position:absolute;

    top:20px;

    right:30px;

    color:white;

    font-size:40px;

    cursor:pointer;

}


.lightbox-prev,
.lightbox-next {

    position:absolute;

    top:50%;

    color:white;

    font-size:50px;

    cursor:pointer;

    padding:20px;

}


.lightbox-prev {

    left:20px;

}


.lightbox-next {

    right:20px;

}
