@import url('https://fonts.googleapis.com/css2?family=Segoe+UI&family=Libre+Baskerville:wght@400;700&display=swap');

/* GLOBAL BRANDING LOCK - DO NOT ALTER */
:root {
    --primary-blue: #003DA7;
    --victory-blue: #003DA7;
    --coastal-slate: #6BAAD0;
    --growth-orange: #FF8400;
    --safety-blue: #0A84FF;
    --primary-hover: #0056E0;
    --deep-charcoal: #121212;
    --light-gray: #F9FAFB;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --emerald: #10B981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* User Requested Variables */
    --electric-cobalt: #0066FF;
    /* Correct Action Blue */
    --cyber-green: #00FF00;
    /* Neural Cat Brand Green */
    --premium-gold: #D4AF37;
    /* Service Button Gold */
    --matte-black: #1A1A1A;
    /* Navigation Bar Background */
}

/* 1. Header Text & Button Sync */
.header-printing-text {
    color: var(--electric-cobalt) !important;
}

.btn-primary-action,
#track-package-btn {
    color: var(--electric-cobalt) !important;
    background-color: transparent;
}

.btn-primary-action-fill {
    background-color: var(--electric-cobalt) !important;
    color: #FFFFFF !important;
}

/* 2. Proportional Rich Cat Watermark */
.hero-watermark-rich-cat {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    height: 350px;
    /* Fixed Height */
    width: auto;
    /* AUTO Width to prevent stretching */
    opacity: 0.20;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.5));
    /* 3D Effect */
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

/* 3. Navigation Anchor Logos */
.nav-neural-cat-head {
    height: 30px;
    margin-right: 10px;
}

.nav-everytown-bag {
    height: 30px;
    margin-left: 10px;
}

/* 4. Modal 3-Pillar Polish */
.booking-modal-content {
    background: var(--matte-black);
    border: 1px solid var(--premium-gold);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.4;
    /* Tightened */
    overflow-x: hidden;
}

main {
    display: block;
    background-color: var(--white);
    color: var(--text-main);
}

h1,
h2,
h3,
h4 {
    font-family: 'Libre Baskerville', serif;
    color: var(--deep-charcoal);
}

.legacy-title {
    font-family: 'Libre Baskerville', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: var(--transition);
}

.header-nav a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.logo {
    display: flex;
    flex-direction: column;
    color: var(--white);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.logo span {
    color: var(--primary-blue);
}

.business-meta {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.status-line {
    color: var(--emerald);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-line::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--emerald);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--emerald);
    animation: dot-pulse 1.5s infinite ease-in-out;
}

@keyframes dot-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hours-line br {
    display: block;
    content: "";
    margin-top: 0.2rem;
}

/* --- LOCKED "GOLDEN STATE" COMMAND CENTER --- */

.hero-command-center {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    background: url('./assets/copyright_staff_hero.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: none;
    padding: 0 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.hero-business-info {
    position: absolute;
    left: 40px;
    top: 65px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-action-stack {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
    /* THE PEEK OFFSET */
    width: 100%;
}

.btn-command {
    width: 280px;
    padding: 0.5rem;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-command:hover {
    transform: scale(1.02);
}

.btn-command-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-command-secondary {
    background: #d4af37;
    color: #000;
    height: 48px;
    text-transform: uppercase;
}

.btn-command-tertiary {
    background-color: var(--white);
    color: var(--deep-charcoal);
}

.command-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: #111;
    border: 1px solid #d4af37;
    min-width: 360px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    overflow: hidden;
    text-align: left;
}

/* ------------------------------------------- */

/* Essential Logistics Grid (2x3) */
.essentials-section {
    padding: 6rem 0;
    background: var(--white);
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.essential-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.essential-item:hover {
    background: #EBF2FF;
    transform: translateY(-5px);
}

.essential-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.essential-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Horizontal Retail Section */
.retail-legacy-section {
    padding: 6rem 0;
    background: #F1F5F9;
}

.retail-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0 3rem;
}

.retail-card {
    min-width: 380px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.retail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.retail-card .tagline {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.retail-card .callout {
    background: #FFEDD5;
    color: #9A3412;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* 4-Pillar Service Matrix */
.matrix-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .matrix-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.matrix-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.matrix-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.action-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #F1F5F9;
    box-shadow: var(--shadow-sm);
}

.matrix-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.matrix-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.matrix-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrix-list li::before {
    content: '→';
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.7rem;
}

/* Neural Cat Anchor */
.neural-cat-bar {
    background: #0A0F1D;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 98, 255, 0.3);
    border-bottom: 1px solid rgba(0, 98, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.neural-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.neural-label {
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.neural-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 98, 255, 0.8));
    animation: blue-pulse 3s infinite ease-in-out;
}

@keyframes blue-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 98, 255, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(0, 98, 255, 1));
    }
}

.neural-subtext {
    color: #94A3B8;
    font-size: 0.95rem;
}

/* Site Search & Nav Combined */
.search-container {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.flex-search-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-search {
    flex: 0 1 220px;
    max-width: 220px;
    display: flex;
    align-items: center;
    background: #F3F4F6;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid #E5E7EB;
}

.site-search input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: normal !important;
    /* Remove text tracking */
}

/* Navigation & Dynamic Links */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--deep-charcoal);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Nav (Dark Theme for white background) */
.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

/* Dense 2x4 Grid */
.essentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 per row */
    gap: 1rem;
    /* Tightened */
    margin-top: 2rem;
}

.essential-item {
    padding: 1rem;
    /* Tightened */
}

/* Section Spacing Refinement */
section {
    padding: 1.5rem 0 !important;
    /* Global 20% reduction */
}

/* Compact Footer */
footer {
    padding: 2rem 0 !important;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.open-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.open-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.footer-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-btn {
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-directions {
    background: var(--white);
    color: var(--deep-charcoal);
}

.btn-directions:hover {
    background: #E5E7EB;
}

.btn-call {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-call:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #64748B;
}

@media (max-width: 768px) {
    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .footer-actions {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Shipping Page Specifics */
.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge-tag {
    background: #F1F5F9;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-color);
}

.tracking-utility {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tracking-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    border: 1px solid #E5E7EB;
}

.tracking-input-wrapper input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.6rem 0;
    outline: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.logistics-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid #F1F5F9;
    transition: var(--transition);
}

.logistics-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.card-icon-round {
    width: 48px;
    height: 48px;
    background: #F0F7FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Shipping Footer Checkout */
.checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2000;
}

.progress-info {
    flex: 1;
}

.progress-text {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.discount-badge {
    background: #10B981;
    color: white;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price-display {
    text-align: right;
    margin-right: 2rem;
}

.price-label {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.checkout-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 768px) {
    .logistics-grid {
        grid-template-columns: 1fr;
    }
}