/* 
 * 9TEES VINTAGE SHOP - Custom Color Scheme
 * Inspired by the brand logo colors
 * Author: Custom Theme
 */

:root {
    /* Główne kolory z logo */
    --brand-primary: #4ECDC4;        /* Turkusowy z logo */
    --brand-secondary: #FF69B4;      /* Różowy/Magenta z logo */
    --brand-accent: #44B8B5;         /* Ciemniejszy turkus */
    --brand-pink-light: #FFB3E6;     /* Jasny róż */
    --brand-shadow: #2C2C2C;         /* Ciemny cień jak w logo */
    
    /* Uzupełniające kolory */
    --brand-white: #FFFFFF;
    --brand-black: #1A1A1A;
    --brand-gray-light: #F8F9FA;
    --brand-gray-medium: #6C757D;
    --brand-gray-dark: #343A40;
    
    /* Gradient combinations */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-pink-light) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

/* ========================================== */
/* 1. PRZYCISKI - GŁÓWNE AKCENTY KOLOROWE */
/* ========================================== */

.btn-primary, 
.ec-btn-primary, 
.add-to-cart,
.ec-btn-1 {
    background: var(--gradient-primary);
    border: 2px solid var(--brand-primary);
    color: var(--brand-white);
    font-weight: 600;
    text-shadow: 1px 1px 2px var(--brand-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.ec-btn-primary::before,
.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-primary:hover::before,
.ec-btn-primary:hover::before,
.add-to-cart:hover::before {
    left: 0;
}

.btn-primary:hover,
.ec-btn-primary:hover,
.add-to-cart:hover {
    border-color: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 205, 196, 0.3);
}

.btn-primary span,
.ec-btn-primary span,
.add-to-cart span {
    position: relative;
    z-index: 2;
}

/* Przyciski wtórne */
.btn-secondary,
.ec-btn-2 {
    background: transparent;
    border: 2px solid var(--brand-secondary);
    color: var(--brand-secondary);
    font-weight: 600;
}

.btn-secondary:hover,
.ec-btn-2:hover {
    background: var(--brand-secondary);
    color: var(--brand-white);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

/* ========================================== */
/* 2. NAWIGACJA I LINKI */
/* ========================================== */

.ec-header {
    border-bottom: 3px solid var(--brand-primary);
}

/* Logo area accent */
.header-logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-mixed);
    border-radius: 2px;
}

/* Menu links */
.ec-main-menu ul li a {
    color: var(--brand-black);
    transition: all 0.3s ease;
    position: relative;
}

.ec-main-menu ul li a:hover {
    color: var(--brand-primary);
}

.ec-main-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.ec-main-menu ul li a:hover::after,
.ec-main-menu ul li.active a::after {
    width: 100%;
}

/* Dropdown menus */
.ec-main-menu ul li ul {
    border-top: 3px solid var(--brand-primary);
    box-shadow: 0 10px 30px rgba(76, 205, 196, 0.2);
}

.ec-main-menu ul li ul li a:hover {
    background: linear-gradient(90deg, var(--brand-primary), transparent);
    color: var(--brand-white);
}

/* ========================================== */
/* 3. PRODUKTY I KARTY */
/* ========================================== */

.ec-product-inner {
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ec-product-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-mixed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ec-product-inner:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 15px 40px rgba(76, 205, 196, 0.15);
    transform: translateY(-5px);
}

.ec-product-inner:hover::before {
    transform: scaleX(1);
}

/* Product badges */
.ec-product-label span {
    background: var(--gradient-secondary);
    color: var(--brand-white);
    text-shadow: 1px 1px 2px var(--brand-shadow);
}

.ec-product-label .sale {
    background: var(--gradient-primary);
}

