:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --accent-color: #666666;
    --text-color-light: #ffffff;
    --text-color-dark: #000000;
    --bg-color: #000000;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
    --grid-color: rgba(255, 255, 255, 0.03);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    color: var(--text-color-light);
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
}

/* Base Styles */
h1, h2, h3 {
    margin-top: 0;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}

.content-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.hero-content {
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 100;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.hero-sub-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--primary-color);
    background: transparent;
    border-radius: 0;
    font-weight: 300;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.cta-button:hover:before {
    left: 0;
}

/* Navigation */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px;
}

.nav-list li a {
    padding: 10px 0;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Section Headers */
.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--primary-color);
}

/* BIM Section Cards */
.bim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.bim-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 30px;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 400px;
}

.bim-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bim-card:hover::before {
    transform: scaleX(1);
}

.bim-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bim-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}

.bim-card:hover img {
    filter: grayscale(0%) contrast(1);
}

.bim-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 300;
}

.bim-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.project-link {
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    align-self: flex-start;
    padding: 8px 0;
}

/* Flipbook Section
.flipbook-section {
    padding: 60px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    margin: 40px 20px;
    border: 1px solid var(--glass-border);
}

.flipbook-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.flipbook-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--primary-color);
}

.flipbook-container {
    max-width: 1100px;
    max-height: 300px;
    margin: 40px auto 20px;
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 30px;
    align-items: center;
    justify-items: center;
}

#flipbook {
    width: 800px;
    height: 300px;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    grid-column: 2;
}

.page {
    width: 400px;
    height: 300px;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: contrast(1.1);
}

.flipbook-nav-btn {
    padding: 0;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 2rem;
    width: 25px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flipbook-nav-left {
    grid-column: 1;
}

.flipbook-nav-right {
    grid-column: 3;
}

.flipbook-nav-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.02);
}

.flipbook-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#page-info {
    color: var(--secondary-color);
    font-family: inherit;
    letter-spacing: 1px;
    font-size: 1rem;
    text-align: center;
    margin: 20px 0;
    grid-column: 1 / -1;
}

#current-page {
    color: var(--primary-color);
    font-weight: bold;
}

.instructions {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.instructions h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.instructions p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 10px;
} 
*/

/* Responsive adjustments
@media (max-width: 1000px) {
    .flipbook-container {
        grid-template-columns: 50px 1fr 50px;
        gap: 15px;
    }
    
    .flipbook-nav-btn {
        width: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .flipbook-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .flipbook-nav-btn {
        width: 100px;
        height: 60px;
        grid-column: auto;
    }
    
    .flipbook-nav-left {
        grid-row: 1;
    }
    
    #flipbook {
        grid-column: 1;
        grid-row: 2;
    }
    
    .flipbook-nav-right {
        grid-row: 3;
    }
}
*/

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-color-light);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form button {
    padding: 15px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.contact-form button:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-sub-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .content-section h2 {
        font-size: 2rem;
    }

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

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

/* div { outline: 1px solid red !important; } */