/* ===================================
   BellaVida Beauty - Main Stylesheet
   Premium Anti-Aging Beauty Website
   =================================== */

/* === CSS Variables === */
:root {
    /* Color Palette */
    --primary: #C89585;
    /* Rose Gold */
    --secondary: #8B7B8B;
    /* Mauve */
    --accent: #D4AF37;
    /* Gold */
    --dark: #2C2C2C;
    /* Charcoal */
    --light: #FAF7F5;
    /* Cream */
    --white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #C89585 0%, #8B7B8B 100%);
    --gradient-cta: linear-gradient(90deg, #D4AF37 0%, #C89585 100%);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Navigation === */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-bella {
    color: var(--primary);
}

.logo-vida {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cta);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* === Hero Section === */
.hero {
    background: var(--light);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.1;
    border-radius: 0 0 0 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.hero-image {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeInRight 1.5s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === Buttons === */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--gradient-cta);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: var(--primary);
    color: var(--white);
    margin-top: auto;
}

.cta-button.secondary:hover {
    background: var(--secondary);
}

.cta-button.outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.cta-button.outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* === Featured Products === */
.featured-products {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 2px solid var(--accent);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-cta);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 15px;
    background: var(--light);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-img-fit {
    object-fit: contain;
    padding: 1rem;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-tagline {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--dark);
}

/* === Why Choose Us === */
.why-choose {
    padding: var(--spacing-xl) 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--secondary);
}

/* === Latest Articles === */
.latest-articles {
    padding: var(--spacing-xl) 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    background: var(--gradient);
}

.article-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-content .cta-button {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-text {
    color: var(--light);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 25px;
    font-family: var(--font-body);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-cta);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.disclaimer-text {
    font-size: 0.75rem;
    font-style: italic;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 2rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-title {
        color: var(--white);
        margin-bottom: 1rem;
        font-size: 1.125rem;
    }

    .footer-text {
        color: var(--light);
        opacity: 0.8;
        line-height: 1.6;
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: var(--light);
        opacity: 0.8;
    }

    .footer-links a:hover {
        opacity: 1;
        color: var(--primary);
    }

    .newsletter-form {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .newsletter-form input {
        flex: 1;
        padding: 0.75rem;
        border: none;
        border-radius: 25px;
        font-family: var(--font-body);
    }

    .newsletter-form button {
        padding: 0.75rem 1.5rem;
        background: var(--gradient-cta);
        color: var(--white);
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 600;
    }

    .newsletter-form button:hover {
        opacity: 0.9;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--spacing-md);
        text-align: center;
    }

    .footer-bottom p {
        margin-bottom: 0.5rem;
        opacity: 0.7;
    }

    .disclaimer-text {
        font-size: 0.75rem;
        font-style: italic;
    }

    /* === Responsive Design === */
    @media (max-width: 768px) {
        .nav-menu {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: var(--white);
            box-shadow: var(--shadow-md);
            padding: 2rem;
        }

        .nav-menu.active {
            display: flex;
        }

        .nav-toggle {
            display: flex;
        }

        .hero-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .hero-title {
            font-size: 2.5rem;
        }

        .section-title {
            font-size: 2rem;
        }

        .products-grid,
        .features-grid,
        .articles-grid {
            grid-template-columns: 1fr;
        }
    }