/* 
 * Bauhaus Architecture - Enterprise Style Sheet
 * Design Theme: Modern Minimalist / Functionalism
 */

:root {
    /* Color Palette */
    --primary-color: #D4FF00; /* Lime Yellow */
    --primary-hover: #b8de00;
    --text-dark: #000000;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-dot: #E5E5E5;
    --border-color: #EEEEEE;
    --dark-footer: #1A1A1A;

    /* Typography */
    --font-primary: 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-weight-bold: 700;
    --font-weight-medium: 500;
    --font-weight-light: 300;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --section-padding: 100px;
    --grid-gap: 30px;
    --transition-base: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 1. Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Header & Navigation */
.top-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header {
    padding: 25px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    border-bottom-color: var(--border-color);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hamburger-menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-base);
}

.hamburger-menu:hover span:nth-child(2) {
    width: 20px;
}

/* 3. Hero Section */
.hero-section {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay-box {
    position: relative;
    padding: 60px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-color);
    margin-left: 5%;
}

.hero-overlay-box::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    z-index: -1;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    color: #fff;
}

/* 4. Layout Components */
.section {
    padding: var(--section-padding) 0;
}

.section-title-wrap {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

/* About Section Specifics */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-counter {
    display: inline-block;
    border: 1px solid var(--primary-color);
    padding: 20px 40px;
    margin-top: 30px;
}

.experience-counter span {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.project-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-base);
}

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

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

/* Testimonials with Dot Grid */
.testimonials-section {
    background-color: var(--bg-light);
    background-image: radial-gradient(var(--bg-dot) 1px, transparent 1px);
    background-size: 30px 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 50px;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.quote-icon {
    font-size: 60px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

/* 5. UI Elements */
.btn-link {
    display: inline-flex;
    align-items: center;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-link::after {
    content: " →";
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-link:hover::after {
    transform: translateX(5px);
}

.btn-link:hover {
    color: var(--primary-color);
}

/* 6. Footer */
.main-footer {
    background-color: var(--dark-footer);
    color: #999;
    padding: 80px 0 0 0;
}

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

.footer-logo {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-heading {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
}

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

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: #111;
    padding: 30px 0;
    font-size: 13px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 7. Utilities */
.text-primary { color: var(--primary-color); }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }
.bg-gray { background-color: var(--bg-light); }

/* 8. Responsive Design */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px;
    }

    .hero-title {
        font-size: 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-overlay-box {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .testimonial-card {
        padding: 30px;
    }
}

/* 9. Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}