/* ==========================================
   Buildeaz Landing Page Stylesheet
   Premium Dark Theme with Construction Orange Accent
   ========================================== */

/* ==========================================
   CSS Variables - Color System
   ========================================== */
:root {
    /* Brand Colors */
    --brand-primary: #FF8A00;
    --brand-hover: #FF9E2B;
    --brand-active: #E67A00;
    
    /* Backgrounds - Dark Theme */
    --bg-primary: #0E1526;
    --bg-secondary: #1A1F35;
    --bg-tertiary: #242B45;
    --bg-overlay: rgba(14, 21, 38, 0.92);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-medium: rgba(255, 255, 255, 0.25);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-orange: 0 0 20px rgba(255, 138, 0, 0.3);
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-xxl: 100px;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   Typography System
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 66px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ==========================================
   Header / Navigation
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(14, 21, 38, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 160px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-primary);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 40px 80px;
    background-image: url('https://images.unsplash.com/photo-1518106483637-3370c2448997?crop=entropy&cs=srgb&fm=jpg&ixid=M3w3NDk1NzZ8MHwxfHNlYXJjaHwyfHxtb2Rlcm4lMjBhcmNoaXRlY3R1cmV8ZW58MHx8fGJsYWNrfDE3NjE1NzcwNzh8MA&ixlib=rb-4.1.0&q=85');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 21, 38, 0.95) 0%, rgba(14, 21, 38, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    min-height: 56px;
    line-height: 1;
}

.btn-primary {
    background: var(--brand-primary);
    color: #000000;
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-primary:active {
    transform: translateY(0);
    background: var(--brand-active);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    padding: var(--space-xxl) 40px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto var(--space-xl) auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: var(--space-xl);
}

.stat-item {
    padding: 40px 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
    text-align: center;
}

.stat-item:hover {
    border-color: var(--brand-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 138, 0, 0.1);
    border: 2px solid var(--brand-primary);
}

.stat-icon svg {
    color: var(--brand-primary);
}

.stat-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ==========================================
   Vision Section
   ========================================== */
.vision-section {
    background: var(--bg-primary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: var(--space-xl);
}

.pillar-card {
    padding: 48px 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 138, 0, 0.1);
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    background: rgba(255, 138, 0, 0.2);
    transform: scale(1.1);
}

.pillar-icon svg {
    color: var(--brand-primary);
}

.pillar-title {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: center;
}

.pillar-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    background: var(--bg-secondary);
    padding: var(--space-xxl) 40px;
}

.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl) auto;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-primary);
    padding: 48px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

.contact-alternative {
    text-align: center;
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
}

.contact-alternative p {
    margin-bottom: 12px;
    font-size: 16px;
}

.email-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--brand-hover);
    text-decoration: underline;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--bg-primary);
    padding: var(--space-xl) 40px 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-divider {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Scroll reveal effect */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .logo {
        height: 100px;
        max-width: 320px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .section {
        padding: var(--space-xl) 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-logo {
        height: 90px;
        max-width: 280px;
    }
    
    .about-stats,
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 32px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pillar-card,
    .stat-item {
        padding: 32px 24px;
    }
}