/* Mitolyn Affiliate Website - Global Styles */

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

:root {
    --primary-color: #4a90e2;
    --secondary-color: #f39c12;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --border-radius: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), #357abd);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem;
}

nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cta-button.large {
    font-size: 1.4rem;
    padding: 1.2rem 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Content Sections */
.content-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: var(--dark-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Review Cards */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.review-card .rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-card .reviewer {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.review-card .review-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.review-card .verified {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Alert Boxes */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: var(--success-color);
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: var(--secondary-color);
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: var(--primary-color);
    color: #0c5460;
}

/* Ingredients Grid */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.ingredient-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.ingredient-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* FAQ Section */
.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #b8c5d6;
    padding: 3rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 2rem 2rem 2rem;
    text-align: left;
}

.footer-section h3 {
    color: #5dade2;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e67e22;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #95a5a6;
}

.disclaimer {
    font-size: 0.8rem;
    color: #7f8c8d;
    max-width: 1000px;
    margin: 1rem auto 0 auto;
    padding: 1rem 2rem;
    text-align: center;
    line-height: 1.5;
}

.disclaimer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        align-items: flex-start;
    }

    .logo img {
        height: 45px;
    }

    .logo p {
        font-size: 0.75rem;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-color);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 80px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }

    nav.active {
        right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem 2rem 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .disclaimer {
        padding: 1rem 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 0;
    }

    nav li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav a {
        display: block;
        padding: 1.2rem 2rem;
        width: 100%;
        text-align: left;
    }

    nav a:hover {
        background-color: rgba(255,255,255,0.1);
        text-decoration: none;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .review-grid,
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
}

