/* 
  It's My Primary - StyleSheet
*/

:root {
    --primary-red: #D22730;
    --primary-blue: #0A3161;
    --white: #ffffff;
    --light-bg: #f5f7fa;
    --dark-bg: #111827;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --accent: #2563eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* ==================================
             BUTTONS 
   ================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #b51c24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 39, 48, 0.3);
}

.btn-accent {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #062145;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 49, 97, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.text-gradient-primary {
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==================================
             HEADER 
   ================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-red {
    color: var(--primary-red);
}

.logo-blue {
    color: var(--primary-blue);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* ==================================
             HERO 
   ================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--dark-bg);
    background-image: url('bigstock-US-American-flag-on-worn-black-322220485.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 40px;
}

.shipping-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    margin-top: 40px;
    font-size: 0.95rem;
}

.hero-shapes .shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.shape-red {
    background: var(--primary-red);
    top: -100px;
    left: -100px;
}

.shape-blue {
    background: var(--primary-blue);
    bottom: -100px;
    right: -100px;
}

/* ==================================
             SHOP AREA 
   ================================== */
.shop-section {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.category-block {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.category-header h3 {
    font-size: 2rem;
    color: var(--primary-blue);
}

.shipping-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #eef2ff;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #c7d2fe;
}

.highlight-shipping {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.highlighted-card {
    border: 2px solid var(--primary-blue);
}

.badge-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
}

/* Image Containers */
.product-image-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.decal-container .product-image {
    object-fit: contain;
}

/* Color Selector */
.color-selector {
    margin-bottom: 15px;
}

.color-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    padding: 0;
}

.color-dot:hover {
    transform: scale(1.1);
}

.color-dot.active {
    border-color: var(--primary-blue);
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(10, 49, 97, 0.2);
}

/* Placeholders */
.product-image-placeholder {
    height: 300px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.generic-tshirt {
    background: #fca5a5;
    color: #7f1d1d;
}

.generic-hoodie {
    background: #93c5fd;
    color: #1e3a8a;
}

.generic-decal {
    background: #fcd34d;
    color: #78350f;
}

.generic-beanie {
    background: #c4b5fd;
    color: #4c1d95;
}

.generic-cap {
    background: #d6d3d1;
    color: #44403c;
}

/* Info Section */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex: 1;
}

.product-price {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.tax-note {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Open Sans', sans-serif;
    display: block;
    margin-top: -5px;
}

/* Variants */
.size-variants {
    margin-top: auto;
}

.variant-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.variant-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-variant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.btn-variant .pr {
    color: var(--primary-blue);
    font-weight: 800;
}

/* ==================================
             FOOTER 
   ================================== */
.footer-cta {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0;
}

.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-brand p,
.footer-info p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b7280;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 24px;
        gap: 15px;
    }

    .nav {
        gap: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .shipping-banner {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==================================
             NEW PAGE STYLES (HOME / DEADLINES)
   ================================== */
.election-hero {
    padding: 160px 0 100px;
}

.text-gradient-red {
    background: linear-gradient(90deg, #ff4d4d, var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-white {
    background-color: var(--white);
}

.bg-blue {
    background-color: var(--primary-blue);
}

.text-red {
    color: var(--primary-red);
}

.text-blue {
    color: var(--primary-blue);
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--dark-bg);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

ul.check-list,
ul.cross-list,
ul.star-list,
ul.check-list-dark {
    list-style: none;
    padding-left: 0;
}

ul.check-list li {
    position: relative;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

ul.check-list-dark li {
    position: relative;
    margin-bottom: 10px;
}

ul.cross-list li {
    position: relative;
    margin-bottom: 15px;
    font-weight: 500;
}

ul.star-list li {
    position: relative;
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-blue);
}

.highlight-item {
    border-left: 5px solid var(--primary-red);
    background: #fef2f2;
}

.date-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.highlight-item .date-badge {
    background: var(--primary-red);
}

.large-badge {
    font-size: 1.2rem;
    padding: 10px 24px;
}

.alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    padding: 15px;
    border-radius: 8px;
}