/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a5568;
    --accent-color: #3182ce;
    --divider-color: #e2e8f0;
    --footer-color: #718096;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    padding: 2rem 0;
    position: relative;
    z-index: 3;
}

.logo {
    height: 50px;
    width: auto;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    animation: pulse 4s infinite ease-in-out;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
}

.text-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.building-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 80%;
}

.divider {
    height: 1px;
    background-color: var(--divider-color);
    margin: 2.5rem 0;
    max-width: 400px;
}

.contact-info {
    margin-top: 2rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.email {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.email:hover {
    color: #2c5282;
    text-decoration: underline;
}

/* Background overlay */
.background-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50vh;
    background: url('images/header-background.png') no-repeat center bottom;
    background-size: cover;
    z-index: 1;
    opacity: 0.9;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 2;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--footer-color);
    position: relative;
    z-index: 3;
    background-color: #fff;
    margin-top: auto;
    border-top: 1px solid var(--divider-color);
    font-size: 0.875rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .text-content {
        text-align: center;
        max-width: 100%;
    }
    
    .subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .divider {
        margin: 2.5rem auto;
    }
    
    .image-content {
        justify-content: center;
        width: 100%;
    }
    
    .building-image {
        max-height: 400px;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .background-overlay {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
}

/* Animation for the under construction feel */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

main {
    animation: pulse 4s infinite ease-in-out;
}
