:root {
    --nav-height: 80px;
    --text-main: #eaeaea;
    --text-muted: #888888;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-logo: 'Playfair Display', serif; 
    --bg-current: #0a0a0c; 
    --accent-current: #5e8b7e; 
}

/* GLOBAL DELTA CURSOR */
body {
    margin: 0; padding: 0; background-color: #000;
    color: var(--text-main); font-family: var(--font-body);
    overflow-x: hidden; user-select: none; 
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M2 2 L22 10 L13 13 L10 22 Z' fill='white' stroke='rgba(0,0,0,0.5)' stroke-width='1'/%3E%3C/svg%3E") 2 2, auto;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
.d-none { display: none !important; }

#gradient-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -3; background-color: var(--bg-current);
    transition: background-color 1.5s ease-in-out;
}
#gradient-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.85) 100%);
}

#cursor-trail {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2; pointer-events: none;
}

#hidden-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(10px); z-index: 9999; 
    transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#hidden-nav.visible { transform: translateY(0); }

.nav-container { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.logo { font-family: var(--font-body); font-weight: 600; letter-spacing: 2px; font-size: 1.6rem; }
#logo-accent { font-family: var(--font-logo); font-style: italic; color: var(--accent-current); transition: color 1.5s ease-in-out; margin-left: 2px; }

nav a { 
    color: var(--text-main); text-decoration: none; margin-left: 30px; 
    font-size: 1.25rem; font-family: var(--font-heading); 
    letter-spacing: 1px; transition: color 0.3s ease;
}
nav a:hover { color: var(--accent-current); }

#vertical-dock { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 50; padding: 40px 20px; }
.dock-item { width: 8px; height: 8px; background: #fff; border-radius: 50%; transform-origin: center right; opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease; }
#vertical-dock:hover .dock-item { transition: opacity 0.4s ease, background 0.3s ease; }

.fullscreen { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; }
.content-section { padding: 120px 40px; max-width: 1200px; margin: 0 auto; min-height: 100vh; }
.section-title { font-size: 4rem; letter-spacing: 2px; margin-bottom: 40px; text-align: center; }

#particle-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-content { text-align: center; pointer-events: none; }
.hero-content h1 { font-size: 9vw; line-height: 1; margin: 0; letter-spacing: 2px; }
.hero-content p { color: var(--text-muted); font-size: 1.1rem; font-weight: 300; margin-top: 30px; letter-spacing: 2px; text-transform: uppercase; }

.photo-wrapper { width: 80%; max-width: 800px; opacity: 0; will-change: opacity; display: flex; flex-direction: column; gap: 20px; }
.gallery-photo .photo-card { width: 100%; height: 60vh; }
.photo-info { text-align: left; }
.photo-info h3 { margin: 0 0 5px 0; font-size: 2.2rem; color: var(--text-main); letter-spacing: 1px; }
.photo-info p { margin: 0; color: var(--text-muted); font-weight: 300; font-size: 1rem; line-height: 1.5; }

.overlay-page {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #0a0a0c; z-index: 300; 
    overflow-y: auto; -webkit-overflow-scrolling: touch; 
    transform: translateY(100%); transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 60px 40px; box-sizing: border-box;
}
.overlay-page.open { transform: translateY(0); }
.gallery-header { display: flex; justify-content: space-between; align-items: center; max-width: 1600px; margin: 0 auto 60px auto; }
.gallery-title { font-size: 5rem; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1600px; margin: 0 auto; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

.photo-card { 
    background: #15151a; height: 400px; border-radius: 4px; display: flex; 
    align-items: center; justify-content: center; color: #444; border: 1px solid #222; 
    overflow: hidden; cursor: zoom-in;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; pointer-events: none; }
.photo-card:not(.placeholder):hover img { transform: scale(1.03); }

.album-card {
    position: relative; background: #15151a; height: 400px; border-radius: 4px;
    overflow: hidden; border: 1px solid #222;
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.album-card:hover img { transform: scale(1.05); }
.album-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s ease;
}
.album-card:hover .album-overlay { opacity: 1; }
.album-overlay span { color: #fff; font-family: var(--font-heading); font-size: 2.5rem; letter-spacing: 2px; }

#lightbox { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
    background: rgba(0,0,0,0.95); z-index: 10000; display: flex; 
    align-items: center; justify-content: center; opacity: 0; 
    pointer-events: none; transition: opacity 0.4s ease; overflow: hidden; 
}
#lightbox.open { opacity: 1; pointer-events: auto; }
#lightbox-close { 
    position: absolute; top: 30px; right: 40px; font-size: 3rem; 
    color: #fff; z-index: 10001; font-weight: 300; 
    font-family: sans-serif; transition: color 0.3s ease; 
}
#lightbox-close:hover { color: var(--accent-current); }
.lightbox-content { position: relative; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }

#lightbox-img { 
    max-width: 90vw; max-height: calc(100vh - 140px); margin-bottom: 50px; 
    object-fit: contain; display: block; will-change: transform; cursor: zoom-in;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
}
#lightbox-img.can-zoom-out { cursor: zoom-out; }

.exif-overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); 
    padding: 80px 40px 30px 40px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 30px; 
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none; 
}
.lightbox-content:hover .exif-overlay { opacity: 1; pointer-events: auto; }
#lightbox.is-zoomed .exif-overlay { opacity: 0 !important; pointer-events: none !important; }
#lightbox.is-zoomed #lightbox-close { opacity: 0.2; }
#lightbox.is-zoomed #lightbox-close:hover { opacity: 1; }
.exif-item { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.9rem; font-weight: 300; }
.exif-item svg { width: 18px; height: 18px; opacity: 0.8; }

