/* Custom Styles for Style Vault Collection
   Enhanced with Color Psychology Principles */

:root {
    --pink-primary: #ff6b8a;      /* Feminine, warm, inviting */
    --pink-dark: #ff5277;          /* Deeper pink for hover states */
    --pink-light: #fff0f3;         /* Very light pink – soft, calming background */
    --deep-rose: #d63384;          /* Primary CTA – urgent, exciting */
    --deep-rose-hover: #b02a6b;    /* Darker for hover */
    --coral: #ff7f50;              /* Secondary CTA – warm, impulsive */
    --trust-blue: #0d6efd;         /* Security, trust (checkout, links) */
    --dark-footer: #333333;         /* Neutral, grounding */
    --whatsapp-green: #25d366;      /* Trusted green for WhatsApp */
    --urgency-red: #dc3545;         /* Scarcity / warnings */
}

* {
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--pink-light); /* Soft, welcoming background */
}

/* Background Colors */
.bg-pink-light {
    background-color: var(--pink-light) !important;
}

.bg-pink-primary {
    background-color: var(--pink-primary) !important;
}

/* Text Colors */
.text-pink {
    color: var(--deep-rose) !important; /* Stronger pink for better readability */
}

.text-trust {
    color: var(--trust-blue) !important;
}

/* Navbar Custom */
.navbar-custom {
    background: linear-gradient(135deg, var(--deep-rose), var(--pink-primary));
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.2);
}

.navbar-custom .navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: white !important;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255,255,255,0.5);
}

.navbar-toggler {
    filter: invert(1);
}

/* Button Icons */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background-color: rgba(255,255,255,0.3);
    color: white;
}

.btn-cart {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
}

.btn-cart:hover {
    background-color: rgba(255,255,255,0.3);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: radial-gradient(circle at 10% 30%, var(--pink-light), #fff);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.hero-badge i {
    color: var(--deep-rose);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--deep-rose);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(214, 51, 132, 0.1);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(214, 51, 132, 0.1);
    transition: all 0.3s ease;
    display: block;
    height: 100%;
    border: 1px solid rgba(214, 51, 132, 0.1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(214, 51, 132, 0.2);
    border-color: var(--deep-rose);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon.hot {
    background: linear-gradient(135deg, #ff6b35, #f7931e); /* Warm, energetic */
}

.category-icon.dresses {
    background: linear-gradient(135deg, var(--deep-rose), var(--pink-primary)); /* Feminine */
}

.category-icon.luxury {
    background: linear-gradient(135deg, #9b59b6, #8e44ad); /* Royal, premium */
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
    white-space: pre-line;
    line-height: 1.4;
}

.category-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.category-explore {
    color: var(--deep-rose);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-explore {
    opacity: 1;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(214, 51, 132, 0.1);
}

.product-card:hover {
    box-shadow: 0 20px 35px rgba(214, 51, 132, 0.15);
    transform: translateY(-4px);
    border-color: var(--deep-rose);
}

.product-badge {
    padding: 0.75rem;
    text-align: center;
    color: var(--urgency-red);
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 138, 0.1), transparent);
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-rose);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-actions .btn {
    width: 100%;
}

.btn-dark-custom {
    background-color: var(--deep-rose);
    color: white;
    border: none;
    transition: background-color 0.3s;
}

.btn-dark-custom:hover {
    background-color: var(--deep-rose-hover);
    color: white;
}

.btn-outline-dark-custom {
    background-color: transparent;
    color: var(--deep-rose);
    border: 1px solid var(--deep-rose);
}

.btn-outline-dark-custom:hover {
    background-color: var(--pink-light);
    color: var(--deep-rose-hover);
    border-color: var(--deep-rose-hover);
}

.btn-whatsapp-order {
    background-color: var(--whatsapp-green);
    color: white;
    border: none;
    transition: background-color 0.3s;
}

.btn-whatsapp-order:hover {
    background-color: #128c7e;
    color: white;
}

/* Size Chart Modal */
.size-chart-table {
    width: 100%;
    font-size: 0.9rem;
}

.size-chart-table th,
.size-chart-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.size-chart-table th {
    font-weight: 600;
    background-color: var(--pink-light);
    color: var(--deep-rose);
}

/* Cart */
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
.footer {
    background-color: var(--dark-footer);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer a {
    color: var(--trust-blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-title h1 {
    color: var(--deep-rose);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.page-title h1:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--deep-rose), var(--pink-primary));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Offcanvas */
.offcanvas-title {
    font-weight: 600;
    color: var(--deep-rose);
}

.offcanvas .btn-close {
    filter: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pink-light);
}

::-webkit-scrollbar-thumb {
    background: var(--deep-rose);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-rose-hover);
}

/* Dark Pattern Styles */
.stock-warning {
    font-size: 0.9rem;
    color: var(--urgency-red) !important;
    animation: blink 1.5s infinite;
    font-weight: 600;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

#countdown-timer {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .category-card {
        margin-bottom: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
}