/* Royal Car Curtains — shared site styles */

:root {
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --ink: #1E1B18;
    --ink-soft: #5B534C;
    --red: #C6281D;
    --red-deep: #96170F;
    --line: #E9E1D6;
    --gold: #B8894A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Changa', sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
}

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

a { color: inherit; }

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

/* ---------- Header ---------- */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 20px;
    flex: none;
}

.brand-name {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
}

.brand-name span {
    display: block;
    font-family: 'Changa', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: var(--ink-soft);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 26px;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
}

.nav-links a:hover { color: var(--red); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.header-cta:hover { background: var(--red-deep); }

/* ---------- Hero ---------- */

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(198,40,29,0.08), transparent 55%),
        var(--cream);
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--line);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--red);
    background: rgba(198,40,29,0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'Amiri', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 18px;
}

.hero p.lead {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(198,40,29,0.28);
}

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

.btn-outline {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.btn-outline:hover { border-color: var(--red); color: var(--red); }

.hero-photo {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30,27,24,0.14);
    aspect-ratio: 1 / 1;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust strip ---------- */

.trust-strip {
    background: var(--ink);
    color: var(--cream);
    padding: 14px 0;
}

.trust-strip .container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---------- Section heading ---------- */

.section {
    padding: 72px 0;
}

.section-head {
    text-align: center;
    max-width: 62ch;
    margin: 0 auto 44px;
}

.section-head h2 {
    font-family: 'Amiri', serif;
    font-size: 30px;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 15px;
}

/* ---------- Products ---------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(30,27,24,0.10);
}

.product-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--cream);
}

.product-photo img { width: 100%; height: 100%; object-fit: cover; }

.product-body { padding: 16px 18px 20px; }

.product-body h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.product-body p {
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---------- Features ---------- */

.feature-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: rgba(198,40,29,0.08);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.feature h3 { font-size: 15px; margin-bottom: 8px; }

.feature p { font-size: 13px; color: var(--ink-soft); }

/* ---------- Locations ---------- */

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: var(--ink);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-card:hover { border-color: var(--red); }

.location-pin {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    font-size: 16px;
}

.location-card h3 { font-size: 15px; margin-bottom: 4px; }

.location-card p { font-size: 13px; color: var(--ink-soft); }

/* ---------- Contact ---------- */

.contact-panel {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-panel h2 {
    font-family: 'Amiri', serif;
    font-size: 28px;
    margin-bottom: 12px;
}

.contact-panel p { opacity: 0.9; font-size: 14px; margin-bottom: 22px; max-width: 42ch; }

.contact-list { list-style: none; font-size: 14px; }

.contact-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.contact-list li:last-child { border-bottom: none; }

.contact-list a { text-decoration: none; color: var(--white); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: rgba(250,247,242,0.75);
    padding: 48px 0 24px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(250,247,242,0.12);
}

.footer-grid h4 {
    color: var(--cream);
    font-size: 13px;
    margin-bottom: 14px;
    letter-spacing: 0.4px;
}

.footer-grid ul { list-style: none; }

.footer-grid li { margin-bottom: 8px; }

.footer-grid a { text-decoration: none; color: inherit; }

.footer-grid a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a { text-decoration: underline; }

/* ---------- Legal pages ---------- */

.legal-page {
    padding: 56px 0 80px;
}

.legal-page .container { max-width: 780px; }

.legal-page h1 {
    font-family: 'Amiri', serif;
    font-size: 32px;
    margin-bottom: 6px;
}

.legal-updated {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.legal-page h2 {
    font-family: 'Amiri', serif;
    font-size: 19px;
    margin: 32px 0 10px;
}

.legal-page p, .legal-page li {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.legal-page ul { padding-inline-start: 22px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-photo { order: -1; max-width: 360px; margin: 0 auto; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-panel { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: 1fr; }
    .contact-panel { grid-template-columns: 1fr; padding: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
