/* --- Variables --- */
:root {
    --color-black: #121212;     /* Night Black */
    --color-panel: #1e1e1e;
    --color-emerald: #046307;   /* Deep Emerald */
    --color-emerald-light: #2e8b57;
    --color-gold: #d4af37;      /* Matte Gold */
    --color-white: #f5f5f5;
    --color-text: #cccccc;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition: 0.5s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--color-black);
    color: var(--color-text);
    line-height: 1.8;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; filter: brightness(0.8) contrast(1.1); transition: var(--transition); }
img:hover { filter: brightness(1) contrast(1); }

.container { width: 85%; max-width: 1400px; margin: 0 auto; }

/* --- Loader --- */
.loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--color-black); z-index: 2000; display: flex; justify-content: center; align-items: center; animation: fadeOut 2s forwards; pointer-events: none; }
.load-text { font-family: var(--font-serif); font-size: 2rem; color: var(--color-gold); letter-spacing: 5px; animation: pulse 1s infinite; }
@keyframes fadeOut { 0% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* --- Header --- */
.design-header { padding: 40px 0; position: absolute; width: 100%; top: 0; z-index: 1000; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-size: 2.5rem; color: var(--color-white); letter-spacing: 2px; position: relative; display: flex; align-items: center; }
.logo .thin { font-weight: 300; opacity: 0.7; }
.dot { width: 8px; height: 8px; background-color: var(--color-emerald); border-radius: 50%; margin-left: 5px; margin-top: 10px; }

.arch-nav ul { display: flex; gap: 40px; align-items: center; }
.arch-nav a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-white); }
.arch-nav a:hover, .arch-nav a.active { color: var(--color-gold); }

.btn-emerald { border: 1px solid var(--color-emerald); color: var(--color-emerald) !important; padding: 12px 30px; font-weight: 500; }
.btn-emerald:hover { background-color: var(--color-emerald); color: var(--color-white) !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 8px; }
.mobile-toggle span { width: 35px; height: 1px; background-color: var(--color-white); }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%;
    background-color: var(--color-black); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: var(--transition);
}
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 40px; right: 40px; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--color-white); }
.mobile-menu a { font-family: var(--font-serif); font-size: 2.5rem; margin: 15px 0; color: var(--color-white); }

/* --- Hero --- */
.hero-arch {
    height: 100vh;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
    position: relative;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1; }

.hero-content { position: relative; z-index: 2; color: var(--color-white); max-width: 900px; padding: 20px; }
.subtitle { font-family: var(--font-sans); letter-spacing: 5px; font-size: 0.9rem; color: var(--color-gold); display: block; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-serif); font-size: 5rem; line-height: 1.1; margin-bottom: 30px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 50px; font-weight: 300; color: #ddd; }
.link-arrow { font-size: 1.1rem; border-bottom: 1px solid var(--color-white); padding-bottom: 5px; }
.link-arrow:hover { color: var(--color-gold); border-color: var(--color-gold); }

/* --- Portfolio --- */
.section-padding { padding: 120px 0; }
.section-head { margin-bottom: 80px; text-align: center; }
.section-head h2 { font-family: var(--font-serif); font-size: 3rem; color: var(--color-white); margin-bottom: 20px; }
.line-emerald { width: 50px; height: 2px; background-color: var(--color-emerald); margin: 0 auto; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.project-card { position: relative; overflow: hidden; cursor: pointer; }
.p-img { position: relative; height: 500px; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); opacity: 1; transition: var(--transition); }
.project-card:hover .p-overlay { padding-bottom: 60px; }
.p-overlay span { font-size: 0.8rem; letter-spacing: 2px; color: var(--color-gold); display: block; margin-bottom: 10px; }
.p-overlay h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--color-white); }

