/* ANGITS shared site styles — palette derived from logo.png (red #DD1D21, near-black, mid gray) */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

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

.card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #DD1D21;
}

.card + .card {
    margin-top: 24px;
}

nav.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

nav.site-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav.site-nav a:hover {
    color: #ffffff;
    background-color: #DD1D21;
    text-decoration: none;
}

nav.site-nav a[aria-current="page"] {
    color: #ffffff;
    background-color: #DD1D21;
}

.logo {
    display: block;
    max-width: 160px;
    height: auto;
    margin: 0 auto 20px;
}

h1 {
    color: #111;
    font-size: 28px;
    margin: 0 0 5px;
    text-align: center;
}

h2 {
    color: #222;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    text-align: center;
}

.tagline {
    text-align: center;
    color: #888;
    font-style: italic;
    margin: 0 0 30px;
}

p, li {
    font-size: 15px;
    color: #4a4a4a;
}

.intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

a {
    color: #DD1D21;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.highlight {
    text-align: center;
    background: #fff5f5;
    border: 1px solid #f6d3d4;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 28px auto;
    max-width: 480px;
}

.highlight a {
    font-weight: bold;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.tech-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    min-height: 70px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tech-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-color: #DD1D21;
}

.tech-grid img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
}

.services-intro {
    max-width: 620px;
    margin: 0 auto 10px;
    text-align: center;
}

.services-grid {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    text-align: left;
}

.service-card {
    padding: 14px 16px;
    margin: 0 -16px;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.service-card:hover {
    background-color: #f5f5f5;
}

.service-card:last-child {
    border-bottom: none;
}

.service-card h3 {
    margin: 0 0 6px;
    color: #111;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card .icon {
    font-size: 20px;
    line-height: 1;
}

.service-card p {
    margin: 0;
    font-size: 14px;
}

.contact-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-list .icon {
    font-size: 18px;
    line-height: 1;
}

footer.site-footer {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 32px;
}

footer.site-footer a {
    color: #999;
}

@media (max-width: 600px) {
    body {
        padding: 20px 12px;
    }
    .card {
        padding: 28px 20px;
    }
    h1 {
        font-size: 24px;
    }
    nav.site-nav {
        gap: 4px;
        padding: 8px;
    }
    nav.site-nav a {
        font-size: 14px;
        padding: 8px 12px;
    }
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 12px;
    }
    .tech-grid a {
        padding: 12px;
        min-height: 56px;
    }
    .tech-grid img {
        max-height: 36px;
    }
}
