/* --- Global Styles --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
    color: #111;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    
    /* This is your turtle image! */
    background-image: url('https://raw.githubusercontent.com/anchovycryptid/photo-blog/main/anchovy_turtle.png'); 
    background-color: #ffffff; /* White background */
    background-size: 300px; /* Makes the turtles small so they tile nicely */
    background-repeat: repeat; /* Repeats the turtles across the screen */
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.editorial-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
    color: #111;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 1px;
    color: #444;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #111;
    transition: transform 0.2s, opacity 0.2s;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- The Glassmorphism Navigation --- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Animation for showing/hiding */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hidden-nav {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #111;
}

/* --- The Main Grid Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Basic grid for now (we will make it Masonry in Phase 2) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.photo-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
}

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

/* --- Modal Styling --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.modal-content img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.modal-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: 0;
}

.modal-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}
