@charset "UTF-8";
/* CSS Document */
body {
    margin: 0;
    padding: 0;
    font-family: Georgia, serif;
    background: #f8f8f8;
    color: #222;
}

header {
    background: #fff;
}

.logo img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

nav {
    background: #111;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 18px 25px;

    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
	background: #b08d57;
}

/* LOGIN */

.login-box {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
}

.login-box p {
    margin-bottom: 20px;
}

.login-box label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.login-box input[type="email"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-box button:hover {
    background: #b08d57;
}

.login-links {
    text-align: center;
    margin-top: 25px;
}

.login-links a {
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

footer {
    background: #111;
    color: white;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    padding: 40px;
}

footer a {
    color: white;
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
	z-index: 2;
}

.hero h1 {
    font-size: 4rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.album-grid {
    columns: 3;
    column-gap: 20px;
}

.album-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s;
    box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.album-card img {
    width: 100%;
    height: auto;
    display: block;
}

.album-card h3 {
    padding: 10px;
    margin: 0;
    text-align: center;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.year-card {
    background: white;
    border: 1px solid #ddd;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: 0.3s;
}

.year-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.year-card h2 {
    margin-top: 0;
	font-size: 2rem;
}

.user-bar {
    background: #f4f4f4;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.button {
    display: inline-block;
    background: #111;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
}

.welcome {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.welcome p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* YEARS */

#years {
    padding: 60px 20px;
}

#years h2 {
    text-align: center;
    margin-bottom: 40px;
}

.latest-albums {
    padding: 60px 20px;
}

.latest-albums h2 {
    text-align: center;
    margin-bottom: 40px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.photo-card {
    text-align: center;
}

.photo-card.landscape {
    width: 500px;
}

.photo-card.portrait {
    width: 250px;
}

.photo-card img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-card p {
    margin-top: 8px;
}

.about-preview {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    margin: 80px 0;
}

.about-preview img {
    width: 100%;
    border-radius: 8px;
}

.success-message {
    max-width: 450px;
    margin: 20px auto;
    padding: 15px;
    background: #e8f5e9;
    border: 1px solid #81c784;
    color: #2e7d32;
    border-radius: 5px;
    text-align: center;
}

.error-message {
    max-width: 450px;
    margin: 20px auto;
    padding: 15px;
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
    border-radius: 5px;
    text-align: center;
}

@media (max-width: 1000px) {
    .album-grid {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .album-grid {
        columns: 1;
    }
}

@media (max-width: 768px) {

    .about-preview {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
    }

    nav a {
        text-align: center;
        border-bottom: 1px solid #222;
    }
	
	.container {
        padding: 15px;
    }
	
	.footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
	
	.year-card {
    padding: 20px;
	}
	
	.hero {
    height: 400px;
	}

	.hero h1 {
    font-size: 2rem;
	}

}