:root {
    --bg-color: #08080c;
    --surface-color: #12121c;
    --text-primary: #ededf5;
    --text-secondary: #8c8ea8;
    --accent-color: #6a3dff; /* Deep purple/blue */
    --accent-hover: #8e66ff;
    --font-family: 'Outfit', sans-serif;
    --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 { font-weight: 600; }
a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 6%;
    position: relative;
    z-index: 10;
}
.logo { font-size: 1.6rem; letter-spacing: 1.2px; color: var(--text-primary); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--text-secondary); transition: var(--transition); letter-spacing: 0.5px; }
.nav-links a:hover { color: var(--text-primary); text-shadow: 0 0 10px rgba(255,255,255,0.4); }

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
/* Ethereal Glow */
.hero-gradient {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(106,61,255,0.15) 0%, rgba(8,8,12,0) 65%);
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    z-index: 1;
}
.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a4a4c4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 400;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(106,61,255,0.25);
}
.btn:hover { 
    background: var(--accent-hover); 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px rgba(106,61,255,0.4); 
}
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--accent-color); 
    color: var(--text-primary); 
    box-shadow: none;
}
.btn-outline:hover { 
    background: rgba(106,61,255,0.1); 
    box-shadow: 0 8px 25px rgba(106,61,255,0.15); 
}

/* Gallery Items */
.gallery-section { padding: 6rem 8%; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface-color);
    aspect-ratio: 4 / 5;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: var(--transition);
    opacity: 0;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.8); }
.gallery-item:hover .overlay { transform: translateY(0); opacity: 1; }
.overlay span { font-weight: 300; font-size: 1.3rem; letter-spacing: 1px; }

/* Comments Section Mock UI */
.comments-section { padding: 6rem 8%; background: var(--surface-color); }
.section-title { font-size: 2.5rem; margin-bottom: 0.5rem; text-align: center; }
.comments-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 4rem; font-weight: 300;}
.comments-container {
    max-width: 650px;
    margin: 0 auto;
}
.comment-form { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 4rem; }
.input-field {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: var(--bg-color);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: var(--transition);
    font-size: 1rem;
}
.input-field:focus { outline: none; border-color: var(--accent-hover); box-shadow: 0 0 15px rgba(106,61,255,0.2); }
.comment-list { display: flex; flex-direction: column; gap: 2rem; }
.comment {
    background: rgba(255,255,255,0.02);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}
.comment-author { font-weight: 600; margin-bottom: 0.5rem; font-size: 1.1rem;}
.comment-body { color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.comment-date { font-size: 0.85rem; color: #666; }

/* Footer */
footer { text-align: center; padding: 3rem; color: var(--text-secondary); font-size: 1rem; border-top: 1px solid rgba(255,255,255,0.03); }

/* Full Screen Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 10, 0.98);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity auto;
}
.lightbox.show { display: flex; justify-content: center; align-items: center; opacity: 1; flex-direction: column; }
.lightbox-content { max-width: 85%; max-height: 85vh; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.lightbox-close {
    position: absolute;
    top: 40px;
    right: 50px;
    color: var(--text-secondary);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}
.lightbox-close:hover { color: #fff; transform: scale(1.1); }
#lightbox-caption { margin-top: 20px; font-size: 1.3rem; font-weight: 300; letter-spacing: 1px;}

/* Animations via Observers */
.fade-in { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .hero-title { font-size: 3.2rem; }
    .hero-content { padding: 0 6%; }
    .nav-links { gap: 1.2rem; }
    .gallery-section, .comments-section { padding: 4rem 6%; }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1.5rem 5%;
        flex-direction: column;
        gap: 1rem;
    }
    .logo { font-size: 1.4rem; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 2rem; }
    .btn { padding: 0.9rem 2rem; font-size: 1rem; margin-bottom: 1rem; }
    
    .section-title { font-size: 2rem; }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    .lightbox-content { max-width: 95%; max-height: 90vh; }
}
