/*
Theme Name: Fitness Blog Theme
Description: A modern, responsive WordPress theme for fitness blogging and affiliate product showcases.
Version: 1.0
Author: SoulPen Fitness
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

/* Improved Spacing */
.section {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.section + .section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Better Link Styles */
a {
    color: #ff6b35;
    transition: all 0.3s ease;
}

a:hover {
    color: #e55a2b;
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

input:focus,
textarea:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
    background: rgba(255, 107, 53, 0.2);
    color: #1a1a1a;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.logo span {
    color: #ff6b35;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: #1a1a1a;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
    width: 100%;
}

.main-nav .current-menu-item a {
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.follow-btn {
    background: #1a1a1a;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.15);
}

.follow-btn:hover {
    background: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(255, 107, 53, 0.1)), url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center right;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    color: white;
    margin-top: 0;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 600px;
    text-align: left;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -2px;
}

.hero-content h1 .highlight {
    color: #ff6b35;
    display: block;
}

.hero-content .subheading {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
    color: #e2e8f0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-text {
    font-size: 0.9rem;
    color: #cbd5e0;
    margin-left: 0.5rem;
}

.hero-badge {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ff6b35;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 1.25rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Why Trust Section */
.why-trust-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.why-trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.trust-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
}

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

.trust-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.trust-card-icon i {
    font-size: 2rem;
    color: white;
}

.trust-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.trust-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.trust-card .rating {
    margin-bottom: 1.5rem;
    text-align: center;
}

.trust-card p {
    color: #64748b;
    line-height: 1.7;
    text-align: center;
    font-size: 1rem;
}

.trust-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: 500;
}

.trust-feature i {
    font-size: 0.8rem;
}

/* Blog Section */
.blog-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

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

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-card-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #ff6b35;
}

