/* Z Cake House - Custom Styles */

/* Color Variables */
:root {
    --primary-pink: #ff69b4;
    --secondary-pink: #ffb6c1;
    --light-pink: #ffc0cb;
    --dark-pink: #c71585;
    --accent-gold: #ffd700;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --cream: #faf7f2;
    --light-cream: #fefcf8;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    box-shadow: 0 2px 10px white;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.brand-text {
    background: linear-gradient(45deg, var(--white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    margin-top: 76px;
    position: relative;
}

.carousel-item {
    height: 85vh;
    min-height: 600px;
}

/* Desktop carousel styling for wider display */
@media (min-width: 1200px) {
    .carousel-item {
        height: 90vh;
        min-height: 700px;
    }
    
    .hero-section {
        margin-top: 0;
    }
    
    .carousel-caption {
        max-width: 1000px;
    }
    
    .carousel-caption h1 {
        font-size: 4.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.5rem;
    }
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
    background: linear-gradient(135deg, var(--dark-pink), var(--primary-pink));
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dark-pink), var(--primary-pink));
}

/* Features Section */
.features-section {
    background: var(--light-gray);
}

.feature-card {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h4 {
    color: var(--text-dark);
}

/* Contact Info Cards */
.hover-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 182, 193, 0.1));
    transition: all 0.3s ease;
}

.hover-card:hover .contact-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.2), rgba(255, 182, 193, 0.2));
}

.contact-info-section .btn {
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
}

.contact-info-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-section .card-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-section .card-text {
    font-size: 1rem;
    line-height: 1.6;
}
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Products Section */
.products-section {
    background: var(--light-cream);
}

.product-filter .nav-link {
    color: var(--text-light);
    background: transparent;
    border: 2px solid var(--light-pink);
    border-radius: 25px;
    margin: 0 0.5rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.product-filter .nav-link.active,
.product-filter .nav-link:hover {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--white);
    border-color: var(--primary-pink);
    transform: translateY(-2px);
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 105, 180, 0.1);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.15);
    border-color: var(--primary-pink);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--primary-pink);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.05), rgba(255, 182, 193, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 105, 180, 0.1);
}

.love-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin: 0;
}

.love-icon {
    font-size: 1.4rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.like-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 105, 180, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

.like-count.loved {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
}

.love-icon:hover {
    color: #ff4757;
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.love-icon.loved {
    color: #ff4757;
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.add-to-cart {
    width: 100%;
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    border: none;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, var(--dark-pink), var(--primary-pink));
}

.add-to-cart:active {
    transform: translateY(0);
}

.add-to-cart::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;
}

.add-to-cart:hover::before {
    left: 100%;
}

/* About Section */
.about-section {
    background: var(--light-gray);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 2px solid var(--light-pink);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

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

.contact-info {
    text-align: center;
    padding: 1.5rem;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.contact-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-light);
    margin: 0;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.cart-total {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    font-weight: bold;
    color: var(--primary-pink);
    border: 1px solid #dee2e6;
}

#cartModal .modal-header {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
}

#cartModal .modal-title {
    font-weight: 600;
}

#cartModal .btn-close {
    filter: invert(1);
}

/* Quick View Modal Styles */
.quick-view-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.quick-view-header {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.quick-view-modal-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

.quick-view-body {
    padding: 2rem;
    background: linear-gradient(135deg, #fafafa, #f8f9fa);
}

.quick-view-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.quick-view-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.quick-view-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 182, 193, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-view-image-container:hover .image-overlay {
    opacity: 1;
}

.quick-view-details {
    padding-left: 1.5rem;
}

.quick-view-title {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-view-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.quick-view-price-section {
    margin-bottom: 2rem;
}

.price-love-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(255, 182, 193, 0.08));
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.15);
    backdrop-filter: blur(5px);
}

.quick-view-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-pink);
    margin: 0;
    text-shadow: 0 2px 4px rgba(255, 105, 180, 0.2);
}

.modal-love-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 105, 180, 0.1);
}

.modal-love-icon {
    font-size: 1.8rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 50%;
}

.modal-love-icon:hover {
    color: #ff4757;
    transform: scale(1.3);
    filter: drop-shadow(0 4px 8px rgba(255, 71, 87, 0.4));
}

.modal-love-icon.loved {
    color: #ff4757;
    animation: heartBeat 0.6s ease;
}

.modal-like-count {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    background: rgba(255, 105, 180, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.modal-like-count.loved {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.15);
    border-color: rgba(255, 71, 87, 0.3);
    transform: scale(1.1);
}

.product-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 1.2rem;
}