/* Product hover overlay */
.ec-pro-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(76, 205, 196, 0.8), 
        rgba(255, 105, 180, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ec-product-inner:hover .ec-pro-image::after {
    opacity: 1;
}

/* ========================================== */
/* 4. IKONY I ELEMENTY AKCJI */
/* ========================================== */

.ec-header-btn {
    color: var(--brand-gray-dark);
    transition: all 0.3s ease;
}

.ec-header-btn:hover {
    color: var(--brand-primary);
    transform: scale(1.1);
}

.ec-header-count {
    background: var(--gradient-secondary);
    color: var(--brand-white);
    border: 2px solid var(--brand-white);
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.3);
}

/* Search box */
.header-search input {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.header-search input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(76, 205, 196, 0.2);
}

.search-btn {
    background: var(--gradient-primary);
    color: var(--brand-white);
    border: none;
}

.search-btn:hover {
    background: var(--gradient-secondary);
}

/* ========================================== */
/* 5. KATEGORIE I SEKCJE */
/* ========================================== */

.ec-cat-banner {
    position: relative;
    overflow: hidden;
}

.ec-cat-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mixed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ec-cat-banner:hover::before {
    opacity: 0.1;
}

/* Category titles */
.ec-cat-content h4 {
    color: var(--brand-black);
    position: relative;
}

.ec-cat-content h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
}

/* ========================================== */
/* 6. FORMULARZE */
/* ========================================== */

.form-control {
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(76, 205, 196, 0.2);
}

.form-control:hover {
    border-color: var(--brand-accent);
}

/* Form labels */
.form-label {
    color: var(--brand-gray-dark);
    font-weight: 600;
}

/* ========================================== */
/* 7. BREADCRUMBS I NAWIGACJA */
/* ========================================== */

.ec-breadcrumb {
    background: linear-gradient(135deg, 
        rgba(76, 205, 196, 0.1), 
        rgba(255, 105, 180, 0.1));
    border-bottom: 3px solid var(--brand-primary);
}

.ec-breadcrumb-item a {
    color: var(--brand-primary);
    text-decoration: none;
}

.ec-breadcrumb-item a:hover {
    color: var(--brand-secondary);
    text-decoration: underline;
}

.ec-breadcrumb-item.active {
    color: var(--brand-gray-dark);
    font-weight: 600;
}

/* ========================================== */
/* 8. FOOTER */
/* ========================================== */

.ec-footer {
    background: var(--brand-gray-dark);
    position: relative;
}

.ec-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-mixed);
}

.ec-footer h5 {
    color: var(--brand-white);
    position: relative;
}

.ec-footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.ec-footer-link a {
    color: var(--brand-gray-light);
    transition: color 0.3s ease;
}

.ec-footer-link a:hover {
    color: var(--brand-primary);
}

/* Social icons */
.ec-footer-social a {
    background: var(--brand-gray-medium);
    color: var(--brand-white);
    transition: all 0.3s ease;
}

.ec-footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 205, 196, 0.4);
}

/* ========================================== */
/* 9. RESPONSIVE ACCENTS */
/* ========================================== */

@media (max-width: 768px) {
    .ec-header {
        border-bottom: 2px solid var(--brand-primary);
    }
    
    .ec-breadcrumb {
        border-bottom: 2px solid var(--brand-primary);
    }
    
    .ec-product-inner::before {
        height: 3px;
    }
}

/* ========================================== */
/* 10. LOADING STATES & ANIMATIONS */
/* ========================================== */

@keyframes brand-pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 205, 196, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 205, 196, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 205, 196, 0); }
}

.loading-pulse {
    animation: brand-pulse 2s infinite;
}

/* Brand gradient text */
.brand-gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Special hover effects */
.brand-hover-effect {
    transition: all 0.3s ease;
}

.brand-hover-effect:hover {
    background: var(--gradient-mixed);
    color: var(--brand-white);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 205, 196, 0.3);
}

/* ========================================== */
/* 11. VINTAGE SHOP SPECIFIC ELEMENTS */
/* ========================================== */

/* Vintage badges/labels */
.vintage-badge {
    background: var(--gradient-secondary);
    color: var(--brand-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 105, 180, 0.3);
}

.retro-badge {
    background: var(--gradient-primary);
    color: var(--brand-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(76, 205, 196, 0.3);
}
