/* ===== CSS Variables for easy editing ===== */
:root {
    --primary-color: #2c3e50;
    --accent-color: #e67e22;
    --bg-color: #ffffff;
    --text-color: #333333;
    --footer-bg: #f8f9fa;
    --font-family: 'Inter', sans-serif;
    --header-height: 80px;
}

/* ===== Google Fonts import ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* ===== Sticky Header ===== */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--bg-color);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

header p {
    font-size: 1rem;
    color: #555;
}

/* ===== Main Layout (flex) ===== */
main {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    gap: 2rem;
}

/* ===== Services Column (left) ===== */
.services {
    flex: 1 1 300px;
    min-width: 250px;
}

.services ul {
    list-style: none;
    padding: 0;
}

.services li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background-color: #f1f3f5;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* Popdown service details */
.service-heading {
    cursor: pointer;
    font-weight: 600;
}

.service-heading::after {
    content: ' ▼';
    font-size: 0.75em;
}

.service-detail {
    display: none;
    margin-top: 0.5em;
    padding-left: 1em;
    font-weight: 400;
    color: #555;
}

.service-detail.open {
    display: block;
}

/* ===== Parallax Container (right) ===== */
.parallax {
    flex: 1 1 400px;
    min-height: 400px;
    background-image: url('logo.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Hide the <img> inside .parallax – we use background-image for parallax */
.parallax img {
    display: none;
}

/* ===== Footer ===== */
footer {
    background-color: var(--footer-bg);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
}

footer p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    color: #555;
}

/* ===== Responsive (mobile) ===== */
@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    .parallax {
        min-height: 250px;
        background-attachment: scroll; /* disable fixed on mobile for performance */
    }

    header h1 {
        font-size: 1.5rem;
    }
}
