/* TeamPrinted Unified Stylesheet */
/* Based on index.html template - comprehensive styles for all pages */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hide scrollbar across all browsers */
::-webkit-scrollbar {
    display: none;
}
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== BRAND COLORS ===== */
:root {
    --brand-cyan: #00AEEF;
    --brand-cyan-hover: #0089C4;
    --brand-magenta: #EC008C;
    --brand-magenta-hover: #C80075;
    --brand-yellow: #FFF200;
    --brand-green: #4CAF50;
    --brand-black: #000000;
    --brand-white: #ffffff;
    --brand-slate: #3A3A3A;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--brand-slate);
}

/* Mobile typography adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* ===== BRAND LOGO ===== */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.brand-logo-stripes {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-logo-stripe {
    height: 0.25rem;
    width: 2rem;
    border-radius: 0.125rem;
}

.brand-logo-stripe:nth-child(1) { background-color: var(--brand-cyan); }
.brand-logo-stripe:nth-child(2) { background-color: var(--brand-magenta); }
.brand-logo-stripe:nth-child(3) { background-color: var(--brand-yellow); }

.brand-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--brand-white);
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
    .brand-logo-stripe {
        width: 1.5rem;
    }
    .brand-logo-text {
        font-size: 1.125rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--brand-magenta);
    color: var(--brand-white);
}

.btn-primary:hover {
    background-color: var(--brand-magenta-hover);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--brand-cyan);
    color: var(--brand-white);
}

.btn-secondary:hover {
    background-color: var(--brand-cyan-hover);
    transform: scale(1.05);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--brand-cyan);
    border: 2px solid var(--brand-cyan);
}

.btn-outline-primary:hover {
    background-color: var(--brand-cyan);
    color: var(--brand-white);
}

.btn-success {
    background-color: var(--brand-green);
    color: var(--brand-white);
}

.btn-success:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ===== HEADER STYLES ===== */
.header {
    background-color: var(--brand-black);
    color: var(--brand-white);
    border-bottom: 1px solid var(--gray-800);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header-search {
    flex: 1;
    max-width: 32rem;
    margin: 0 2rem;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 9999px;
    font-size: 0.875rem;
    background-color: var(--brand-white);
    color: var(--gray-900);
}

.header-search input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 2px rgba(0, 174, 239, 0.2);
}

.header-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: color 0.2s;
}

.header-contact-item:hover {
    color: var(--brand-white);
}

/* Navigation */
.nav {
    border-top: 1px solid var(--gray-800);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    color: var(--gray-300);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active {
    color: var(--brand-white);
    border-bottom-color: var(--brand-yellow);
}

.nav-item.active {
    border-bottom-color: var(--brand-magenta);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.nav-account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-account:hover {
    color: var(--brand-white);
}

.nav-cart {
    position: relative;
    color: var(--gray-300);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-cart:hover {
    color: var(--brand-white);
}

.nav-cart-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: var(--brand-magenta);
    color: var(--brand-white);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    height: 1rem;
    width: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--brand-black);
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem;
}

.mobile-search {
    margin-bottom: 1.5rem;
}

.mobile-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-600);
    background-color: var(--gray-900);
    color: var(--brand-white);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.mobile-nav {
    margin-bottom: 2rem;
}

.mobile-nav-item {
    display: block;
    color: var(--gray-300);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-800);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--brand-white);
}

@media (max-width: 768px) {
    .header-search,
    .header-contact,
    .nav-main {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .section-sm { padding: 2rem 0; }
    .section-lg { padding: 5rem 0; }
}

/* ===== GRID SYSTEM ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .md\:grid-cols-2,
    .md\:grid-cols-3,
    .md\:grid-cols-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===== CARD COMPONENTS ===== */
.card {
    background-color: var(--brand-white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background-color: var(--gray-50);
}

/* Product Cards */
.product-card {
    background-color: var(--brand-white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.product-image {
    background-color: var(--gray-50);
    padding: 1.5rem;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 16rem;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: var(--brand-cyan);
    color: var(--brand-white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.product-price {
    color: var(--brand-slate);
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-colors {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.color-swatch {
    width: 1rem;
    height: 1rem;
    border-radius: 0.125rem;
    cursor: pointer;
    transition: opacity 0.2s;
    border: 2px solid var(--gray-300);
}

.color-swatch:hover {
    opacity: 0.8;
}

.color-count {
    font-size: 0.75rem;
    color: var(--brand-slate);
    font-weight: 500;
}

/* ===== FORM COMPONENTS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--brand-white);
    color: var(--brand-black);
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-checkbox {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 0.25rem;
    border: 2px solid var(--gray-300);
    color: var(--brand-magenta);
}

.form-checkbox:focus {
    border-color: var(--brand-magenta);
    box-shadow: 0 0 0 2px rgba(236, 0, 140, 0.2);
}

/* ===== UTILITY CLASSES ===== */
.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    right: 0;
    height: 0.75rem;
    background-color: var(--brand-yellow);
    z-index: -1;
}

.text-brand-cyan { color: var(--brand-cyan); }
.text-brand-magenta { color: var(--brand-magenta); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-brand-green { color: var(--brand-green); }
.text-brand-slate { color: var(--brand-slate); }

.bg-brand-cyan { background-color: var(--brand-cyan); }
.bg-brand-magenta { background-color: var(--brand-magenta); }
.bg-brand-yellow { background-color: var(--brand-yellow); }
.bg-brand-green { background-color: var(--brand-green); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

.border { border: 1px solid var(--gray-200); }
.border-2 { border: 2px solid var(--gray-200); }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-lg { max-width: 32rem; }
.max-w-3xl { max-width: 48rem; }

.transition-all { transition: all 0.2s ease-in-out; }
.transition-colors { transition: color 0.2s ease-in-out; }

.cursor-pointer { cursor: pointer; }

.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-fade-in { animation: fadeIn 0.6s ease-out; }
.animate-slide-in { animation: slideIn 0.3s ease-out; }
.animate-marquee { animation: marquee 20s linear infinite; }

/* ===== FOOTER ===== */
.footer {
    background-color: var(--brand-black);
    color: var(--brand-white);
}

.footer-main {
    padding: 4rem 0;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--brand-white);
}

.footer-link {
    color: var(--gray-300);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: var(--brand-yellow);
}

.footer-newsletter {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .grid {
        gap: 1rem;
    }

    .card-body,
    .card-header,
    .card-footer {
        padding: 1rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-image {
        padding: 1rem;
    }

    .product-image img {
        height: 12rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .mobile-menu,
    .btn {
        display: none !important;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .section {
        padding: 1rem 0;
    }
}