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

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #2c5530;
    --accent-color: #ffd700;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #6b0f2a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    gap: 3rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Product Showcase Section */
.product-showcase {
    padding: 0;
    background: var(--white);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 60vh;
    overflow: hidden;
}

.showcase-collagen {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1e9f8 100%);
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 0;
}

.showcase-collagen .showcase-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.showcase-collagen .showcase-image {
    display: none;
}

.showcase-balance {
    background: linear-gradient(135deg, #1a4b6b 0%, #2d5a7b 100%);
    color: var(--white);
}

.showcase-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.showcase-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.showcase-collagen h2 {
    color: var(--text-dark);
}

.showcase-balance h2 {
    color: var(--white);
}

.showcase-item p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.showcase-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.showcase-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive showcase */
@media (max-width: 768px) {
    .showcase-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .showcase-content {
        padding: 2rem;
        order: 2;
    }
    
    .showcase-image {
        order: 1;
        height: 300px;
    }
    
    .showcase-item h2 {
        font-size: 1.8rem;
    }
    
    .showcase-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Categories Section */
.categories-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.categories-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.categories-intro h2 {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    margin-bottom: 1.5rem;
}

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

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--secondary-color);
}

/* Featured Products */
.featured-products {
    padding: 6rem 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trustpilot-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.stars {
    color: #00b67a;
    font-size: 1.5rem;
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-card p {
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-weight: 500;
    color: var(--text-dark);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    margin-bottom: 1.5rem;
}

.newsletter-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .categories-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
