/* ============================================
   Team Construction Inc - Styles
   ============================================ */

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

:root {
    --brown: #4a2c0a;
    --brown-dark: #3a2008;
    --orange: #e87a1e;
    --orange-light: #f09030;
    --cream: #faf6f1;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-600: #555;
    --gray-800: #2a2a2a;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, sans-serif;

    --max-width: 1100px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--orange-light);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../assets/tc-background-image.jpg') center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(58, 32, 8, 0.82) 0%,
        rgba(58, 32, 8, 0.7) 60%,
        rgba(58, 32, 8, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
    max-width: 680px;
    animation: fadeUp 0.8s ease-out both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 140px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--orange-light);
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
}


/* --- Services --- */
.services {
    padding: 5rem 0;
    background: var(--cream);
}

.services h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--brown);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.25rem;
    color: var(--orange);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--brown);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.65;
}


/* --- Contact --- */
.contact {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
}

.contact h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 0.75rem;
    color: var(--brown);
}

.contact > .container > p {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
}

.contact-item a,
.contact-item span {
    font-size: 1rem;
    color: var(--gray-800);
}

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


/* --- Footer --- */
footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 1.75rem 0;
    font-size: 0.85rem;
}


/* --- Responsive --- */
@media (max-width: 600px) {
    .logo {
        width: 110px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}
