/* --- 1. General Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Meka thama wadagathma kalla. 
   Oya kohe link ekak dammath eka nil wenne na dan.
*/
a, a:visited, a:hover, a:active {
    text-decoration: none !important;
    color: white !important; 
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    color: white;
    background-color: #0f0f0f;
    overflow-x: hidden;
}

/* --- 2. Navigation Bar --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: lowercase;
}

.logo::after {
    content: '.';
    color: #d4af37;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
}

/* Hover karama witharak GOLD wenawa */
.nav-links a:hover { 
    color: #d4af37 !important; 
}

/* --- 3. Gallery Section --- */
.gallery-container {
    padding: 140px 5% 80px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h1 span { color: #d4af37; }

.gallery-grid {
    column-count: 3;
    column-gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.gallery-item:hover .overlay { opacity: 1; }

.overlay span {
    border: 1px solid #d4af37;
    padding: 10px 20px;
    color: #d4af37 !important;
}

/* --- 4. Footer & Social Media (FIXED) --- */
footer {
    padding: 60px 20px;
    background: #0a0a0a;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-media {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Nil paata remove karana footer links */
.social-media a {
    color: white !important; 
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s;
}

.social-media a:hover {
    color: #d4af37 !important;
    opacity: 1;
    transform: translateY(-3px);
}

/* --- 5. Responsive --- */
@media (max-width: 768px) {
    .gallery-grid { column-count: 2; }
    .nav-links { display: none; } /* Mobile menu eka passe hadamu */
}

@media (max-width: 480px) {
    .gallery-grid { column-count: 1; }
}