/* Basic CSS Variables */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --danger-color: #ff4444;
    --text-color: #333;
    --light-gray: #f8f8f8;
    --border-color: #ddd;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

/* Simple navbar styling - let Bootstrap handle responsiveness */
.navbar {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    padding: 15px 0 !important;
    border-radius: 15px 15px 0 0 !important;
    margin: 0 !important;
}

.navbar-brand {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: white !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #e8f5e8 !important;
    text-decoration: none;
}

.navbar-brand i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 2rem !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

.navbar-nav .nav-link i {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.9) !important;
}

.btn-outline-light {
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}

.btn-outline-light:hover {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    transform: translateY(-2px) !important;
}

/* Main content wrapper */
.main-content-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 1400px;
    overflow: hidden;
}

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

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Health cards */
.health-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.08);
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: rgba(0,0,0,0.12);
}

.health-icon {
    width: 80px;
    height: 80px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.health-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.health-card p {
    color: #666;
    line-height: 1.6;
}

/* Feature items */
.feature-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.feature-item i {
    font-size: 2.5rem;
    margin-right: 20px;
    min-width: 60px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 1.3rem;
}

.feature-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #343a40 !important;
    color: white;
    padding: 40px 0 20px;
}

footer h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

footer p {
    color: #adb5bd;
    line-height: 1.6;
}

/* Product cards */
.product-card {
    transition: var(--transition);
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    padding: 10px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 8px;
}

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

.product-image-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    padding: 20px;
}

/* Exercise plans */
.exercise-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.plan-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(0,0,0,0.12);
}

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

.plan-card h2 {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 1.5em;
}

.difficulty {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.duration, .calories {
    color: #666;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-plan-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 15px;
    transition: var(--transition);
}

.view-plan-btn:hover {
    background: #1976D2;
    transform: translateX(5px);
}

/* Cart styles */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cart-items {
    list-style: none;
    padding: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.item-details h2 {
    margin: 0 0 10px 0;
    color: var(--text-color);
}

.price {
    color: #666;
    font-weight: 500;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.qty-btn:hover:not(:disabled) {
    background: var(--light-gray);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity {
    padding: 0 15px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    padding: 8px 16px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    background: #cc0000;
}

.cart-summary {
    margin-top: 20px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 5px;
}

.checkout-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.1em;
}

.checkout-btn:hover {
    background: #45a049;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 5px;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    color: #666;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Messages */
.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.alert-warning {
    background: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.alert-error {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Plan detail */
.plan-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.plan-info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.equipment {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
}

.instructor {
    font-style: italic;
    color: #666;
}

.description {
    margin: 20px 0;
    white-space: pre-line;
}

/* Simple responsive breakpoints - let Bootstrap handle the rest */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 2.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .item-controls {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 15px;
    }
    
    .health-card {
        padding: 20px;
    }
    
    .health-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .health-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .cart-item {
        padding: 12px;
    }
    
    .item-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .qty-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .remove-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .checkout-btn {
        padding: 8px 16px;
        font-size: 1rem;
        width: 100%;
    }
}

 