:root {
    --bg-color: #ffffff;
    --text-color: #222222;
    --text-light: #888888;
    --accent-color: #a89f91;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
    --sidebar-width: 250px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
}

h1, h2, h3, .logo, .btn { font-family: var(--font-heading); }

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2rem;
    background-color: white;
    z-index: 100;
}
.logo { font-size: 1.2rem; font-weight: 500; letter-spacing: 4px; }
.nav-menu ul { list-style: none; }
.nav-menu li { margin-bottom: 1.5rem; }
.nav-menu a {
    text-decoration: none; color: var(--text-light); font-family: var(--font-heading);
    font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text-color); }
.socials { display: flex; gap: 1rem; }
.socials a { text-decoration: none; color: var(--text-color); font-family: var(--font-heading); font-size: 0.8rem; }

/* Main Content */
.content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
}

section { padding: 6rem 5%; }

.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: 1.2rem; font-weight: 400; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 1rem; }
.line { display: block; width: 40px; height: 1px; background-color: var(--text-color); }

/* Buttons */
.btn {
    display: inline-block; padding: 1rem 2rem; background-color: transparent; border: 1px solid var(--text-color);
    color: var(--text-color); text-decoration: none; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px;
    transition: all 0.3s; cursor: pointer;
}
.btn:hover { background-color: var(--text-color); color: white; }

/* Hero */
.hero { height: 100vh; padding: 0; position: relative; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-text {
    position: absolute; bottom: 10%; left: 5%; background: white; padding: 3rem;
    max-width: 500px; box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}
.hero-text h1 { font-size: 3rem; font-weight: 300; line-height: 1.2; margin-bottom: 1rem; }
.hero-text p { color: var(--text-light); font-size: 1.1rem; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.project-item { position: relative; overflow: hidden; cursor: pointer; }
.project-item img { width: 100%; height: 60vh; object-fit: cover; transition: transform 0.7s; }
.project-item:hover img { transform: scale(1.05); }
.project-info {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white;
    opacity: 0; transition: opacity 0.4s;
}
.project-item:hover .project-info { opacity: 1; }
.project-info h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.project-info p { font-family: var(--font-heading); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #ddd; }
/* Offset grid slightly */
.project-item:nth-child(even) { margin-top: 4rem; }

/* Studio */
.studio { display: flex; align-items: center; gap: 4rem; background-color: #f9f9f9; }
.studio-content { flex: 1; }
.quote { font-size: 2rem; font-weight: 300; line-height: 1.4; margin-bottom: 2rem; }
.desc { color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; line-height: 1.8; }
.studio-image { flex: 1; height: 80vh; }
.studio-image img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: flex; gap: 4rem; }
.contact-info { flex: 1; }
.contact-info p { margin-bottom: 2rem; font-size: 1.1rem; color: var(--text-light); }
.contact-info strong { color: var(--text-color); font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; }
.contact-form { flex: 2; }
.input-group { margin-bottom: 2rem; }
.input-group input, .input-group textarea, .input-group select {
    width: 100%; padding: 1rem 0; border: none; border-bottom: 1px solid #ddd;
    font-family: var(--font-heading); font-size: 0.9rem; background: transparent; outline: none;
}
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { border-bottom-color: var(--text-color); }

footer { padding: 2rem 5%; text-align: center; border-top: 1px solid #eee; }
footer p { font-family: var(--font-heading); font-size: 0.8rem; color: var(--text-light); letter-spacing: 1px; }

@media (max-width: 992px) {
    body { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; padding: 1.5rem 5%; border-right: none; border-bottom: 1px solid #eee; }
    .nav-menu { display: none; }
    .content { margin-left: 0; width: 100%; }
    .hero-text { position: relative; bottom: 0; left: 0; transform: translateY(-50%); margin: 0 5%; max-width: none; }
    .project-grid { grid-template-columns: 1fr; }
    .project-item:nth-child(even) { margin-top: 0; }
    .studio, .contact-grid { flex-direction: column; }
    .studio-image { height: 50vh; width: 100%; }
}
