﻿/*
    Business Homepage Template Styles
    --------------------------------------------------
    Edit the variables below to change the color palette.
    Use the section comments to adjust spacing and layout.
*/
:root {
    --primary-color: #2c7a7b;
    --accent-color: #f6ad55;
    --surface-color: #ffffff;
    --background-color: #f5f7fb;
    --text-color: #1f2937;
    --muted-text: #575f6f;
    --border-color: #dbe2ea;
    --shadow: 0 20px 50px rgba(44, 122, 123, 0.12);
}

/* Global page styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

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

button,
.btn {
    font: inherit;
}

/* Page wrapper for centered content */
.page-shell {
    max-width: 1150px;
    margin: 0 auto;
    padding: 24px;
}

/* Header and navigation */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.brand a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--muted-text);
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--text-color);
}

/* Hero section styling */
.hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0 60px;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.hero h1 {
    margin: 0 0 24px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
}

.hero-text {
    max-width: 560px;
    margin: 0 0 32px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: min(100%, 420px);
    min-height: 340px;
    border-radius: 32px;
    padding: 36px;
    background: linear-gradient(180deg, rgba(44,122,123,0.15), rgba(246,173,85,0.15));
    border: 1px solid rgba(44, 122, 123, 0.12);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    text-align: center;
}

.visual-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin-bottom: 24px;
}

.visual-card p {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

/* Section defaults */
.section {
    padding: 56px 0;
}

.section-alt {
    background: white;
    border-radius: 32px;
    padding: 56px 44px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.section-heading {
    margin-bottom: 32px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.section-grid,
.cards-grid,
.testimonial-grid,
.contact-grid {
    display: grid;
    gap: 24px;
}

.section-grid {
    grid-template-columns: 1fr 1fr;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--muted-text);
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 10px;
}

.cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 30px rgba(36, 56, 78, 0.06);
}

.card h3 {
    margin-top: 0;
}

.testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.testimonial-card p {
    margin: 0 0 18px;
    color: var(--muted-text);
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 32px;
    padding: 40px 48px;
    margin: 40px 0;
}

.cta-copy h2,
.cta-copy p {
    margin: 0;
}

.cta-copy p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section {
    background: #ffffff;
    border-radius: 32px;
    padding: 56px 48px;
    border: 1px solid var(--border-color);
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
}

.contact-grid p {
    margin: 0 0 12px;
    color: var(--muted-text);
}

.site-footer {
    text-align: center;
    padding: 28px 0 12px;
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* Mobile responsive styles */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .section-grid,
    .cards-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 18px;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-alt,
    .footer-section,
    .cta-section {
        padding: 32px 24px;
        border-radius: 24px;
    }
}
