/* Tender.sale - External Stylesheet */

:root {
    --tender-purple: #550076;
    --tender-light-purple: #e2d9f3;
    --tender-dark: #3d0055;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}


.header-section {
    background: var(--tender-purple);
    padding: 0 0 175px 0;
    color: white;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-bar {
    background: white;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 1rem;
    flex: 1;
}

.search-input::placeholder {
    color: #6c757d;
}

.category-select {
    border: none;
    outline: none;
    padding: 12px 15px;
    background: #f8f9fa;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    color: #495057;
    min-width: 120px;
}

.search-btn {
    background: var(--tender-purple);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
}

.create-account-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 5px;
    margin-bottom: 0;
}

.create-account-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.categories-section {
    background: transparent;
    padding: 30px 0;
    position: relative;
    z-index: 10;
    margin-top: -150px;
}

.categories-section .container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px 20px;
}

.categories-section .row {
    justify-content: center;
}

.category-item {
    text-align: center;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-2px);
}

.category-item.active {
    color: var(--tender-purple);
}

.category-item.active .category-icon {
    background: transparent;
    color: var(--tender-purple);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.category-icon-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    max-width: 70px;
    max-height: 70px;
    display: block;
    margin: 0 auto;
}

.category-item:hover .category-icon-img {
    transform: scale(1.1);
}

.category-item.active .category-icon-img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(2000%) hue-rotate(270deg) brightness(0.4) contrast(1.5);
}

.category-label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #6c757d;
}

.category-item.active .category-label {
    color: var(--tender-purple);
}

.category-underline {
    width: 0;
    height: 2px;
    background: var(--tender-purple);
    margin: 0 auto;
    transition: width 0.3s ease;
}

.category-item.active .category-underline {
    width: 40px;
}

.trending-section {
    background: white;
    padding: 80px 0 40px 0;
    margin-top: -30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.see-all-link {
    color: var(--tender-purple);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.see-all-link:hover {
    color: var(--tender-dark);
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    flex-grow: 1;
}

.product-colors {
    font-size: 0.8rem;
    color: var(--tender-purple);
    font-weight: 600;
    margin-top: auto;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .header-section {
        padding: 40px 0 120px 0;
    }
    
    .logo {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .search-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .category-select {
        width: 100%;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
        margin-bottom: 10px;
    }
    
    .search-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .categories-section {
        margin-top: -100px;
    }
    
    .categories-section .container {
        padding: 20px 15px;
    }
    
    .category-item {
        padding: 15px 5px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon-img {
        width: 50px;
        height: 50px;
    }
    
    .category-label {
        font-size: 0.8rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .product-colors {
        font-size: 0.75rem;
    }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-section {
        padding: 100px 0 140px 0;
    }
    
    .logo {
        font-size: 2.8rem;
        margin-bottom: 35px;
    }
    
    .search-bar {
        max-width: 500px;
    }
    
    .categories-section {
        margin-top: -120px;
    }
    
    .categories-section .container {
        padding: 25px 20px;
    }
    
    .category-icon-img {
        width: 55px;
        height: 55px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .product-image {
        height: 140px;
    }
}

/* Large Desktop Optimizations */
@media (min-width: 1200px) {
    .header-section {
        padding: 50px 0 200px 0;
    }
    
    .logo {
        font-size: 3.5rem;
    }
    
    .search-bar {
        max-width: 700px;
    }
    
    .categories-section {
        margin-top: -180px;
    }
    
    .category-icon-img {
        width: 65px;
        height: 65px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-image {
        height: 180px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .header-section {
        padding: 30px 0 100px 0;
    }
    
    .logo {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .create-account-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .categories-section {
        margin-top: -80px;
    }
    
    .categories-section .container {
        padding: 15px 10px;
    }
    
    .category-item {
        padding: 10px 3px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
    }
    
    .category-icon-img {
        width: 45px;
        height: 45px;
    }
    
    .category-label {
        font-size: 0.75rem;
    }
    
    .trending-section {
        padding: 60px 0 30px 0;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .product-card {
        padding: 10px;
    }
    
    .product-image {
        height: 100px;
    }
    
    .product-title {
        font-size: 0.8rem;
    }
    
    .product-colors {
        font-size: 0.7rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--tender-purple) 0%, var(--tender-dark) 100%);
    color: white;
    padding: 60px 0 30px 0;
    margin-top: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-description {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-divider {
    border-color: rgba(255,255,255,0.2);
    margin: 40px 0 30px 0;
}

.footer-copyright {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
        margin-top: 30px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-copyright {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
