/* CollagenVitality - Main Stylesheet */
/* ================================= */

:root {
    --primary-color: #e91e63;
    --secondary-color: #f8bbd9;
    --accent-color: #ff4081;
    --text-dark: #2c3e50;
    --text-light: #636e72;
    --bg-light: #fff5f7;
    --white: #ffffff;
    --gradient-start: #ff9a9e;
    --gradient-end: #fecfef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Navigation Styles */
/* ================= */

nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Hero Section */
/* ============= */

.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.2s ease;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

/* Section Styles */
/* ============== */

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 500;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Cards */
/* ===== */

.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: var(--white);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card img {
    border-radius: 15px 15px 0 0;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

/* Highlight Box */
/* ============= */

.highlight-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.highlight-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Alert Styles */
/* ============ */

.alert {
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border-left: 4px solid #ff9800;
}

/* Benefits Section */
/* ================ */

.benefit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Gradient Section */
/* ================ */

.bg-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.strategy-card:hover {
    transform: translateY(-8px);
}

.strategy-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.strategy-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Additional Info Box */
/* ==================== */

.additional-info {
    box-shadow: var(--shadow-hover);
    border: 2px solid rgba(233, 30, 99, 0.1);
}

.additional-info h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.additional-info ul {
    list-style: none;
    padding-left: 0;
}

.additional-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.additional-info ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Deficiency List */
/* =============== */

.deficiency-list h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.deficiency-list ul {
    list-style: none;
    padding-left: 0;
}

.deficiency-list ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.deficiency-list ul li:last-child {
    border-bottom: none;
}

.deficiency-list ul li strong {
    color: var(--primary-color);
}

/* Blog Preview */
/* ============ */

.blog-preview {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-preview:hover {
    transform: translateY(-5px);
}

.blog-preview img {
    border-radius: 10px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-preview h4 {
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* FAQ Accordion */
/* ============= */

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
}

/* CTA Section */
/* ============ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 100px 0;
}

.cta-box {
    box-shadow: var(--shadow-hover);
}

/* Footer */
/* ======= */

.footer-section {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #b0bec5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-section a {
    color: #b0bec5;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

/* Animations */
/* ========== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
/* ================= */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    nav ul {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .strategy-card {
        padding: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Utility Classes */
/* =============== */

.highlight {
    background: linear-gradient(120deg, rgba(233, 30, 99, 0.2) 0%, rgba(233, 30, 99, 0.2) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-color);
}

.text-white {
    color: var(--white) !important;
}

/* Smooth Scroll */
/* ============= */

html {
    scroll-behavior: smooth;
}

/* Image Fallback Styling */
/* ======================= */

img {
    max-width: 100%;
    height: auto;
}

img[src=""] {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-light) 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}