:root {
    --bg-dark: #1a1f24;
    --bg-darker: #111418;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --accent-blue: #5a7d9a;
    --accent-blue-hover: #7a9dbd;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.logo-link {
    display: block;
}

.logo-img {
    height: 80px;
    /* Increased size for visibility */
    width: auto;
}

.site-nav a {
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-nav a:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero-split {
    display: flex;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    background-color: var(--bg-dark);
    padding: 8rem 4rem 4rem 6rem;
    /* Left padding larger for visual balance */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-image {
    flex: 1.2;
    /* Slightly wider image area */
    background-color: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overline {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    display: block;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.accent-text {
    color: var(--accent-blue);
    font-style: italic;
    /* Mimicking the reference style */
}

.hero-content p {
    color: var(--text-gray);
    max-width: 500px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
}

/* Services Section */
.services-section {
    padding: 6rem 4rem;
    background-color: var(--text-light);
    /* White background for contrast */
    color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Projects Section */
.projects-section {
    padding: 6rem 4rem;
    background-color: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-item {
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

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

.project-item:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: 6rem 4rem;
    background-color: var(--bg-darker);
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 4rem;
    background-color: var(--bg-dark);
    border-top: 1px solid #333;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-wrapper p {
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item span {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    padding: 2rem 4rem;
    background-color: var(--bg-darker);
    color: #555;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-content {
        padding: 6rem 2rem 4rem 2rem;
        min-height: auto;
    }

    .hero-image {
        min-height: 400px;
    }

    .site-header {
        padding: 1.5rem 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .services-section,
    .about-section,
    .contact-section {
        padding: 4rem 2rem;
    }
}