/**
 * CUSTOM STYLES FOR GLAMMIST
 * Add your custom CSS here
 */

:root {
    /* Brand Colors - Warm & Elegant Palette matching #ede1d9 */
    --primary-color: #c17c55;      /* Warm Terracotta */
    --secondary-color: #d4a373;    /* Golden Tan */
    --accent-color: #8b6f47;       /* Rich Brown */
    
    /* Gradient Colors */
    --gradient-start: #c17c55;
    --gradient-end: #d4a373;
    
    /* Text Colors */
    --text-dark: #4a3f35;
    --text-medium: #6b5d52;
    --text-light: #8b7d72;
    
    /* Background Colors */
    --bg-main: #ede1d9;            /* Your beige background */
    --bg-card: #faf7f4;            /* Slightly lighter for cards */
}

/* Logo Styles */
.site-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.admin-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Custom Gradient Backgrounds */
.custom-gradient {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.custom-gradient-hover:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    filter: brightness(0.9);
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Product Card Hover Effect */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Price Style */
.product-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Category Badge */
.category-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.cart-badge {
    animation: pulse 0.3s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Body Background & Sticky Footer */
html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--bg-main) !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content should grow to push footer down */
body > *:not(footer) {
    flex-shrink: 0;
}

footer {
    margin-top: auto !important;
}

/* Hero Section Wave Effect (Optional) */
.hero-wave {
    position: relative;
}

.hero-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-logo {
        height: 40px;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    /* Mobile navigation - show as dropdown if needed */
    nav .md\:flex {
        display: none !important;
    }
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

