/* --- PREMIUM VARIABLES --- */
:root {
    --primary: #1a252f;      /* Deep Navy */
    --accent: #c0a375;       /* Muted Bronze/Gold */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-soft: 0 15px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

/* --- NAVIGATION --- */
.navbar {
    background: var(--white);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}
.dot { color: var(--accent); }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: var(--primary); 
    font-weight: 600; 
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 2px;
}
.btn-nav:hover { background: var(--accent); }

/* --- HERO SECTION --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(26, 37, 47, 0.8), rgba(26, 37, 47, 0.7)),
                url('https://images.unsplash.com/photo-1541976590-713941681591?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content { max-width: 900px; padding: 0 20px; }
.subtitle { 
    color: var(--accent); 
    font-weight: 700; 
    letter-spacing: 3px; 
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 20px; justify-content: center; }

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-primary:hover { background: #a38b63; transform: translateY(-2px); }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* --- FLOATING STATS --- */
.stats-wrapper {
    position: relative;
    top: -50px;
    z-index: 10;
    padding: 0 5%;
}

.stats-container {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-box { text-align: center; }
.border-left { border-left: 1px solid #eee; }

.stat-box .number {
    display: block;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-box .label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* --- PROJECTS --- */
.section-padding { padding: 80px 5%; max-width: 1300px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { color: var(--accent); font-weight: bold; font-size: 0.8rem; letter-spacing: 2px; }
.section-header h2 { 
    font-family: var(--font-head); 
    font-size: 2.5rem; 
    color: var(--primary); 
    margin-top: 10px;
}
.line { width: 60px; height: 3px; background: var(--accent); margin: 20px auto 0; }

/* Filter Tabs */
.filter-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; }
.tab {
    background: transparent;
    border: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    cursor: pointer;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}
.tab:hover, .tab.active { color: var(--primary); border-bottom: 2px solid var(--accent); }

/* Grid & Card */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.card {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    cursor: pointer;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.card-img-holder { position: relative; height: 260px; overflow: hidden; }
.card-img-holder img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card-img-holder img { transform: scale(1.05); }

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 37, 47, 0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.card:hover .overlay { opacity: 1; }
.overlay i { color: var(--white); font-size: 2rem; }

.card-body { padding: 30px; }
.card-category { color: var(--accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.card-body h3 { 
    font-family: var(--font-head); 
    font-size: 1.4rem; 
    color: var(--primary); 
    margin: 10px 0; 
}
.location { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }

.specs-grid { 
    display: flex; 
    border-top: 1px solid #eee; 
    padding-top: 20px; 
    justify-content: space-between; 
}
.specs-grid div { display: flex; flex-direction: column; }
.specs-grid small { font-size: 0.75rem; color: #999; text-transform: uppercase; }
.specs-grid strong { color: var(--primary); font-size: 1rem; }

/* Hidden state for JS */
.card.hide { display: none; }

/* --- FOOTER --- */
footer { background: var(--primary); color: var(--white); padding: 80px 5% 30px; margin-top: 80px; }
.footer-inner { 
    max-width: 1200px; margin: 0 auto; 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 { font-size: 1.8rem; margin-bottom: 20px; }
.footer-col h4 { font-size: 1.1rem; color: var(--accent); margin-bottom: 20px; text-transform: uppercase; }
.footer-col p { color: #a0aab5; margin-bottom: 10px; }

.badges span {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 0.8rem;
    color: #a0aab5;
}

.copyright { text-align: center; padding-top: 30px; color: #5f6c7b; font-size: 0.9rem; }

/* MOBILE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .stats-container { grid-template-columns: 1fr; gap: 20px; padding: 30px; }
    .stat-box { border: none; border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .stat-box:last-child { border: none; }
    .nav-links { display: none; } /* Simplified for demo */
}