/* motosas.css */

/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0D1A3A;
    --navy-mid: #1a2847;
    --accent-gold: #e2b835;
    --accent-gold-dark: #c9a233;
    --text-main: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-light-alt: #edf2f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: #ffffff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 130px;
    width: auto;
}

/* Nav */
nav a {
    color: var(--accent-gold);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    font-size: 0.98rem;
    transition: opacity 0.3s, transform 0.2s;
}

nav a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

nav a.active {
    text-decoration: underline;
}

/* Hero */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    color: white;
    padding: 4.5rem 2rem;
    text-align: center;
}

.page-hero .container {
    max-width: 900px;
}

.page-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.page-hero .highlight {
    color: var(--accent-gold);
}

/* Buttons */
.btn-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.button,
.cta-button,
.secondary-button {
    display: inline-block;
    border-radius: 8px;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.cta-button {
    background: var(--accent-gold);
    color: var(--navy-dark);
    box-shadow: 0 4px 15px rgba(226, 184, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 184, 53, 0.4);
}

.secondary-button {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.6);
}

.secondary-button:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

/* Sections */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
}

.content-section.dark {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light-alt) 100%);
}

.section-title {
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grids & cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
}

.card h3,
.card h4 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.96rem;
    color: var(--text-muted);
}

/* Customers grid */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

/* Product images */
.product-image {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    max-height: 260px;
}

.product-meta {
    margin-top: 0.9rem;
}

.product-meta h3 {
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 0.2rem;
}

.product-meta p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Contact form */
.contact-wrapper {
    max-width: 640px;
    margin: 0 auto;
    margin-top: 2rem;
}

.contact-form {
    background: #ffffff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--navy-dark);
}

input,
textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font-size: 0.95rem;
    font-family: inherit;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    padding: 3.5rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: #cbd5e0;
    text-align: center;
    padding: 1.8rem;
    font-size: 0.9rem;
}

footer p + p {
    margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    nav a {
        margin-left: 0;
        margin-right: 1rem;
        display: inline-block;
        margin-bottom: 0.3rem;
    }

    .page-hero {
        padding: 3.3rem 1.4rem;
        text-align: left;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 3.3rem 1.4rem;
    }
}
