/* Import Raleway font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Original color palette */
    --link-color: #3396bb;
    --accent-color: #cc3a07;
    --text-color: #444;
    --text-color-secondary: #888;
    --background-color: #e3e9ea;
    --content-bg: #fff;
    --max-width: 1200px;
}

body {
    font-family: "Raleway", Arial, "Helvetica Neue", Helvetica, Geneva, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Hero/About Combined Section */
.hero-about {
    background-color: var(--content-bg);
}

.hero-about-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    align-items: start;
}

.hero-logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

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

/* Hero Section */
.hero {
    background-color: var(--content-bg);
    padding: 4rem 0;
}

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

.hero-content h2 {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--link-color);
    padding-bottom: 12px;
}

.hero-content p {
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-content strong {
    font-weight: 700;
    color: var(--text-color);
}

/* Section Styles */
section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--link-color);
    padding-bottom: 12px;
    line-height: 1.1em;
}

/* Hero/About Content */
.hero-about-content h2 {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--link-color);
    padding-bottom: 12px;
    line-height: 1.1em;
}

.about-text-with-image {
    position: relative;
    overflow: hidden;
}

.about-content {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    overflow: hidden;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.about-content a:hover {
    color: var(--text-color-secondary);
}

.about-image {
    max-width: 300px;
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
    clear: right;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Office Images Section */
.office {
    background-color: var(--content-bg);
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.office-item {
    background-color: var(--content-bg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.office-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.office-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.office-item:last-child img {
    object-position: center;
}

/* Work Section */
.work {
    background-color: var(--background-color);
}

.work-intro {
    text-align: center;
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.work-item {
    background-color: var(--content-bg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.work-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.work-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Footer */
footer {
    background-color: var(--content-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-color-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-logo {
        justify-content: center;
    }
    
    .hero-about-content h2 {
        text-align: center;
    }
    
    .about-image {
        float: none;
        margin: 2rem auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .hero-about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logo {
        height: 120px;
    }
    
    .hero-about-content h2 {
        text-align: center;
    }
    
    .about-image {
        float: none;
        margin: 2rem auto;
        max-width: 100%;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 25px;
    }

    section {
        padding: 2.5rem 0;
    }

    h2 {
        font-size: 25px;
    }

    .about-content {
        font-size: 19px;
    }

    .hero-content p {
        font-size: 19px;
    }

    .office-grid,
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .work-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    header h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 22px;
    }
}
