:root {
    --primary-color: #ff5c33;
    --text-color: #000000;
    --bg-color: #ffffff;
    --bg-alt-color: #f2f2f2;
    --max-width: 1200px;
    --section-padding: 5rem;
    --title-font: 'Roboto', sans-serif;
    --body-font: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3 {
    font-family: var(--title-font);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
header {
    position: relative;
    background: rgba(255, 255, 255, 0.0);
    z-index: 1000;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 2rem 0;
    text-align: center;
}

.logo {
    display: inline-block;
}

.logo img {
    height: 150px;
    width: auto;
    margin: 0;
}

main {
    margin-top: -2rem;
}

section {
    padding: 2rem;
}

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: relative;
    margin-bottom: 2rem;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 4.5rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
    font-weight: 500;
}

.about {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    padding: 0 2rem;
    padding-top: var(--section-padding);
    padding-bottom: calc(var(--section-padding) * 1.5);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about p:last-child {
    margin-bottom: 0;
}

.about > div:first-child {
    padding-right: 2rem;
}

.about > div:last-child {
    padding-left: 2rem;
}

.services {
    background-color: var(--bg-alt-color);
    text-align: center;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-desc {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.services-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    position: relative;
    aspect-ratio: 1.5;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.4), 
        rgba(0,0,0,0.6)
    );
    z-index: 1;
    transition: all 0.3s ease;
}

.product-management,
.software-development,
.architecture,
.due-diligence {
    background-position: center;
    background-size: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-content {
    transform: translateY(-10px);
}

.service-card:hover::before {
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.5), 
        rgba(0,0,0,0.7)
    );
}

.service-card:hover .product-management,
.service-card:hover .software-development,
.service-card:hover .architecture,
.service-card:hover .due-diligence,
.product-management:hover,
.software-development:hover,
.architecture:hover,
.due-diligence:hover {
    transform: scale(1.05);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    transition: transform 0.3s ease;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-card p {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 400;
}

.product-management {
    background: url('../images/services/product-management.jpg') center/cover;
}

.software-development {
    background: url('../images/services/software-development.jpg') center/cover;
}

.architecture {
    background: url('../images/services/architecture-consult.jpg') center/cover;
}

.due-diligence {
    background: url('../images/services/technical-due-diligence.jpg') center/cover;
}

.contact {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: var(--section-padding);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 500;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 2rem;
}

address {
    font-style: normal;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #666;
    transition: all 0.3s;
    pointer-events: none;
}

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

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0;
    font-size: 0.875rem;
    color: var(--primary-color);
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 7px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e64d29;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about > div:first-child,
    .about > div:last-child {
        padding: 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .service-card {
        aspect-ratio: 1.8;
    }

    .card-content {
        padding: 2rem;
    }

    .service-card h3 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    section {
        padding: calc(var(--section-padding) / 2) 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem 0.5rem;
    }

    .service-card {
        aspect-ratio: 1.6;
    }

    .card-content {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
} 