:root {
    --primary-navy: #1a2332;
    --secondary-burgundy: #8b2e3c;
    --accent-gold: #d4af37;
    --cream: #f5f1e8;
    --parchment: #e8e0d0;
    --text-dark: #2c2c2c;
    --text-muted: #6a6a6a;
    --border-color: #c4b5a0;
    --success-green: #2d5016;
}

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

body {
    font-family: 'IBM Plex Serif', Georgia, serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

/* Subtle paper grain texture overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 9999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(180deg, var(--primary-navy) 0%, #253447 100%);
    color: var(--cream);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.contact-info span {
    margin-right: 30px;
    opacity: 0.9;
}

.business-hours {
    opacity: 0.75;
    font-style: italic;
}

.header-main {
    padding: 20px 0;
}

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

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c49a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--cream);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    animation: subtle-rotate 20s linear infinite;
}

@keyframes subtle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-initials {
    font-family: 'Courier Prime', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: -2px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 2px;
    color: var(--cream);
}

.tagline {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.8;
    letter-spacing: 0.5px;
    font-family: 'Courier Prime', monospace;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-burgundy) 100%);
    color: var(--cream);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(212, 175, 55, 0.03) 10px,
        rgba(212, 175, 55, 0.03) 20px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    font-family: 'Courier Prime', monospace;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Order Lookup Section */
.order-lookup-section {
    padding: 80px 0;
    background: var(--parchment);
}

.lookup-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    animation: fadeInUp 0.6s ease;
}

.lookup-card::before {
    content: '🔍';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    background: white;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.card-header h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-weight: 600;
}

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

.order-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    font-family: 'Courier Prime', monospace;
    text-transform: uppercase;
}

.form-group input {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.1rem;
    font-family: 'Courier Prime', monospace;
    letter-spacing: 1px;
    background: var(--cream);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: white;
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-burgundy) 100%);
    color: var(--cream);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'IBM Plex Serif', serif;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 50, 0.4);
}

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

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.error-message {
    background: #fee;
    border: 2px solid #c33;
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    animation: shake 0.5s ease;
}

.error-icon {
    font-size: 1.5rem;
}

.error-text {
    color: #c33;
    font-weight: 500;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--cream);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-gold);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.product-card h4 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-tag {
    display: inline-block;
    background: var(--primary-navy);
    color: var(--cream);
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-family: 'Courier Prime', monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-tag.confidential {
    background: var(--secondary-burgundy);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.special-card {
    background: linear-gradient(135deg, #f8f6f0 0%, #ebe4d5 100%);
    border-color: var(--accent-gold);
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--parchment);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    border-left: 4px solid var(--border-color);
    padding: 30px;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-left-color: var(--accent-gold);
    transform: translateX(8px);
    box-shadow: -4px 4px 20px rgba(0,0,0,0.1);
}

.news-date {
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item h4 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 12px;
    font-weight: 600;
}

.news-item p {
    color: var(--text-dark);
    line-height: 1.7;
}

.news-item.featured {
    border-left-color: var(--secondary-burgundy);
    background: linear-gradient(135deg, white 0%, #faf9f7 100%);
}

/* Footer */
.site-footer {
    background: var(--primary-navy);
    color: var(--cream);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-col p {
    opacity: 0.85;
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 5px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-family: 'Courier Prime', monospace;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 25px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.85rem;
    font-family: 'Courier Prime', monospace;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        gap: 20px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .lookup-card {
        padding: 40px 25px;
    }
    
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}
