@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
    --black: #080809;
    --dark: #0d0d0e;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.5);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grainy Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 10000;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

p {
    color: var(--muted);
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Glassmorphism 2.0 */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Navigation */
header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    border-radius: 100px;
    background: rgba(8, 8, 9, 0.6);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-cta {
    background: var(--white);
    color: var(--black);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: var(--transition);
}

.hamburger-btn:hover span:nth-child(1) {
    transform: translateY(-2px);
}
.hamburger-btn:hover span:nth-child(2) {
    transform: translateY(2px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-overlay.active {
    right: 0;
}

.overlay-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.overlay-links a:not(.btn-cta) {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.overlay-links a:not(.btn-cta):hover {
    color: var(--muted);
    transform: translateX(10px);
}

.overlay-links .btn-cta {
    font-size: 1rem;
    padding: 16px 48px;
    margin-top: 40px;
    text-align: center;
}

.close-overlay {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 3rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

/* Sections */
section {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 9rem);
    margin-bottom: 24px;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--dark);
    position: relative;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Artist & Gallery Items */
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Footer Styling */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 24px;
    color: var(--muted);
}

.social-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.footer-form {
    position: relative;
    margin-top: 24px;
}

.footer-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    color: var(--white);
    outline: none;
}

.footer-form button {
    position: absolute;
    right: 0;
    bottom: 12px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 1px;
}

/* Form Styling */
.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--muted);
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-bottom-color: var(--white);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .nav-links, .nav-bar .btn-cta { display: none; }
    .hamburger-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .hero-title { font-size: 3.5rem !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .grid { 
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .grid > * {
        width: 100% !important;
    }

    .grid > .card {
        height: 400px !important;
    }

    .grid > .card.glass, .grid > div:not(.card) {
        height: auto !important;
        min-height: 0 !important;
    }

    .card.glass {
        padding: 40px 24px !important;
    }
    
    section { padding: 80px 0; }
}

