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

:root {
    --primary: #1a3a5c;
    --accent: #e8a838;
    --light: #f5f5f5;
    --dark: #222;
    --white: #fff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

/* Navigation */
header {
    background: var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(26, 58, 92, 0.85), rgba(26, 58, 92, 0.85)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #d4952e;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    background: var(--light);
}

.services-grid {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Gallery */
.work {
    padding-bottom: 3rem;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.before-after img {
    height: 200px;
}

.before-after .label {
    text-align: center;
    padding: 0.3rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.before-after .label.before {
    background: #e74c3c;
    color: white;
}

.before-after .label.after {
    background: #27ae60;
    color: white;
}

.gallery-caption {
    padding: 0.8rem 1rem;
    background: var(--white);
}

.gallery-caption strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.2rem;
}

.gallery-caption span {
    color: #666;
    font-size: 0.9rem;
}

.gallery-placeholder {
    text-align: center;
    padding: 3rem;
    background: var(--light);
    border-radius: 8px;
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
}

/* Clients */
.clients {
    background: var(--light);
}

.clients-grid {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.client-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.client-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* About */
.about-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.about-highlight {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

.team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-member {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
}

.team-member h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact {
    background: var(--light);
}

.contact-content {
    max-width: 1000px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

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

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 2rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 200;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem;
    }

    .logo {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .logo-img {
        height: 35px;
        max-width: 180px;
    }

    .mobile-menu {
        display: flex !important;
        -webkit-appearance: none;
        appearance: none;
        flex-shrink: 0;
        padding: 10px;
        background: var(--accent) !important;
        border: none !important;
        border-radius: 4px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .menu-bar {
        background: var(--dark);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .team {
        grid-template-columns: 1fr;
    }

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

    .before-after img {
        height: 150px;
    }

    .gallery-filters {
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}