.map-container { width: 100%; height: 720px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
#map { width: 100%; height: 100%; background-color: #0a0a0c; z-index: 10; }
.contact-box { text-align: center; }
.btn { display: inline-block; padding: 15px 40px; border: 1px solid var(--text-muted); color: var(--text-main); background: transparent; text-decoration: none; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; font-family: var(--font-body); transition: all 0.3s ease; }
.btn:hover { background: var(--text-main); color: #000; }

.modal { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
    background: rgba(0,0,0,0.9); z-index: 400; display: flex; 
    align-items: center; justify-content: center; opacity: 1; 
    transition: opacity 0.3s ease; 
}
.modal.hidden { opacity: 0; pointer-events: none; }
.modal-content { 
    background: #111; padding: 40px; border-radius: 12px; 
    width: 90%; max-width: 800px; position: relative; border: 1px solid #333; 
    max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
}
.modal-close { position: absolute; top: 20px; right: 25px; font-size: 2rem; color: var(--text-muted); }
.modal-close:hover { color: #fff; }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 30px; }
.modal-gallery .photo-card { height: 300px; }

/* CHANGED: Larger, smoother expanding water splash */
.water-ripple {
    position: fixed; width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,1);
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 999999;
    animation: drop-fade 1.2s ease-out forwards;
}
.water-ripple::before, .water-ripple::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    border-radius: 50%; border: 2px solid rgba(255,255,255,0.8);
    transform: translate(-50%, -50%) scale(1);
}
.water-ripple::before { animation: ripple-out 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }
.water-ripple::after { animation: ripple-out 1.5s cubic-bezier(0.1, 0.8, 0.3, 1) 0.15s forwards; opacity: 0; }

@keyframes drop-fade {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}
@keyframes ripple-out {
    0% { width: 0; height: 0; opacity: 1; border-width: 4px; }
    100% { width: 140px; height: 140px; opacity: 0; border-width: 0px; }
}
/* FLICKR / SOCIAL LINKS */
.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.social-icon {
    display: inline-block;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

/* NEW: Gives the full logo enough room to breathe */
.social-icon.flickr-full {
    width: 120px; 
    height: 30px;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.08); /* Slightly gentler scale so it doesn't pop out too aggressively */
}

.social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}