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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Import blog styles */
@import url('blog-styles.css');

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

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    color: inherit;
    text-decoration: none;
}

/* Menu System */
.nav-menu {
    position: relative;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.menu-toggle.active {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 18px;
    height: 14px;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

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

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

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

.menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    min-width: 200px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

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

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.menu-item.disabled {
    color: #666;
    cursor: not-allowed;
}

.menu-item.disabled:hover {
    background: transparent;
}

.main-nav h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.filter-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
    margin-right: 0.5rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff4757;
    border-color: #ff4757;
    transform: translateY(-2px);
}

main h2 {
    text-align: center;
    font-size: 1.28rem;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: 1px;
}

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

.gym-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gym-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gym-header {
    margin-bottom: 1rem;
}

.gym-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gym-location {
    color: #ff4757;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gym-location::before {
    content: "📍";
}

.gym-details {
    margin-bottom: 1.5rem;
}

.gym-address {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gym-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.phone::before {
    content: "📞";
}

.website::before {
    content: "🌐";
}

.instagram::before {
    content: "📸";
}

.amenities {
    margin-bottom: 1rem;
}

.amenities-title {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.gym-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.website-btn {
    background: #ff4757;
    color: white;
    flex: 1;
}

.website-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

.instagram-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.instagram-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header {
        min-height: 300px;
        margin-bottom: 2rem;
    }
    
    .main-nav h1 {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .main-nav {
        padding: 0.8rem 0;
        margin-bottom: 1rem;
    }
    
    .nav-content h1 {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .menu-text {
        display: none;
    }
    
    .menu-dropdown {
        min-width: 180px;
        right: 0;
    }
    
    .menu-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .gym-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-nav {
        gap: 0.5rem;
        flex-direction: column;
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .filter-group {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 0.5rem;
    }
    
    .filter-label {
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        margin: 0.2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
