/* Common styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

/* Home page styles */
body.home {
    background: linear-gradient(90deg, #32a920 0%, #9e0a87 100%);
    color: white;
}

.container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0);
    border-radius: 20px;
    padding: 3rem;
}

.photo-link {
    position: relative;
    width: 600px;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(216, 45, 14, 0.15);
}

.photo-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 55px rgba(246, 14, 14, 0.5);
}

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

.photo-link .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Error page styles */
body.error {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    padding: 2rem;
    text-align: center;
}

.error-container {
    max-width: 600px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Typography */
h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.home h1 {
    color: rgb(30, 18, 18);
}

.error h1 {
    color: white;
    margin-bottom: 1rem;
}

p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Links section for error page */
.links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.link {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.1s ease-out;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 1000px) {
    .container {
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .photo-link {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .container {
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .photo-link {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .error-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .links {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }
} 