/* --- Services Strip --- */
.services-strip { border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 80px 0; }
.srv-flex { display: flex; justify-content: space-between; gap: 50px; }
.srv-item h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--color-white); margin-bottom: 15px; }
.srv-item p { color: #888; }

/* --- Studio (About) --- */
.page-title { text-align: center; margin-bottom: 80px; padding-top: 80px; }
.page-title h1 { font-family: var(--font-serif); font-size: 4rem; color: var(--color-white); }

.studio-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.text-col h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--color-gold); margin-bottom: 30px; }
.text-col p { margin-bottom: 20px; font-size: 1.1rem; }
.values { margin-top: 40px; list-style: none; }
.values li { margin-bottom: 15px; padding-left: 20px; border-left: 2px solid var(--color-emerald); }

.img-col { position: relative; }
.floating-box { position: absolute; bottom: -30px; left: -30px; background-color: var(--color-panel); padding: 30px; border: 1px solid var(--color-emerald); text-align: center; }
.floating-box span { font-family: var(--font-serif); font-size: 3rem; color: var(--color-white); display: block; line-height: 1; }
.floating-box p { font-size: 0.8rem; letter-spacing: 2px; color: var(--color-gold); }

/* --- References --- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.client-card { background-color: var(--color-panel); padding: 50px 30px; border: 1px solid #333; transition: var(--transition); }
.client-card:hover { border-color: var(--color-gold); }
.client-card.highlight { background-color: #252525; }
.logo-area { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-white); margin-bottom: 30px; letter-spacing: 2px; border-bottom: 1px solid #444; padding-bottom: 15px; }
.client-card p { font-style: italic; color: #aaa; margin-bottom: 30px; }
.person strong { display: block; color: var(--color-emerald); font-family: var(--font-serif); }

/* --- Contact Form --- */
.project-form-wrapper { max-width: 800px; margin: 0 auto; }
.form-intro { text-align: center; margin-bottom: 60px; }
.form-intro h2 { font-family: var(--font-serif); font-size: 3rem; color: var(--color-white); margin-bottom: 20px; }
.contact-info { margin-top: 30px; color: var(--color-gold); font-family: var(--font-serif); font-size: 1.2rem; }

.minimal-form .form-row { margin-bottom: 40px; position: relative; }
.minimal-form label { display: block; font-size: 0.8rem; letter-spacing: 2px; color: #666; margin-bottom: 10px; text-transform: uppercase; }
.minimal-form input, .minimal-form select, .minimal-form textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid #444; color: var(--color-white); padding: 10px 0; font-family: var(--font-serif); font-size: 1.5rem; transition: 0.3s; }
.minimal-form input:focus, .minimal-form select:focus, .minimal-form textarea:focus { border-bottom-color: var(--color-emerald); outline: none; }
.minimal-form select { color: #888; } /* Styling select options is tricky, keeping simple */
.btn-submit { width: 100%; background: transparent; color: var(--color-white); border: 1px solid var(--color-white); padding: 20px; font-family: var(--font-sans); font-weight: bold; letter-spacing: 3px; cursor: pointer; transition: 0.3s; margin-top: 20px; }
.btn-submit:hover { background-color: var(--color-white); color: var(--color-black); }

/* --- Legal --- */
.legal-doc { max-width: 800px; margin: 0 auto; }
.legal-doc h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--color-white); margin-bottom: 30px; }
.legal-doc h3 { color: var(--color-emerald); margin-top: 50px; margin-bottom: 15px; font-family: var(--font-serif); font-size: 1.5rem; }

/* --- Footer --- */
.arch-footer { padding: 80px 0; border-top: 1px solid #333; text-align: center; }
.f-brand { font-family: var(--font-serif); font-size: 2rem; color: var(--color-white); margin-bottom: 30px; }
.f-brand .city { display: block; font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 5px; color: var(--color-gold); margin-top: 10px; }
.f-social a { color: #666; margin: 0 15px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.f-social a:hover { color: var(--color-white); }
.copyright { margin-top: 40px; font-size: 0.8rem; opacity: 0.4; }

@media (max-width: 992px) {
    .arch-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 3rem; }
    .studio-content { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: 1fr; }
    .srv-flex { flex-direction: column; text-align: center; }
    .design-header { background: rgba(18,18,18,0.9); padding: 20px 0; }
}