/* GlamourHub Styles - Inspired by makeup.uk */
:root {
    --primary: #ff6b9d;
    --primary-dark: #e91e8c;
    --secondary: #f8a5c2;
    --bg: #ffffff;
    --bg-secondary: #fff5f8;
    --text: #333333;
    --text-light: #666666;
    --border: #f0d0e0;
    --shadow: 0 4px 20px rgba(255, 107, 157, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-search, .btn-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg) 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Categories */
.categories {
    padding: 60px 0;
    background: var(--bg);
}

.categories h2, .products h2, .brands h2, .reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    text-decoration: none;
    color: var(--text);
    text-align: center;
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.category-card span {
    font-weight: 500;
    font-size: 14px;
}

/* Products */
.products {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.product-info {
    padding: 15px;
}

.product-brand {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.product-name {
    font-size: 14px;
    margin: 5px 0;
    font-weight: 500;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-rating {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.add-to-cart {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: var(--primary-dark);
}

/* Brands */
.brands {
    padding: 60px 0;
    background: var(--bg);
    overflow: hidden;
}

.brand-carousel {
    overflow: hidden;
    margin: 0 -20px;
    padding: 0 20px;
}

.brand-track {
    display: flex;
    gap: 30px;
    animation: scroll 20s linear infinite;
}

.brand-item {
    flex: 0 0 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reviews */
.reviews {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.reviewer {
    font-weight: 600;
    color: var(--text);
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.review-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}