:root {
    --navy: #002147;
    --bright-blue: #0077C8;
    --white: #FFFFFF;
    --light-grey: #F5F5F5;
    --gold: #FFD700;
    --dark-grey: #333333;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-grey);
    background-color: var(--light-grey);
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-bright-blue {
    background-color: var(--bright-blue) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.text-bright-blue {
    color: var(--bright-blue) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.border-gold {
    border: 2px solid var(--gold) !important;
}

.text-light-grey {
    color: #adb5bd !important;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), #FFC000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--navy);
}

.brand-text {
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: var(--gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #FFC000);
    color: var(--navy);
    border: none;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FFC000, var(--gold));
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.btn-navy:hover {
    background-color: #001a3a;
    color: var(--white);
}

.btn-bright-blue {
    background-color: var(--bright-blue);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.btn-bright-blue:hover {
    background-color: #0066b3;
    color: var(--white);
}

.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #003366 50%, var(--bright-blue) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD700' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-badge {
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.product-card {
    background: var(--white);
}

.product-card .card-header {
    background: linear-gradient(135deg, var(--navy), var(--bright-blue));
    color: var(--white);
    padding: 1.5rem;
    border: none;
}

.product-card .product-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-card .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.product-card .product-code {
    font-size: 0.8rem;
    opacity: 0.8;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bright-blue), var(--navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--gold);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select {
    padding-right: 2.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bright-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 200, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.upload-zone {
    border: 3px dashed var(--bright-blue);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    background: rgba(0, 119, 200, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.upload-zone.dragover {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.upload-icon {
    font-size: 3rem;
    color: var(--bright-blue);
    margin-bottom: 1rem;
}

.order-summary {
    background: linear-gradient(135deg, var(--navy), #003366);
    color: var(--white);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.order-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gold);
}

.placement-option {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.placement-option:hover {
    border-color: var(--bright-blue);
}

.placement-option.selected {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.placement-option i {
    font-size: 2rem;
    color: var(--bright-blue);
    margin-bottom: 0.5rem;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    margin: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
}

.color-swatch.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--navy);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-received {
    background: #e3f2fd;
    color: #1976d2;
}

.status-digitized {
    background: #fff3e0;
    color: #f57c00;
}

.status-embroidered {
    background: #e8f5e9;
    color: #388e3c;
}

.status-packed {
    background: #f3e5f5;
    color: #7b1fa2;
}

.status-delivered {
    background: #e0f2f1;
    color: #00796b;
}

.status-paid {
    background: linear-gradient(135deg, var(--gold), #FFC000);
    color: var(--navy);
}

.admin-sidebar {
    background: var(--navy);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.stat-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.table-orders {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
}

.table-orders th {
    background: var(--light-grey);
    color: var(--navy);
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table-orders td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f0f0f0;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4caf50, #81c784);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 2rem;
}

.footer {
    background: var(--navy);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .order-summary {
        position: static;
        margin-top: 2rem;
    }
}

.stitch-border {
    position: relative;
}

.stitch-border::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed var(--gold);
    border-radius: 20px;
    pointer-events: none;
}

.thread-accent {
    position: relative;
}

.thread-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.quantity-input {
    width: 80px;
    text-align: center;
}

.item-row {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.item-row:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--navy), #003366);
    color: var(--white);
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h5 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cookie-banner-buttons .btn {
    min-width: 120px;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
}

.cookie-banner-buttons .btn-outline-light {
    border-width: 2px;
}

.cookie-banner-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-preferences-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-preferences-content .form-check-label strong {
    color: var(--white);
}

.cookie-preferences-content .form-check-label small {
    color: rgba(255, 255, 255, 0.7);
}

.cookie-preferences-content .form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.cookie-preferences-content .form-check-input:disabled {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-banner-buttons .btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-preferences-content {
        padding: 1rem;
    }
}

.policy-content h2 {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.policy-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.policy-content h3 {
    font-size: 1.25rem;
}

.policy-content ul {
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

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

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo-container {
    display: inline-block;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.glass-effect::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    pointer-events: none;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }
    
    .footer-logo {
        height: 50px;
    }
}
