/* Dunmow Computer Services - Holding Page Styles */

:root {
    --primary: #13233f;
    --primary-light: #1d335c;
    --secondary: #52b45a;
    --background: #f8fafc;
    --text: #333333;
    --muted: #5f6f82;
    --white: #ffffff;
    --border: #e5eaf0;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */

.site-header {
    background: white;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    width: 140px;
    height: auto;
    flex-shrink: 0;
}

.site-header h1 {
    color: var(--primary);
    font-size: 2.2rem;
    line-height: 1.2;
}

.tagline {
    margin-top: 6px;
    color: var(--muted);
    font-size: 1.1rem;
}

.header-phone {
    margin-top: 10px;
}

.header-phone a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
}

.header-phone a:hover {
    text-decoration: underline;
}

/* Hero */

.hero {
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(135deg, var(--primary), var(--primary-light));
    background-size: 40px 40px, 40px 40px, auto;
    padding: 70px 20px;
}

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8f4 100%);
    border-top: 6px solid var(--secondary);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.1);
    padding: 50px;
    border-radius: 18px;
}

.hero-card h2 {
    position: relative;
    padding-bottom: 15px;
}

.hero-card .intro {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    min-width: 400px;
}

.hero-image {
    padding: 30px;
    border-radius: 24px;
    flex: 0 0 400px;
}

.hero-image img {
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.15));
    width: 100%;
    max-width: 350px;
    height: auto;
}

/* Buttons */

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #459c4c;
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

/* Sections */

section {
    padding: 60px 0;
}

section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 25px;
}

/* Services */

.services {
    background: var(--background);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 28px;
    border-radius: 10px;
    border-top: 5px solid var(--secondary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

/* About */

.about {
    background: var(--white);
}

.about p {
    max-width: 850px;
    margin-bottom: 16px;
}

/* Contact */

.contact {
    background: var(--background);
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--secondary);
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* About */
.about {
    padding: 80px 20px;
    background: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--navy);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.7;
}

@media (max-width: 768px) {

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: none;
    }

    .about-image img {
        max-width: 220px;
    }
}

/* Footer */

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 24px 0;
}

/* Mobile */

@media (max-width: 700px) {
    .hero {
        padding: 32px 16px;
    }

    .hero-card {
        width: 100%;
        padding: 32px 22px;
        overflow: hidden;
    }

    .hero-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .hero-text {
        min-width: 0;
        width: 100%;
    }

    .hero-card h2 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-card .intro {
        font-size: 1.05rem;
        line-height: 1.6;
    }

   .hero-image {
        display: block;
        flex: none;
        width: 100%;
        padding: 10px 0 0;
    }

    .hero-image img {
        max-width: 240px;
        width: 80%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 100%;
    }
}