.stat-value {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-features {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.product-features h6 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--primary-pink);
    font-size: 1rem;
}

.quick-view-footer {
    background: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.quick-view-add-cart {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
}

.quick-view-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.4);
}

/* Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-toast {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.cart-link {
    position: relative;
    transition: all 0.3s ease;
}

.cart-link:hover {
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #2c2c2c);
    color: var(--white);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title i {
    color: var(--accent-gold);
}

.footer-subtitle {
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
    padding-left: 5px;
}

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

.footer-info li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-pink);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: #555;
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: #cccccc;
    margin: 0;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.product-item {
    animation: fadeInUp 0.6s ease forwards;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(6) { animation-delay: 0.6s; }

/* Mobile Navbar Styles */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.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%28255, 255, 255, 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;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-brand i {
        font-size: 1.8rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
        border: 1px solid rgba(255, 105, 180, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        color: var(--text-dark) !important;
        margin: 0.25rem 0;
        padding: 0.75rem 1.5rem !important;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 182, 193, 0.1));
        border: 1px solid rgba(255, 105, 180, 0.2);
        transition: all 0.3s ease;
        display: block;
        font-weight: 600;
    }
    
    .navbar-nav .nav-link:hover {
        background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
        color: var(--white) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    }
    
    .navbar-nav .nav-link i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }
    
    .cart-link {
        position: relative;
        display: inline-block;
    }
    
    .cart-count {
        position: absolute;
        top: -5px;
        right: 10px;
        background: var(--primary-pink);
        color: var(--white);
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        animation: pulse 2s infinite;
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
        color: var(--primary-pink);
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        color: var(--white);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .product-filter .nav-link {
        margin: 0.25rem;
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-brand i {
        font-size: 1.6rem;
    }
    
    .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
        color: var(--primary-pink);
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Success Message */
.alert-success {
    background: linear-gradient(135deg, var(--secondary-pink), var(--light-pink));
    border: none;
    color: var(--text-dark);
    border-radius: 10px;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-pink), var(--primary-pink));
}

/* Login Page Styles */
.login-section {
    background: linear-gradient(135deg, var(--light-pink), var(--secondary-pink));
    min-height: 100vh;
    padding-top: 76px;
}

.login-card {
    background: var(--light-cream);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease;
}

.login-icon {
    font-size: 4rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.login-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.form-label i {
    color: var(--primary-pink);
    margin-right: 0.5rem;
}

.form-control {
    border: 2px solid rgba(255, 105, 180, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

.register-text {
    color: var(--text-light);
    margin: 0;
}

.register-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link:hover {
    color: var(--dark-pink);
    text-decoration: underline;
}

/* User Welcome Styles */
.user-welcome {
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-welcome i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.logout-btn {
    color: var(--white) !important;
    font-weight: 500;
    margin-left: 0.5rem;
    padding: 0.3rem 0.8rem !important;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .login-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .login-icon {
        font-size: 3rem;
    }
    
    .user-welcome {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem !important;
    }
}

/* Profile Page Styles */
.profile-section {
    padding-top: 100px;
    background: linear-gradient(135deg, var(--light-gray), #f8f4f8);
    min-height: 100vh;
}

.profile-sidebar {
    background: var(--light-cream);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.avatar-circle i {
    font-size: 3rem;
    color: var(--white);
}

.user-name {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-email {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 500;
}

.profile-menu-item:hover {
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-pink);
    transform: translateX(5px);
}

.profile-menu-item.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.profile-menu-item i {
    width: 20px;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.profile-menu-item.logout-item {
    margin-top: 1rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

.profile-menu-item.logout-item:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.profile-content {
    display: none;
}

.profile-content.active {
    display: block;
}

.profile-card {
    background: var(--light-cream);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.profile-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-pink), var(--secondary-pink));
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
}

.profile-card-header h4 {
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.profile-card-body {
    padding: 2rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.order-item {
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    transform: translateY(-2px);
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #e69500;
}

.order-status.completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.order-status.cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.address-card {
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    transform: translateY(-2px);
}

.address-card.default {
    border-color: var(--primary-pink);
    background: rgba(255, 105, 180, 0.05);
}

.address-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.address-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    background: var(--light-cream);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.profile-stat {
    text-align: center;
}

.profile-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-pink);
    display: block;
}

.profile-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Profile Page Responsive */
@media (max-width: 768px) {
    .profile-section {
        padding-top: 80px;
    }
    
    .profile-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .profile-card-body {
        padding: 1.5rem;
    }
    
    .profile-menu-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .profile-menu-item i {
        width: 18px;
        margin-right: 0.6rem;
        font-size: 1rem;
    }
}