/* Root variables to make customising colours simple */
:root {
    --bg-color: #0e0e0e; /* deep charcoal background reminiscent of the hero image */
    --text-color: #f5f5f5; /* off‑white for readability on dark backgrounds */
    --primary-color: #ffffff; /* pure white for key text elements */
    --accent-color: #ffd700; /* vibrant yellow accent inspired by the logo */
    --font-family: 'Montserrat', sans-serif;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

section {
    /* Reduce global section padding to bring content closer together */
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    text-align: center;
    /* Use a solid background that matches the overall theme */
    background-color: var(--bg-color);
    /* Let the image define the height rather than imposing a fixed viewport height */
    height: auto;
    /* Reduce bottom padding of the hero to bring following content closer */
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.company-name {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.accent {
    color: var(--accent-color);
}

.tagline {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.primary-btn {
    background-color: var(--accent-color);
    color: #0e0e0e;
}

.primary-btn:hover {
    background-color: #e5c200;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    color: #0e0e0e;
}

/* Headings and paragraphs for content sections */
h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

/* Offerings grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-item {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.offer-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.offer-item p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Contact Section */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .full {
    grid-column: span 2;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border-radius: 4px;
    border: none;
    background-color: #1a1a1a;
    color: var(--primary-color);
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

.contact-form button {
    grid-column: span 2;
    width: fit-content;
    margin-top: 1rem;
    align-self: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #0a0a0a;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        /* Restore the original height for small screens */
        height: 75vh;
    }
    .company-name {
        font-size: 2.5rem;
    }
    .headline {
        font-size: 1.6rem;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-form button {
        grid-column: span 1;
    }
}

/* Hero image styling – do not scale the image */
.hero-image {
    display: block;
    max-width: none;
}

/* Call-to-action Section after hero */
.cta-section {
    text-align: center;
    /* Pull CTA closer to the hero section and reduce bottom spacing */
    /* Slight negative top margin to pull CTA closer and small bottom margin */
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.cta-section .btn {
    margin-top: 0;
}

/* Reduce spacing for content sections to bring them closer to the hero image */
.mission,
.value-proposition,
.offerings,
.contact {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}