/* Premium Graffiti Art Design CSS */

:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-color: #C5A059;
    /* Muted Gold */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --spacing-section: 6rem;
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Gallery Page Background */
body.gallery-page {
    background: url('../../images/hero-bg-final.png') no-repeat center center/cover fixed;
    position: relative;
}

body.gallery-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    /* Dark overlay */
    backdrop-filter: blur(10px);
    /* Blur effect */
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -2rem;
    /* Pull it closer to the title */
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(10, 10, 10, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 6px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Align to bottom to show the text/logo */
    background: url('../../images/hero-bg-final.png') no-repeat center bottom/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Lighter overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all var(--transition-speed);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    margin-top: 45vh;
    /* Push button down significantly */
}

.cta-button:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

/* Sections */
.section {
    padding: var(--spacing-section) 5%;
}

.section.alt-bg {
    background-color: var(--card-bg);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Home Gallery Grid - Symmetrical Grid */
.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    justify-content: center;
}

/* Full Gallery Grid - Masonry Layout */
.gallery-grid {
    column-count: 5;
    /* Increased columns */
    column-gap: 1rem;
}

@media (min-width: 1600px) {
    .gallery-grid {
        column-count: 6;
        /* Even more columns on large screens */
    }
}

@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 4;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 0.5rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1rem;
    break-inside: avoid;
    border-radius: 2px;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Remove old overlay and icon */

.center-btn {
    text-align: center;
    margin-top: 4rem;
}

.button.outline {
    padding: 1rem 3rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.button.outline:hover {
    background: var(--accent-color);
    color: #000;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    gap: 5rem;
    max-width: 1200px;
    /* Limit width to keep it centered */
    margin: 0 auto;
    /* Center the container itself */
}

.about-text {
    flex: 1;
    text-align: center;
    /* Center text */
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    /* Center tags */
}

.tags li {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
}

.about-image {
    flex: 1;
}

.about-image img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-card {
    background: var(--card-bg);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color var(--transition-speed);
}

.contact-card:hover {
    border-color: var(--accent-color);
}

.contact-card h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.contact-card a {
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    background: #000;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: #000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 999;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1000;
    }

    .burger.toggle div {
        background-color: var(--text-main);
    }

    .about-content {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        width: 100%;
    }
}