/* AvgJoeStickers Custom Styles */

:root {
    /* Color Palette */
    --primary-color: #e67e22;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    
    /* Craft-inspired colors */
    --craft-brown: #8b4513;
    --craft-beige: #f5deb3;
    --craft-orange: #ff8c00;
    --craft-green: #228b22;
    
    /* Typography */
    --primary-font: 'Poppins', sans-serif;
    --accent-font: 'Dancing Script', cursive;
    
    /* Spacing */
    --section-padding: 80px 0;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.brand-text {
    font-family: var(--accent-font);
    color: var(--primary-color);
}

/* Hamburger Menu Styling */
.navbar-toggler {
    border: 2px solid var(--dark-color);
    border-radius: 6px;
    padding: 6px 10px;
    background: var(--white);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
    border-color: var(--dark-color);
}

.navbar-toggler:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.navbar-nav .nav-link:focus {
    color: var(--white) !important;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

/* Accessibility - Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-highlight {
    font-family: var(--accent-font);
    color: var(--craft-beige);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn-primary {
    background: var(--accent-color);
    border: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Category Cards */
.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 3px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 2rem;
    color: var(--white);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.category-count {
    display: inline-block;
    background: var(--craft-beige);
    color: var(--craft-brown);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Products Section */
.products-filter {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.input-group-text {
    background: var(--light-color);
    border: 1px solid #ddd;
    color: var(--dark-color);
}

.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    color: #999;
    font-size: 3rem;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.product-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Product Pricing Styles */
.product-pricing {
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.collaborator-price {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: help;
    transition: all 0.3s ease;
}

.collaborator-price:hover {
    background: linear-gradient(135deg, #d4edda, #e8f5e8);
    border-color: #a3d4a8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collaborator-price i {
    color: var(--success-color);
    margin-right: 0.25rem;
}

.collaborator-label {
    color: #495057;
    font-weight: 500;
    margin-right: 0.5rem;
}

.collaborator-amount {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1rem;
}

/* Modal Pricing Styles */
.modal-pricing {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.regular-price {
    margin-bottom: 0.5rem !important;
}

.collaborator-price-modal {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    cursor: help;
    transition: all 0.3s ease;
}

.collaborator-price-modal:hover {
    background: linear-gradient(135deg, #d4edda, #e8f5e8);
    border-color: #a3d4a8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collaborator-price-modal i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.collaborator-price-modal .collaborator-label {
    color: #495057;
    font-weight: 500;
    margin-right: 0.5rem;
}

.collaborator-price-modal .collaborator-amount {
    color: var(--success-color);
    font-weight: 700;
    margin-left: auto;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
}

/* About Section */
.about-content {
    padding: 2rem 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
}

.about-content .lead {
    color: var(--primary-color);
    font-weight: 500;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-weight: 500;
}

.about-image {
    padding: 2rem;
}

.image-placeholder {
    background: var(--light-color);
    border-radius: var(--border-radius);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px dashed #ccc;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-item {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-email:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Social Media Contact Section */
.social-media-section h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-links-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--white);
}

/* Platform-specific colors */
.social-link[data-platform="x"]:hover {
    background: #000000;
    border-color: #000000;
}

.social-link[data-platform="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
}

.social-link[data-platform="reddit"]:hover {
    background: #ff4500;
    border-color: #ff4500;
}

.social-link[data-platform="telegram"]:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.social-link[data-platform="linktree"]:hover {
    background: #39e09b;
    border-color: #39e09b;
}

.social-link[data-platform="bluesky"]:hover {
    background: #00bcd4;
    border-color: #00bcd4;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand span {
    font-family: var(--accent-font);
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Product Modal */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #d35400;
    border-color: #d35400;
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hover Effects */
.category-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Improved Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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;
    z-index: -1;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Improved Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
    transform: translateY(-1px);
}

/* Enhanced Modal */
.modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Tooltip Styles */
.tooltip {
    font-family: var(--primary-font);
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--dark-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    max-width: 280px;
    text-align: left;
    line-height: 1.4;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--dark-color);
}

.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: var(--dark-color);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--dark-color);
}

.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: var(--dark-color);
}

/* Utility Classes */
.bg-light {
    background-color: #f8f9fa !important;
}

.text-center {
    text-align: center !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}