/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- General Setup & Variables --- */
:root {
    /* UPDATED: Background color reverted to the original off-white */
    --bg-color: #F5F5F1; 
    --text-color: #0A0A0A;
    --border-color: #E0E0E0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

/* --- Section Title Styling --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    /* Maintained the larger logo size */
    height: 55px; 
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #888;
}

/* --- Language Switcher --- */
.lang-switcher {
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.lang-switcher:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}


/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #555;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* --- Featured Work Section --- */
.featured-work {
    padding: 80px 0;
}

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

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

/* --- Services Section --- */
.services {
    padding: 80px 0;
    /* UPDATED: Changed back to white for contrast */
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.service-item svg {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-item p {
    color: #555;
}

/* --- Call to Action (CTA) Section --- */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.btn-secondary {
    background-color: var(--text-color);
    color: #fff;
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--text-color);
}


/* --- Footer --- */
.main-footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.main-footer p {
    color: #888;
    font-size: 14px;
}

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

    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
}