/* =========================================
   1. CSS VARIABLES & RESET
   ========================================= */
:root {
    --bg-void: #050505;          
    --bg-surface: rgba(25, 25, 25, 0.6); 
    --grey-glow: rgba(180, 180, 180, 0.5);
    --grey-glow-intense: rgba(240, 240, 240, 0.9);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --border-glass: rgba(255, 255, 255, 0.08);
}

* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas Background */
#canvas-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; opacity: 0.7; }

/* =========================================
   2. GLASSMORPHISM & ANIMATIONS
   ========================================= */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-radius: 12px;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px var(--grey-glow); }
    50% { text-shadow: 0 0 15px var(--grey-glow-intense), 0 0 2px #fff; }
    100% { text-shadow: 0 0 5px var(--grey-glow); }
}

.glow-text { animation: textGlow 3s infinite alternate; color: #fff; }

/* =========================================
   3. NAVIGATION
   ========================================= */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, rgba(5,5,5,0.9), transparent);
    transition: 0.4s;
}

header.scrolled {
    background: var(--bg-surface);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 5%;
}

.logo { font-size: 1.8rem; font-weight: bold; color: #fff; text-decoration: none; letter-spacing: 4px; }
.logo span { font-weight: 300; color: var(--text-secondary); }

nav a {
    color: var(--text-secondary); text-decoration: none; margin-left: 2rem;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px;
    transition: 0.3s;
}
nav a:hover { color: #fff; text-shadow: 0 0 10px #fff; }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 0 20px;
}
.hero h1 { font-size: 5rem; font-weight: 300; letter-spacing: 12px; margin-bottom: 20px; text-transform: uppercase; }
.hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* =========================================
   5. GALLERY GRID
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.section-title { font-size: 2.2rem; color: #fff; text-align: center; margin-bottom: 4rem; letter-spacing: 8px; text-transform: uppercase; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }

.photo-card { overflow: hidden; transition: transform 0.4s; }
.photo-card:hover { transform: translateY(-10px); }

.img-wrapper { position: relative; height: 350px; background: #000; overflow: hidden; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: 0.5s; opacity: 0.8; }
.photo-card:hover .img-wrapper img { transform: scale(1.05); filter: grayscale(0%); opacity: 1; }

/* Watermark */
.watermark-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
    background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 80px);
    display: flex; justify-content: center; align-items: center; pointer-events: none;
}
.watermark-overlay::after {
    content: '© NUERU.ONLINE'; color: rgba(255, 255, 255, 0.3); font-size: 1.5rem; font-weight: bold;
    transform: rotate(-30deg); letter-spacing: 5px; border: 2px solid rgba(255,255,255,0.2); padding: 10px 20px;
}

.card-body { padding: 2rem; }
.card-title { font-size: 1.4rem; color: #fff; margin-bottom: 5px; }
.card-price { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 15px; display: block; font-family: monospace; }
.card-desc { font-size: 0.9rem; color: #888; margin-bottom: 25px; }

.btn-container { display: flex; gap: 10px; }
.btn { flex: 1; padding: 12px 0; border-radius: 4px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; cursor: pointer; transition: 0.3s; border: none; }
.btn-preview { background: transparent; border: 1px solid var(--border-glass); color: var(--text-secondary); }
.btn-preview:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-buy { background: #fff; color: #000; }
.btn-buy:hover { background: #d0d0d0; }

/* =========================================
   6. PORTFOLIO
   ========================================= */
.portfolio-box { padding: 4rem; display: flex; align-items: center; gap: 4rem; margin-top: 6rem; }
.profile-pic { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-glass); filter: grayscale(20%); }

.profile-desc h2 { font-size: 2.2rem; margin-bottom: 5px; font-weight: 300; }
.profile-desc h3 { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px; }
.profile-desc p { font-size: 1rem; color: #aaa; margin-bottom: 15px; line-height: 1.8; }

@media (max-width: 800px) {
    .portfolio-box { flex-direction: column; text-align: center; padding: 2rem; }
}

/* =========================================
   7. MODAL
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px);
    z-index: 2000; display: none; justify-content: center; align-items: center;
}
.modal-overlay.active { display: flex; }

.modal-content { padding: 3rem; max-width: 500px; width: 90%; text-align: center; position: relative; }
.close-icon { position: absolute; top: 20px; right: 25px; font-size: 1.5rem; color: var(--text-secondary); cursor: pointer; }
.close-icon:hover { color: #fff; }

.modal-title { font-size: 1.8rem; color: #fff; margin-bottom: 5px; }
.modal-price { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 20px; font-family: monospace;}
.modal-body p { color: #aaa; font-size: 0.9rem; margin-bottom: 30px; }

.btn-whatsapp {
    background: transparent; color: #fff; border: 1px solid var(--grey-glow);
    padding: 15px; border-radius: 4px; width: 100%; font-size: 0.9rem; font-weight: bold; text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.btn-whatsapp:hover { background: #fff; color: #000; box-shadow: 0 0 20px var(--grey-glow); }