/* 
   BuildMaster Construction Design System
   Brand Personality: Strong, Industrial, Premium, Execution-Focused
*/

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

:root {
    --primary: #FFD700; /* Construction Yellow */
    --primary-dark: #ccac00;
    --secondary: #1a1a1a; /* Charcoal */
    --accent: #95a5a6; /* Concrete Gray */
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* BrandVelocity Badge */
.bv-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background: var(--secondary);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--text-light);
}

nav ul {
    display: flex;
    gap: 40px;
}

nav ul li a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary);
}

.header-cta {
    background: var(--primary);
    color: var(--secondary);
    padding: 12px 28px;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

/* Layout Elements */
section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h2 {
    font-size: 48px;
    margin-bottom: 40px;
    line-height: 1.1;
}

h2 span {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.btn-primary:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--text-light);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Project Cards */
.project-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.project-info p {
    font-size: 14px;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 5% 40px;
}

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

.footer-logo {
    font-size: 32px;
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h2 { font-size: 32px; }
    nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}