.blog-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.read-more:hover {
    color: #e55a2b;
    transform: translateX(3px);
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Affiliate Products Section */
.affiliate-section {
    background: white;
    position: relative;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.affiliate-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.affiliate-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.affiliate-image {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.affiliate-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.affiliate-card:hover .affiliate-image img {
    transform: scale(1.08);
}

.affiliate-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.affiliate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(255, 107, 53, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.affiliate-card:hover .affiliate-overlay {
    opacity: 1;
}

.quick-view {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick-view:hover {
    background: white;
    color: #1a1a1a;
    transform: scale(1.05);
}

.affiliate-content {
    padding: 2rem;
}

.affiliate-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.affiliate-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.affiliate-rating {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.affiliate-rating .rating-count {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-left: 0.5rem;
}

.affiliate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.affiliate-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    font-family: 'Poppins', sans-serif;
}

.affiliate-price .original-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 0.5rem;
}

.buy-now-btn {
    background: linear-gradient(135deg, #1a1a1a, #2d3748);
    color: white;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.2);
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.affiliate-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.affiliate-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.affiliate-cta p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Trust Section Icons */
.trust-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.trust-icons i {
    font-size: 1.5rem;
    color: #ff6b35;
    padding: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blog Section Enhancements */
.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.footer-section p {
    line-height: 1.7;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo span {
    color: #ff6b35;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1rem;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ff6b35;
}

.footer-menu a:hover {
    color: #ff6b35;
    padding-left: 1.5rem;
}

.footer-menu a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: #cbd5e0;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.newsletter-form button {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #cbd5e0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: #ff6b35;
}

/* Single Post Styles */
.single-post {
    padding-top: 100px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

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

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.post-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin: 2rem 0 1rem;
    color: #333;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1rem 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-tags {
    margin-bottom: 2rem;
}

.tags-label {
    font-weight: 600;
    color: #333;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: #333;
}

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

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.pinterest {
    background: #bd081c;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-navigation a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #e55a2b;
}

.related-posts {
    margin-top: 3rem;
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post-content {
    padding: 1rem;
}

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post-content h4 a {
    color: #333;
    text-decoration: none;
}

.related-post-content h4 a:hover {
    color: #ff6b35;
}

.related-post-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Archive Page Styles */
.archive-page {
    padding-top: 100px;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    border-radius: 10px;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card .post-meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    gap: 1rem;
}

.post-card .post-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.post-card .post-title a {
    color: #333;
    text-decoration: none;
}

.post-card .post-title a:hover {
    color: #ff6b35;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-card .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.post-author {
    font-size: 0.9rem;
    color: #666;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.no-posts p {
    color: #666;
    margin-bottom: 2rem;
}

.pagination {
    text-align: center;
    margin-top: 3rem;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* Sidebar Styles */
.sidebar {
    padding-top: 2rem;
}

.widget {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff6b35;
}

.latest-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.latest-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.latest-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.latest-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.latest-post-content h4 a {
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}

.latest-post-content h4 a:hover {
    color: #ff6b35;
}

.latest-post-date {
    font-size: 0.8rem;
    color: #666;
}

.sidebar-product {
    text-align: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.sidebar-product:hover {
    border-color: #ff6b35;
    transform: translateY(-2px);
}

.sidebar-product-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.sidebar-product h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-rating {
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 0.75rem;
}

.sidebar-buy-btn {
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-buy-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    background: #f8f9fa;
    color: #ff6b35;
}

.category-count {
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.newsletter-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #e55a2b;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    background: #f8f9fa;
    color: #666;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #ff6b35;
    color: white;
}

/* Star Rating Styles */
.star-rating .star {
    color: #ffd700;
    font-size: 1rem;
}

.star-rating .star.filled {
    color: #ffd700;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .affiliate-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

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

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-content {
        position: relative;
        padding: 1rem 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: -1rem;
        right: -1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
        border-radius: 0 0 20px 20px;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .hero-section {
        min-height: 80vh;
        padding-top: 100px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
        justify-content: center;
    }

    .trust-grid,
    .blog-grid,
    .posts-grid,
    .affiliate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .share-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .stats-counter {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Page-specific responsive styles */
    .page-hero,
    .fitness-hero,
    .dieting-hero,
    .features-hero,
    .wellness-hero,
    .contact-hero {
        padding: 6rem 0 3rem;
    }

    .hero-stats {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .programs-grid,
    .diet-plans-grid,
    .features-grid,
    .pillars-grid,
    .wellness-programs-grid,
    .tools-grid,
    .resources-grid,
    .contact-methods-grid,
    .stories-grid,
    .tips-grid,
    .performance-grid,
    .support-grid,
    .faq-grid,
    .social-media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .customization-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .customization-item:nth-child(even) {
        direction: ltr;
    }

    .page-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-main-content {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }

    .social-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Additional responsive breakpoints */
@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .program-card,
    .diet-card,
    .feature-card,
    .pillar-card,
    .wellness-program-card,
    .tool-card,
    .resource-card,
    .contact-method-card {
        margin: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .page-main-content {
        padding: 1.5rem;
    }
}

/* Print styles for pages */
@media print {
    .page-hero,
    .fitness-hero,
    .dieting-hero,
    .features-hero,
    .wellness-hero,
    .contact-hero,
    .cta-content {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }

    .breadcrumbs,
    .cta-buttons,
    .method-btn,
    .btn-primary,
    .btn-outline {
        display: none !important;
    }

    .program-card,
    .diet-card,
    .feature-card,
    .pillar-card,
    .wellness-program-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .archive-title {
        font-size: 2rem;
    }

    .post-content,
    .widget {
        padding: 1rem;
    }

    .trust-card,
    .blog-card,
    .affiliate-card {
        margin-bottom: 1rem;
    }

    .latest-post-item {
        flex-direction: column;
        text-align: center;
    }

    .latest-post-image img {
        width: 100%;
        height: 150px;
    }
}

/* Modern UI Elements and Animations */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Badges and Labels */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.badge-secondary {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
    border: 1px solid rgba(26, 26, 26, 0.1);
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Cards */
.modern-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

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

/* Stats Counter */
.stats-counter {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b35;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 2rem;
    font-size: 4rem;
    color: #ff6b35;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Custom Widget Styles */
.custom-widget {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.custom-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.custom-widget .widget-title {
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.custom-widget-content {
    position: relative;
    z-index: 2;
}

.custom-widget-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.custom-widget-content a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.custom-widget-content a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Affiliate Disclaimer */
.affiliate-disclaimer {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #ff6b35;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    font-size: 0.9rem;
}

.affiliate-disclaimer p {
    margin: 0;
    color: #6c757d;
}

.affiliate-disclaimer strong {
    color: #495057;
}

/* Sidebar Position Left */
.sidebar-left .content-wrapper {
    grid-template-columns: 1fr 2fr;
}

.sidebar-left .sidebar {
    order: -1;
}

/* Enhanced Image Styles */
.trust-card img,
.blog-card img,
.affiliate-card img {
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1);
}

.trust-card:hover img,
.blog-card:hover img,
.affiliate-card:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Custom Logo Enhancements */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Widget Enhancements */
.widget {
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    transition: left 0.5s ease;
}

.widget:hover::before {
    left: 100%;
}

/* Responsive Enhancements for New Features */
@media (max-width: 768px) {
    .custom-widget {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .affiliate-disclaimer {
        padding: 1rem;
        margin: 1.5rem 0;
        font-size: 0.85rem;
    }

    .sidebar-left .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar-left .sidebar {
        order: 0;
    }
}

/* Print Styles for New Elements */
@media print {
    .custom-widget,
    .affiliate-disclaimer {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc !important;
    }
}

/* ===== PAGE TEMPLATES STYLES ===== */

/* Page Hero Sections */
.page-hero,
.fitness-hero,
.dieting-hero,
.features-hero,
.wellness-hero,
.contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.fitness-hero::before,
.dieting-hero::before,
.features-hero::before,
.wellness-hero::before,
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23fff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.page-hero-content,
.fitness-hero-content,
.dieting-hero-content,
.features-hero-content,
.wellness-hero-content,
.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #ff6b35;
}

.breadcrumb-separator {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.current-page {
    color: #ff6b35;
    font-weight: 600;
}

/* Page Titles */
.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.page-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b35;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 600;
}

/* Program/Product Cards */
.programs-grid,
.diet-plans-grid,
.features-grid,
.pillars-grid,
.wellness-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.program-card,
.diet-card,
.feature-card,
.pillar-card,
.wellness-program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.program-card:hover,
.diet-card:hover,
.feature-card:hover,
.pillar-card:hover,
.wellness-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Card Images */
.program-image,
.diet-image,
.program-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.program-image img,
.diet-image img,
.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.program-card:hover .program-image img,
.diet-card:hover .diet-image img,
.wellness-program-card:hover .program-image img {
    transform: scale(1.05);
}

/* Card Badges */
.program-badge,
.diet-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Card Content */
.program-content,
.diet-content,
.feature-card,
.pillar-card,
.program-content {
    padding: 2rem;
}

.program-content h3,
.diet-content h3,
.feature-card h3,
.pillar-card h3,
.program-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
}

.program-content p,
.diet-content p,
.feature-card p,
.pillar-card p,
.program-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Card Features */
.program-features,
.diet-features,
.program-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature,
.detail {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Pricing */
.diet-price,
.program-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    font-family: 'Poppins', sans-serif;
}

.original-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 400;
}

/* Feature Lists */
.feature-list,
.pillar-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li,
.pillar-features li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before,
.pillar-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: 600;
}

/* Icons */
.feature-icon,
.pillar-icon,
.tool-icon,
.resource-icon,
.method-icon,
.info-icon,
.social-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.feature-icon i,
.pillar-icon i,
.tool-icon i,
.resource-icon i,
.method-icon i,
.info-icon i,
.social-icon i {
    font-size: 2rem;
    color: white;
}

/* Tools and Resources Grids */
.tools-grid,
.resources-grid,
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card,
.resource-card,
.contact-method-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.tool-card:hover,
.resource-card:hover,
.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.tool-card h3,
.resource-card h3,
.contact-method-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.tool-card p,
.resource-card p,
.contact-method-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Links */
.tool-link,
.resource-link,
.pillar-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-link:hover,
.resource-link:hover,
.pillar-link:hover {
    color: #e55a2b;
    transform: translateX(3px);
}

/* Method Details */
.method-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail {
    font-size: 0.9rem;
    color: #64748b;
}

.method-btn {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Contact Form Styles */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-form-content p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: white;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.info-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Styles */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Social Media Cards */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.social-card.facebook:hover {
    border-color: #1877f2;
}

.social-card.instagram:hover {
    border-color: #e4405f;
}

.social-card.youtube:hover {
    border-color: #ff0000;
}

.social-card.twitter:hover {
    border-color: #1da1f2;
}

.social-card .social-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin: 0;
}

.social-card.facebook .social-icon {
    background: #1877f2;
}

.social-card.instagram .social-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-card.youtube .social-icon {
    background: #ff0000;
}

.social-card.twitter .social-icon {
    background: #1da1f2;
}

.social-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.social-content p {
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.social-followers {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b35;
}

/* Success Stories */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

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

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 2rem;
    text-align: center;
}

.story-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.story-result {
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.story-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.story-rating {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.tip-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    margin-top: 1rem;
}

.tip-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Performance Cards */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.performance-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.performance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.performance-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.performance-icon i {
    font-size: 1.8rem;
    color: white;
}

.performance-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.performance-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.performance-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ff6b35;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-icon i {
    font-size: 1.8rem;
    color: white;
}

.support-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.support-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.support-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.support-link:hover {
    color: #e55a2b;
    transform: translateX(3px);
}

/* Customization Items */
.customization-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.customization-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.customization-item:nth-child(even) {
    direction: rtl;
}

.customization-item:nth-child(even) .customization-content {
    direction: ltr;
}

.customization-image {
    border-radius: 15px;
    overflow: hidden;
}

.customization-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.customization-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.customization-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Color Preview */
.color-preview {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Font Preview */
.font-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.font-sample {
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: 500;
}

/* Layout Options */
.layout-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.layout-option {
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: 500;
}

/* CTA Sections */
.fitness-cta,
.dieting-cta,
.features-cta,
.wellness-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fitness-cta::before,
.dieting-cta::before,
.features-cta::before,
.wellness-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23fff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Page Content Wrapper */
.page-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.page-main-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.page-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff6b35;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.search-form.focused {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .site-header,
    .sidebar,
    .site-footer,
    .share-buttons,
    .post-navigation,
    .back-to-top {
        display: none;
    }

    .single-post {
        padding-top: 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }
}
