/*==========================================================================
  Botanique Eve - E-Commerce Stylesheet
  Color Theme: Warm oranges, coral, pink, and gold
  ==========================================================================*/

:root {
    /* Color Palette from Brand Image */
    --primary-color: #FF8C42;        /* Warm Orange */
    --secondary-color: #FF6B9D;      /* Coral Pink */
    --accent-color: #FFB84D;         /* Golden Yellow */
    --dark-accent: #C85A3C;          /* Deep Terracotta */
    --light-pink: #FFB3C6;           /* Soft Pink */
    --cream: #FFF8F0;                /* Cream Background */
    --earth-brown: #8B4513;          /* Earth Brown */
    --text-dark: #2C2C2C;            /* Dark Text */
    --text-light: #666666;           /* Light Text */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #E5E5E5;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Nunito', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(255, 140, 66, 0.1);
    --shadow-md: 0 4px 16px rgba(255, 140, 66, 0.15);
    --shadow-lg: 0 8px 32px rgba(255, 140, 66, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar p {
    margin: 0;
    font-weight: 500;
}

.social-links a {
    color: var(--white);
    font-size: 16px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.logo-tagline {
    font-size: 12px;
    font-style: italic;
    color: var(--text-light);
    margin: 0;
    margin-top: -5px;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: var(--cream);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.cart-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-badge {
    background: var(--white);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Hero Section - Enhanced Premium Design */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, #FFF5E6 50%, #FFE8F0 100%);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.hero-content {
    padding: 0;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 32px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 13px;
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-height: 350px;
    object-fit: cover;
    width: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    filter: blur(8px);
    opacity: 0.5;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 20px;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Product Cards - Premium Enhanced */
.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 140, 66, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.featured {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.product-badge.sale {
    background: linear-gradient(135deg, #E63946, #F77F00);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--light-gray);
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-overlay .btn {
    min-width: 150px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating i {
    color: var(--accent-color);
    font-size: 14px;
}

.product-rating span {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 5px;
}

/* Category Cards */
.category-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

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

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    z-index: 2;
    text-align: center;
}

/* Best Sellers Section */
.best-sellers {
    background: var(--white);
}

/* Shop by Category Section */
.shop-by-category {
    background: var(--cream);
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE8F0 100%);
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin-top: 20px;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 16px 20px;
    font-size: 16px;
}

.newsletter-form .form-control:focus {
    outline: none;
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 16px 32px;
    background: var(--text-dark);
    border: none;
    font-weight: 700;
}

.newsletter-form .btn:hover {
    background: var(--earth-brown);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 14px;
    font-style: italic;
    color: var(--light-pink);
    margin-bottom: 15px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links-footer a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

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

.store-info {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.store-info p {
    margin-bottom: 10px;
}

.store-info i {
    color: var(--primary-color);
}

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

.footer-bottom {
    text-align: center;
}

.copyright,
.developer-credit {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 5px 0;
}

.developer-credit i {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .newsletter-title {
        font-size: 28px;
        text-align: center;
    }
    
    .newsletter-text {
        text-align: center;
    }
    
    .newsletter-form {
        margin: 20px auto 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline-primary {
        width: 100%;
        text-align: center;
    }
    
    .product-image {
        height: 220px;
    }
}

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

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

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}


/* ==============================================
   NOTIFICATION STYLES
   ============================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 24px;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-success .notification-content i {
    color: #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-error .notification-content i {
    color: #dc3545;
}

.notification-content span {
    font-weight: 600;
    color: #2C3E50;
}

/* Cart Badge Animation */
#cartCount.cart-updated {
    animation: cartPulse 0.6s ease;
}

@keyframes cartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Mobile responsive notifications */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* Compact Hero Section Variant */
.hero-section.hero-compact {
    padding: 50px 0 !important;
    min-height: auto !important;
}

.hero-compact .hero-title {
    font-size: 2.5rem !important;
    margin-bottom: 15px !important;
}

.hero-compact .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
}

.hero-compact .hero-buttons {
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.hero-compact .hero-buttons .btn {
    padding: 10px 30px !important;
    font-size: 0.95rem !important;
}

.hero-compact .hero-features {
    gap: 15px !important;
}

.hero-compact .feature-badge {
    padding: 8px 15px !important;
}

.hero-compact .feature-badge i {
    font-size: 16px !important;
}

.hero-compact .feature-badge span {
    font-size: 0.85rem !important;
}

.hero-compact .hero-image img {
    max-height: 400px !important;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-compact .hero-content {
    padding: 20px 0 !important;
}

@media (max-width: 768px) {
    .hero-compact {
        padding: 30px 0 !important;
    }
    
    .hero-compact .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-compact .hero-image img {
        max-height: 300px !important;
    }
}
