﻿:root {
    --primary: #FF6B35; /* Vibrant Orange */
    --secondary: #FF9E6D; /* Lighter Orange */
    --accent: #FFB347; /* Golden Orange */
    --dark: #2D2D2D; /* Dark Gray for text */
    --darker: #F5F5F5; /* Light Gray background */
    --light: #FFFFFF; /* White */
    --success: #4CAF50; /* Green for success states */
    --card-bg-1: linear-gradient(135deg, #FF9E6D 0%, #FF6B35 100%);
    --card-bg-2: linear-gradient(135deg, #FFB347 0%, #FF6B35 100%);
    --card-bg-3: linear-gradient(135deg, #FFD166 0%, #FFB347 100%);
    --card-bg-4: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
    --card-bg-5: linear-gradient(135deg, #FFAB91 0%, #FF8A65 100%);
    --card-bg-6: linear-gradient(135deg, #FFCCBC 0%, #FFAB91 100%);
    --card-bg-7: linear-gradient(135deg, #FFE0B2 0%, #FFD54F 100%);
    --card-bg-8: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--dark);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

/* App Container */
.app-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

/* Header - Desktop */
.desktop-header {
    padding: 5px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--dark);
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/*.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.tagline {
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: -5px;
    font-weight: 500;
}*/

.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(45, 45, 45, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

    .nav-link:hover, .nav-link.active {
        color: var(--dark);
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }

.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s;
}

    .icon-btn:hover {
        background: none;
        color: white;
        transform: translateY(-2px);
    }

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--light);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

    .profile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(5px);
    }

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(45, 45, 45, 0.8);
    text-decoration: none;
    transition: all 0.2s;
}

    .profile-menu-item:hover {
        background: rgba(255, 107, 53, 0.1);
        color: var(--dark);
    }

    .profile-menu-item i {
        width: 20px;
        text-align: center;
        color: var(--primary);
    }

.profile-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

/* Footer */
.app-footer {
    /*background: var(--light);*/
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 30px 10px;
    margin-top: 40px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(45, 45, 45, 0.7);
        text-decoration: none;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: var(--dark);
            transform: translateX(5px);
        }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

    .social-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(45, 45, 45, 0.6);
    font-size: 0.9rem;
}

/* Bottom Navigation - Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--light);
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(45, 45, 45, 0.6);
    transition: all 0.3s;
    position: relative;
}

    .nav-item.active {
        color: var(--primary);
    }

.nav-icon {
    font-size: 1rem;
    margin-bottom: 3px;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}



/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.workout-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .workout-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .workout-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .workout-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .workout-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .workout-card:nth-child(5) {
        animation-delay: 0.5s;
    }

/* Responsive Design */
@media (max-width: 991px) {
    .desktop-header {
        display: none;
    }

    .cards-container-wrapper {
        padding: 0 20px;
    }

    .scroll-btn {
        display: none;
    }
}

@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .app-footer {
        padding: 30px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .modal-header, .modal-body, .modal-footer {
        padding: 20px;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

    .toast.show {
        display: block;
        animation: fadeInUp 0.5s ease;
    }


/* Mobile Top Header */
.mobile-top-header {
    display: none;
    background: var(--light);
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-logo-img {
    height: 35px;
}

.mobile-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
}

.mobile-logo-tagline {
    font-size: 0.7rem;
    color: var(--primary);
    margin-top: -2px;
    font-weight: 500;
}

.mobile-nav-trigger {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .mobile-nav-trigger:hover {
        background: rgba(255, 107, 53, 0.1);
    }

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--light);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

    .mobile-nav-menu.active {
        left: 0;
    }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    margin-bottom: 30px;*/
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.3rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .mobile-nav-close:hover {
        background: rgba(0, 0, 0, 0.05);
    }

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

    .mobile-nav-links li {
        margin-bottom: 10px;
    }

    .mobile-nav-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        color: rgba(45, 45, 45, 0.8);
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s;
        font-weight: 500;
    }

        .mobile-nav-links a:hover,
        .mobile-nav-links a.active {
            background: rgba(255, 107, 53, 0.1);
            color: var(--primary);
        }

    .mobile-nav-links i {
        width: 20px;
        text-align: center;
        font-size: 1.1rem;
    }

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

    .mobile-nav-overlay.active {
        display: block;
    }

/* Show mobile header on mobile devices */
@media (max-width: 991px) {
    .desktop-header {
        display: none;
    }

    .mobile-top-header {
        display: block;
    }

    .app-container {
        padding-top: 0;
    }
}

@media (min-width: 992px) {
    .mobile-top-header {
        display: none;
    }
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
   background: var(--primary);
   color: white;
   transform: translateY(-2px);
}

.custom-back-color {
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent) !important;
}
