@import url('variables.css');
@import url('reset.css');

/* Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    color: var(--accent-black);
    line-height: 1.25;
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--primary-dark-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d15615;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-dark-gray);
    color: var(--primary-dark-gray);
}

.btn-outline:hover {
    background-color: var(--primary-dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-black);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-dark-gray);
}

.nav-link:hover {
    color: var(--primary-orange);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--neutral-light);
    color: var(--primary-dark-gray);
    padding: 6rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--neutral-mid);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-col h4 {
    color: var(--primary-dark-gray);
    /* Was accent-black, keeping standard text color for headers in this design */
    font-family: var(--font-headline);
    /* Ensure serif/headline font if used */
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    /* Lighter weight as per image style */
    text-align: left;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--primary-dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-orange);
}

.footer-logo-large {
    width: 80px;
    height: 80px;
    /* geometric icon placeholder or actual logo */
    border: 2px solid var(--primary-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* Slight rounded corners */
}

.footer-logo-large img {
    width: 60px;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid var(--primary-dark-gray);
    /* Darker line as per image */
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom-left {
    display: flex;
    gap: 2rem;
}

.footer-bottom-left p {
    margin: 0;
    color: var(--primary-dark-gray);
}

.footer-bottom-left a {
    color: var(--primary-dark-gray);
    text-decoration: underline;
}

.footer-bottom-right a {
    color: var(--primary-dark-gray);
    font-size: 1.25rem;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-logo-large {
        display: none;
        /* Hide large logo on mobile if needed, or adjust placement */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Common Components */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--neutral-light);
}

.bg-white {
    background-color: var(--white);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Nav Toggle */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Toggle with JS to flex */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-col img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 800px;
    }

    .hero-image-col {
        order: -1;
        /* Optional: move image to top on mobile, or keep bottom. 
           Let's keep text first for SEO/UX usually, but visuals might pop first.
           Removing order: -1; to keep text first as per original design flow.
        */
        max-width: 500px;
        margin: 0 auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero .btn-group {
        justify-content: center;
    }

    .hero-quick-contact {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}