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

/* Theme */
:root {
    --color-text: #333333;              /* primary text */
    --color-bg-header: #1a1a1a;         /* header/footer background */
    --color-accent: #3a5a7a;            /* muted steel blue */
    --color-accent-hover: #2d4861;      /* darker accent for hover */
    --hero-start: #4b5563;              /* neutral gray */
    --hero-end: #1f2937;                /* deep gray-blue (no purple) */
    --surface: #ffffff;                  /* cards */
    --surface-alt: #f8f9fa;              /* section alt bg */
    --muted: #666666;                    /* secondary text */
    --shadow: rgba(0,0,0,0.1);
    --shadow-strong: rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
}

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

/* Header and Navigation */
header {
    background-color: var(--color-bg-header);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--color-accent);
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 4px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%);
    background-color: var(--hero-end); /* fallback */
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--surface-alt);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}
.about-text h2 {
    text-align: center;
}

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

.about-media {
    display: flex;
    justify-content: center;
}

.about-media img {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow);
    background: var(--surface);
    padding: 12px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    text-align: left;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a1a1a;
}

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

.service-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px var(--shadow-strong);
}

.service-card h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--surface-alt);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

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

footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .menu-toggle {
        display: inline-block;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        gap: 0;
        background: var(--color-bg-header);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        overflow: hidden;
        text-align: left;
        box-shadow: 0 8px 16px var(--shadow-strong);
        z-index: 200;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 12px 16px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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