/* style.css – PG Automate AB (Mörkt, tekniskt, industriellt) */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: #0b111e;
    color: #e2e8f0;
}

.hero {
    background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0b111e 80%);
    padding: 5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #1e293b;
}

.hero .logo {
    width: 95px;
    height: 95px;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.25);
    border: 1px solid #0284c7;
}

.hero h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto 2rem auto;
}

.cta {
    display: inline-block;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.cta:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.section {
    padding: 4.5rem 1.5rem;
    max-width: 1050px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.1rem;
    color: #f8fafc;
    margin-bottom: 1.2rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: #111a2e;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 1.8rem;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
    color: #38bdf8;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.service-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.section.dark {
    background: #070d18;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    margin-top: 2rem;
}

.section.dark h2 {
    color: #38bdf8;
}

.section.dark p {
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-box {
    background: #111a2e;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.contact-box p {
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.contact-box a {
    color: #38bdf8;
    text-decoration: underline;
}

.footer {
    background: #05080e;
    color: #64748b;
    text-align: center;
    padding: 2.5rem 1rem;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
    margin-top: 4rem;
}

/* Contact form */
form {
    max-width: 580px;
    margin: 2rem auto;
    background: #111a2e;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #1e293b;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #94a3b8;
}

form input, form textarea {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1.3rem;
    border: 1px solid #334155;
    border-radius: 6px;
    font-size: 1rem;
    background: #0b111e;
    color: #f8fafc;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

form button {
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 0.95rem;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

form button:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}
