/* All About Computers Services — allincomputers.com
   Palette: white, black, minimal. Serif display heading. */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- Header ---- */
.header {
    text-align: center;
    padding: 5rem 2rem 2rem;
}

.header h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666666;
    margin-top: 0.5rem;
}

/* ---- Hero Image ---- */
.hero-image-section {
    text-align: center;
    padding: 2rem 2rem 3rem;
}

.hero-image {
    display: block;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* ---- Intro ---- */
.intro {
    max-width: 620px;
    margin: 0 auto;
    padding: 1rem 2rem 3.5rem;
    text-align: center;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3a3a3a;
}

/* ---- Section Common ---- */
section h2 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ---- Services ---- */
.services {
    background-color: #f8f8f8;
    padding: 4.5rem 2rem;
}

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

.service-card {
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.55;
}

/* ---- Contact ---- */
.contact {
    padding: 4.5rem 2rem;
    background-color: #ffffff;
}

.contact-details {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.contact-item {
    font-size: 1.05rem;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999999;
    margin-bottom: 0.2rem;
}

.contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.contact-item a:hover {
    border-color: #1a1a1a;
}

/* ---- Footer ---- */
.footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .header {
        padding: 3.5rem 1.5rem 1.5rem;
    }

    .header h1 {
        font-size: 2.4rem;
    }

    .hero-image-section {
        padding: 1.5rem 1.5rem 2rem;
    }

    .intro {
        padding: 1rem 1.5rem 2.5rem;
    }

    .services {
        padding: 3rem 1.25rem;
    }

    section h2 {
        font-size: 1.7rem;
    }

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

    .contact {
        padding: 3rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2.5rem 1rem 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .services {
        padding: 2.5rem 1rem;
    }

    .contact {
        padding: 2.5rem 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .contact-item a {
        transition: none;
    }
}
