/* ====== COLOURS ====== */
:root {
    --bg: #ffffff;
    --accent1: #805a6f;
    --accent2: #5e806a;
    --accent3: #5d6f81;
    --text: #333333;
    --soft: #f7f7f7;
}

/* ====== GLOBAL ====== */
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 1.1em;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 50px 0;
}
.container-menu {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 10px 0;
}
.container-foot {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 10px 0;
}

h1, h2, h3 {
    color: var(--accent1);
    font-weight: 600;
}


/* ====== NAVIGATION ====== */
.site-header {
    background: var(--soft);
    padding: 20px 0;
    border-bottom: 2px solid var(--accent1);
}

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

.logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent1);
	margin-right: 20px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--accent3);
    font-weight: 600;
}

nav a:hover {
    color: var(--accent1);
}

/* ====== HERO ====== */
.hero {
    background: var(--soft);
    text-align: center;
    padding: 30px 0;
}

.subheadline {
    max-width: 800px;
    margin: auto;
    color: var(--accent3);
    font-size: 1.35rem;
}

.cta-group {
    margin-top: 30px;
}
.cta-group-contact {
    margin-top: 40px;
    text-align:center;
	margin-bottom: 80px;
}

.btn {
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    display: inline-block;
}

.btn.primary {
    background: var(--accent2);
    color: #fff;
}

.btn.secondary {
    background: var(--accent3);
    color: #fff;
}

@media (max-width: 600px) {
    .btn {
        display: block;
        margin: 0 0 30px 0; /* 30px spacing between buttons */
    }
}

/* ====== PAGE HEADER ====== */
.page-header {
    background: var(--soft);
    text-align: center;
    padding: 30px 0;
}

.page-header .subtitle {
    max-width: 700px;
    margin: auto;
    color: var(--accent3);
    font-size: 1.35rem;
}

/* ===== DOUBLE SECTION (50/50 layout) ===== */

.double-grid {
    display: flex;
    flex-wrap: nowrap; /* keeps them side-by-side */
    gap: 40px;
    align-items: flex-start;
}

/* 60% text / 40% image */
.double-grid > .double-text {
    width: 60%;
    flex: 0 0 60%;
    max-width: 60%;
    box-sizing: border-box;
}

.double-grid > .double-image {
    width: 40%;
    flex: 0 0 40%;
    max-width: 40%;
    box-sizing: border-box;
}

/* Image behaviour */
.double-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Mobile: stack */
@media (max-width: 768px) {
    .double-grid {
        flex-wrap: wrap;
    }

    .double-grid > .double-text,
    .double-grid > .double-image {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Mobile: stack */
@media (max-width: 768px) {
    .double-grid {
        flex-wrap: wrap; /* allow stacking */
    }

    .double-grid > .double-text,
    .double-grid > .double-image {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ====== SERVICES ====== */
.service-block {
    background: var(--soft);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--accent3);
    margin-bottom: 30px;
}

.service-block h3 {
    color: var(--accent2);
}

/* ====== CLIENT GRID ====== */
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.client-item {
    background: var(--soft);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-item img {
    width: 100%;
    height: auto;
    max-width: 400px;   /* prevents huge images */
    max-height: 200px;  /* keeps them visually balanced */
    object-fit: contain;
}

/* ====== CONTACT FORM ====== */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--accent3);
    border-radius: 6px;
    font-size: 1rem;
}

/* ====== FOOTER ====== */
footer {
    background: var(--accent1);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--accent1);
    padding: 20px 0;
}

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

.footer-menu a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}

.footer-menu a:last-child {
    margin-right: 0;
}

.footer-menu a:hover {
    color: #c0c0c0;
}

.footer-copy {
    white-space: nowrap;
    font-weight: 500;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .client-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    nav a {
        margin-left: 0px;
    }
}
