/* Core Variables & Reset */
:root {
    --bg-color: #0f0f0f;
    --text-color: #ffffff;
    --accent-color: #a5a5a5;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.9);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 1.2rem;
}

.logo span {
    font-weight: 200;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1449156001931-82e424b2ed08?q=80&w=2000') no-repeat center center/cover;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 200;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.btn-outline {
    padding: 15px 40px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Portfolio Grid */
.portfolio {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header span {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
}

.grid-item {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.grid-item.tall { grid-row: span 2; }
.grid-item.wide { grid-column: span 2; }

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.grid-item:hover .overlay {
    opacity: 1;
}

/* Footer */
footer {
    padding: 100px 0 50px 0;
    text-align: center;
    border-top: 1px solid #222;
}

footer h2 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 20px;
}

.socials a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.copyright {
    margin-top: 50px;
    font-size: 0.7rem;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-item.wide { grid-column: span 1; }
    .nav-links { display: none; }
    footer h2 { font-size: 2rem; }
}