/* Custom Variable Configuration */
:root {
    --bg-deep: #020408;
    --accent-sapphire: #3b82f6;
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Global Styles */
* { 
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-deep);
    background: 
        radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(30, 58, 138, 0.08) 0%, transparent 40%),
        var(--bg-deep);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Component Styling */
.nav-blur {
    backdrop-filter: blur(24px);
    background: rgba(2, 4, 8, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(180deg, #FFFFFF 30%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.premium-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.nav-link {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: #3b82f6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -31px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

/* Animations */
.page-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Photography Section Logic
   ========================================= */
.photo-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #0f172a; /* Fallback before image loads */
    border: 1px solid var(--glass-border);
}

/* Image zoom effect on hover */
.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-grid-item:hover img {
    transform: scale(1.08);
}

/* Overlay Styling */
.photo-overlay {
    position: absolute;
    inset: 0;
    /* Create the dark gradient fade from bottom to top */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 80%);
    
    /* 1. HIDE BY DEFAULT */
    opacity: 0; 
    
    /* Smooth fade in/out */
    transition: opacity 0.4s ease;
    
    /* Alignment of text */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 10;
}

/* 2. SHOW ON HOVER */
.photo-grid-item:hover .photo-overlay {
    opacity: 1;
}
