/* Hero Image */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--text-color);
    /* Ensure text is readable over image */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_background.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
    /* Slightly darker for better contrast */
    z-index: -1;
    transition: transform 0.8s ease-out;
}

.hero:hover .hero-image {
    transform: scale(1.05);
    /* Subtle zoom effect */
}

.hero .container,
.service-hero .container {
    position: relative;
    /* Bring container content above the image */
    z-index: 1;
}

.service-hero {
    position: relative;
    overflow: hidden;
    color: var(--text-color);
    transition: transform 0.8s ease-out;
}

.service-hero:hover {
    background-size: 105% !important;
    /* Subtle zoom on hover for background-image */
}

.spoke-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
}

.spoke-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.spoke-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.6s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.spoke-card:hover img {
    transform: scale(1.08);
}

/* Gallery Images */
.gallery .media img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Existing styles below */

:root {
    --primary-color: #0d0d0d;
    --accent-color: #d4af37;
    /* Premium Gold/Bronze */
    --text-color: #ffffff;
    --background-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-weight: 600;
    font-size: 1.25rem;
    white-space: nowrap;
}

.logo a {
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent-color);
}

.cta-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.45rem 0.9rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-primary:hover {
    background-color: #e6b800;
    transform: translateY(-1px);
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.cta-secondary {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.spokes {
    padding: 4rem 0;
}

.spokes h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.spoke-card {
    background-color: var(--primary-color);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.spoke-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.spoke-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
}

footer {
    background-color: var(--primary-color);
    text-align: center;
    padding: 1rem 0;
    margin-top: 4rem;
}

/* Quote / Order Form Layout */
.grid {
    display: grid;
    gap: 18px;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 18px;
}

.quote-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.field {
    margin-bottom: 0;
}

.field label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 6px;
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-color);
    font-family: var(--font-family);
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent-color);
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 8px;
}

.hr {
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    margin: 12px 0;
}

.muted {
    color: rgba(255, 255, 255, 0.55);
}

.form-fields {
    display: grid;
    gap: 12px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

.btn-submit:hover {
    background-color: #e6b800;
}

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

.btn-link {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-link:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
}

.form-hero {
    padding: 3rem 0 1.5rem;
}

.form-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    align-items: stretch;
    gap: 18px;
}

.form-hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.1;
}

.form-hero p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    max-width: 70ch;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

#form-messages {
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 900px) {
    .quote-grid {
        grid-template-columns: 1fr;
    }
    .form-hero .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Upload zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: rgba(0, 0, 0, 0.15);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.06);
}

.upload-zone .upload-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    opacity: 0.6;
}

.upload-zone p {
    margin: 0 0 4px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.upload-zone .hint {
    margin-top: 0;
}

.upload-zone input[type="file"] {
    display: none;
}

.file-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.file-item .file-name {
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.file-item .file-size {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
}

.file-item .file-remove {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: color 0.15s ease, background 0.15s ease;
    border: none;
    background: none;
}

.file-item .file-remove:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Legacy form support */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
}

/* ── Order Status Page ────────────────────────────── */
.lookup-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.lookup-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 0.95rem;
}

.lookup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.lookup-form .btn-lookup {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.lookup-form .btn-lookup:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-card .order-id {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.order-card .order-type {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-card .order-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge.blue    { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-badge.cyan    { background: rgba(34,211,238,0.15); color: #22d3ee; }
.status-badge.amber   { background: rgba(245,158,11,0.15); color: #fbbf24; }
.status-badge.green   { background: rgba(52,211,153,0.15); color: #34d399; }

.order-card.blue  { border-left-color: #60a5fa; }
.order-card.cyan  { border-left-color: #22d3ee; }
.order-card.amber { border-left-color: #fbbf24; }
.order-card.green { border-left-color: #34d399; }

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.4);
}

.no-results p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

#status-messages {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .lookup-form {
        flex-direction: column;
    }
}