/* ATXSeed.com — Shared Styles */

:root {
    --primary: #1e293b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
}

.logo {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 120px;
    width: 120px;
    object-fit: contain;
    border-radius: 10px;
}

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--primary);
}

.nav-toggle svg { display: block; }

/* Hero */
.hero {
    padding: 48px 24px;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 16px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Sections */
.section {
    padding: 40px 0;
}

.section--white { background: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 0 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
}

.card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Contact bar */
.contact-bar {
    text-align: center;
    padding: 36px 24px;
    background: var(--primary);
    color: var(--white);
}

.contact-bar h2 {
    font-size: 1.5rem;
    margin: 0 0 8px;
    font-weight: 600;
}

.contact-bar a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.15s;
}

.contact-bar-sub {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 24px;
    font-size: 1.05rem;
}

.contact-bar-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

.btn--white:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.contact-email {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.15s;
}

.contact-email:hover {
    border-color: var(--white);
    color: var(--white);
}

/* Contact form */
.contact-form {
    max-width: 440px;
    margin: 24px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}


/* Product card */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px;
    max-width: 480px;
}

.product-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0 0 12px;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 20px;
}

.product-card .btn {
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s;
}

.btn:hover {
    background: var(--accent-hover);
    color: var(--white);
}

/* Hero CTA */
.hero-cta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-cta-alt {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-cta-alt a {
    font-weight: 600;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 24px;
}

.section-cta p {
    color: var(--text-light);
    margin: 0 0 16px;
    font-size: 1.05rem;
}

/* About / Trust section */
.about-text {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.75;
    margin: 0 0 16px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-location {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-light);
}

footer .footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: var(--text-light);
    font-weight: 500;
}

footer .footer-links a:hover { color: var(--primary); }

footer .copyright { margin: 0; }

/* 404 page */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 64px - 97px);
    padding: 60px 24px;
}

.error-page h1 {
    font-size: 5rem;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}

.error-page h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 12px 0 16px;
    font-weight: 600;
}

.error-page p {
    color: var(--text-light);
    margin: 0 0 28px;
    max-width: 400px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 36px 24px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }

    .section { padding: 28px 0; }
    .section-header h2 { font-size: 1.6rem; }

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

    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 140px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .nav-links.open { display: flex; }

    header .container { position: relative; }
}
