/* GetFIT-Connect Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 100%);
    color: #ff8c00;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid #ff8c00;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff8c00;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav a {
    color: #ff8c00;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

.btn-outline:hover {
    background: #ff8c00;
    color: #000;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-gym.jpg') center/cover;
    padding: 6rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ff8c00;
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

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

/* Sections */
.features, .pricing {
    padding: 5rem 0;
}

.features h2, .pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ff8c00;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.feature-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card, .pricing-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #ff8c00;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.feature-card:hover, .pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.4);
    border-color: #8b5cf6;
}

.feature-card h3, .pricing-card h3 {
    color: #ff8c00;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pricing-card .price {
    font-size: 2rem;
    color: #8b5cf6;
    margin: 1rem 0;
    font-weight: bold;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: #e0e0e0;
}

.pricing-card ul li:before {
    content: "✓ ";
    color: #00ff88;
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin: 0.5rem 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

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

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    border: 2px solid #ff8c00;
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.3);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ff8c00;
}

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

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

.form-group input, .form-group select, .form-group textarea, .form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ff8c00;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .form-control:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.location-status {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 6px;
    border: 1px solid #ff8c00;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

.alert-success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid #ff8c00;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer h4 {
    color: #ff8c00;
    margin-bottom: 1rem;
}

.footer a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.3s;
}

.footer a:hover {
    color: #8b5cf6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .dashboard-nav {
        gap: 0.5rem;
    }
    
    .dashboard-nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .trainers-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th, table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card h3 {
        font-size: 1.4rem;
    }
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 100%);
}

.dashboard-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 10, 26, 0.95) 100%);
    border-bottom: 3px solid #ff8c00;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(255, 140, 0, 0.2);
}

.dashboard-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    text-decoration: none;
}

.brand-logo h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: none;
    letter-spacing: -1px;
}

.brand-logo .tagline {
    font-size: 0.7rem;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -2px;
    opacity: 0.9;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-section .user-name {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.user-section .user-id {
    color: #ff8c00;
    font-weight: 600;
    font-size: 0.85rem;
}

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

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #ff8c00;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

.dashboard-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.dashboard-nav a {
    color: #ff8c00;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.dashboard-nav a:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

.dashboard-nav a.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    border-color: transparent;
}

.dashboard-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .dashboard-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: 2px solid #ff8c00;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .dashboard-nav.active {
        display: flex;
    }
    
    .dashboard-nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .brand-logo h1 {
        font-size: 1.5rem;
    }
    
    .brand-logo .tagline {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .user-section .user-name {
        display: none;
    }
    
    .dashboard-header {
        position: relative;
    }
}

.card {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #ff8c00;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.card h3, .card h4 {
    color: #ff8c00;
    margin-bottom: 1rem;
}

.card p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table thead {
    background: rgba(139, 92, 246, 0.2);
}

.table th {
    padding: 1rem;
    text-align: left;
    color: #ff8c00;
    font-weight: 600;
    border-bottom: 2px solid #8b5cf6;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    color: #e0e0e0;
}

.table tr:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* Badge Styles */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.badge-warning {
    background: rgba(255, 140, 0, 0.2);
    color: #ff8c00;
    border: 1px solid #ff8c00;
}

/* Trainer Card Styles */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.trainer-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff8c00;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
}

.trainer-photo, .trainer-photo-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trainer-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.trainer-info {
    padding: 1.5rem;
}

.trainer-info h4 {
    color: #ff8c00;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.trainer-info .gym-name,
.trainer-info .specialization,
.trainer-info .distance {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.trainer-info .distance {
    color: #8b5cf6;
    font-weight: 600;
}

.trainer-info .bio {
    color: #b0b0b0;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}
